[pwnable.kr] bof
Wargame/pwnable.kr
Nana told me that buffer overflow is one of the most common software vulnerability.Is that true?Download : http://pwnable.kr/bin/bofDownload : http://pwnable.kr/bin/bof.cRunning at : nc pwnable.kr 9000AttachmentAnalysis/* bof.c */#include #include #include void func(int key){ char overflowme[32]; printf("overflow me : "); gets(overflowme); // smash me! if(key == 0xcafebabe){ ..
[pwnable.kr] collision
Wargame/pwnable.kr
Daddy told me about cool MD5 hash collision today.I wanna do something like that too!ssh col@pwnable.kr -p2222 (pw:guest)AttachmentAnalysis/* col.c */#include #include unsigned long hashcode = 0x21DD09EC;unsigned long check_password(const char* p){ int* ip = (int*)p; int i; int res=0; for(i=0; icheck_password()는 p에 저장된 문자열을 앞에서부터 4바이트씩 잘라서 5개의 정수를 만들고 모두 더한 결과를 반환한다.c..
[pwnable.kr] fd
Wargame/pwnable.kr
Mommy! what is a file descriptor in Linux?try to play the wargame your self but if you are ABSOLUTE beginner, follow this tutorial link:https://youtu.be/971eZhMHQQwssh fd@pwnable.kr -p2222 (pw:guest)AttachmentAnalysis/* fd.c */#include #include #include char buf[32];int main(int argc, char* argv[], char* envp[]){ if(argcfd는 argv[1]의 값을 조절하여 임의의 값으로 설정할 수 있다. fd가 0인 경우 stdin으로 buf에 최대 32바이..
[DreamHack] rev-basic-4
Wargame/DreamHack
보호되어 있는 글입니다.
[DreamHack] rev-basic-3
Wargame/DreamHack
보호되어 있는 글입니다.
h0meb0dy_
'Wargame' 카테고리의 글 목록 (33 Page)