阅读背景:

linux x86_64 缓冲区溢出分析 以及 shellcode简介

来源:互联网 


/* buger.c */
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

int main(void) 
{
	char buffer[128] = {0};
	char *envp = NULL;

	printf("buffer address is: %p\n", &buffer);

	envp = getenv("KIRIKA");
	if (envp)
		strcpy(buffer, envp);

	return 0;	
}/* buger.c */
#include <stdio.h>
#include



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: