• This project
    • Loading...
  • Sign in

손지언 / 2019102185

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Graphs
  • Network
  • Create a new issue
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • OSSPractice
  • ArmExploitation
  • RTL
  • exploit.c
  • 손지언's avatar
    dd · 986936e6
    986936e6
    손지언 authored 2022-02-18 05:00:00 +0000
exploit.c 228 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include<stdio.h>
#include<string.h>

int main(){
	char buf[40];
	char temp;
	
	printf("buf = (%p)\n", buf);
	temp = fgetc(stdin);	
	FILE* fp = fopen("input.text","r");
	fread(buf,100,1,fp);

	printf("%s, \n",buf);
	return 0;
}