
wargames
文章平均质量分 77
shuimuyq
这个作者很懒,什么都没留下…
展开
-
narnia0
/* narnia0.c *//* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation;原创 2016-02-16 09:21:00 · 401 阅读 · 0 评论 -
behemoth - 05
#include #include #include #include #include #include int main(int argc, char *argv[]){ struct sockaddr_in toaddr; /* 0x3c */ int sendstat; /* 0x38 */ int sock; /* 0x34 */ struct hostent原创 2016-02-23 17:25:09 · 385 阅读 · 0 评论 -
behemoth - 06
/* behemoth6.c */#include #include #include #include int main(int argc, char *argv[]){ FILE *fp; char *buf; fp = popen("/behemoth/behemoth6_reader", "r"); if (fp == NULL) { puts("Fail原创 2016-02-23 17:33:00 · 461 阅读 · 0 评论 -
behemoth - 07
#include #include #include #include extern char **environ;int main(int argc, char *argv[]){ char *argv1 = argv[1]; /* 0x21c */ int envcnt; /* 0x218 */ int slen; /* 0x214 */ char buf[512]原创 2016-02-23 17:36:00 · 601 阅读 · 0 评论 -
utumno - 0
因为utumno0不可读, 开始以为用strace可以获取一些信息最后只是调用write,并没什么用(从这里可以知道库函数puts最后是调用write来实现的)最后利用xocopy把可执行代码dump出来gcc xocopy.c -o xocopy -m32./xocopy /utumno/utumno0./xocopy -a 0x08049000 /utumno/utumno原创 2016-04-07 09:00:59 · 1385 阅读 · 0 评论 -
utumno - 1
/* utumno1.c */#include #include /** stack environment of main * env * argv * argc * eip * ebp * align * stack of main *//** stack environment of run * filename + 3 * <== ebp + 0x0原创 2016-04-07 09:22:38 · 669 阅读 · 0 评论 -
utumno - 2
root@today:~# ssh utumno2@178.79.134.250utumno2@178.79.134.250's password: ceewaceiphutumno2@melinda:~$ cd /tmp utumno2@melinda:/tmp$ mkdir utu2utumno2@melinda:/tmp$ cd utu2utumno2@melinda:原创 2016-04-07 10:53:04 · 525 阅读 · 0 评论 -
utumno - 3
┌──────────────────────────────────────────────────────────┐esp+0x38 chr │0x80483fd push %ebp │esp+0x3c cnt │0x80483fe mov %esp,%ebp │es原创 2016-04-08 16:41:53 · 703 阅读 · 0 评论 -
utumno - 5
root@today:~/Desktop/misc/utumno/utumno5# ssh utumno5@178.79.134.250utumno5@178.79.134.250's password: woucaejiekutumno5@melinda:~$ mkdir /tmp/utu5utumno5@melinda:~$ cd /tmp/utu5utumno5@melind原创 2016-04-13 14:45:19 · 684 阅读 · 0 评论 -
utumno - 7
root@today:~/Desktop/misc/utumno/utumno6# ssh utumno7@178.79.134.250utumno7@178.79.134.250's password: totiquegaeutumno7@melinda:~$ mkdir /tmp/utu7utumno7@melinda:~$ cd /tmp/utu7utumno7@melind原创 2016-04-13 15:02:39 · 806 阅读 · 0 评论 -
WeChall - overthewire
WeChall ScoreboardOverTheWire makes use of a scoreboard provided by WeChall to allowplayers to track their own progress and promote some healthy competitionbetween players. To make use of this sco转载 2016-04-13 15:08:05 · 1104 阅读 · 0 评论 -
utumno - 6
root@today:~/Desktop/misc/utumno/utumno6# ssh utumno6@178.79.134.250utumno6@178.79.134.250's password: eiluquiethutumno6@melinda:~$ mkdir /tmp/utu6utumno6@melinda:~$ cd /tmp/utu6utumno6@melind原创 2016-04-13 14:48:53 · 1273 阅读 · 0 评论 -
behemoth - 04
#include #include int main(int argc, char *argv[]){ char fname[16]; /* $esp + 0x28 */ char chr; /* $esp + 0x24 */ FILE *fp; /* $esp + 0x20 */ pid_t pid; /* $esp + 0x1c */ pid = getpid(); s原创 2016-02-23 17:20:44 · 396 阅读 · 0 评论 -
behemoth - 03
#include int main(int argc, char *argv[]){ char buf[200]; printf("Identify yourself: "); fgets(buf, 200, stdin); printf("Welcome, "); printf(buf); puts("\naaaand goodbye again."); return原创 2016-02-23 17:17:59 · 471 阅读 · 0 评论 -
narnia1
/** narnia1.c *//* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundatio原创 2016-02-16 09:44:51 · 572 阅读 · 0 评论 -
narnia2
/** narnia2.c *//* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundatio原创 2016-02-16 10:20:30 · 523 阅读 · 0 评论 -
narnia3
/** narnia3.c *//* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundatio原创 2016-02-16 11:04:50 · 465 阅读 · 0 评论 -
narnia4
/** narnia4.c *//* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundatio原创 2016-02-16 13:24:52 · 417 阅读 · 0 评论 -
narnia5
/** narnia5.c *//* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundatio原创 2016-02-16 14:01:49 · 443 阅读 · 0 评论 -
narnia7
/** narnia7.c *//* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundatio原创 2016-02-16 14:41:08 · 485 阅读 · 0 评论 -
narnia8
/** narnia8.c *//* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundatio原创 2016-02-16 16:37:34 · 509 阅读 · 0 评论 -
narnia6
/** narnia6.c *//* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundatio原创 2016-02-17 13:37:53 · 679 阅读 · 0 评论 -
behemoth - 00
#include #include #include int main(int argc, char *argv[]){ char pw[64]; char key[] = {"OK^GSYBEX^Y"}; printf("PassWord: "); scanf("%64s", pw); memfrob(key, strlen(key)); if (strcmp(pw,原创 2016-02-23 17:07:54 · 417 阅读 · 0 评论 -
behemoth - 01
#include int main(int argc, char *argv[]){ char buf[64]; printf("Password: "); gets(buf); puts("Authentication failure.\nSorry."); return 0;}root@today:~# ssh behemoth1@178.79.1原创 2016-02-23 17:10:26 · 534 阅读 · 0 评论 -
behemoth - 02
#include #include #include int main(int argc, char *argv[]){ struct stat filestat; char cmd[16]; char *ptrpid = cmd + 6; pid_t pid; pid = getpid(); sprintf(cmd, "touch %d", pid); if (lst原创 2016-02-23 17:14:52 · 362 阅读 · 0 评论 -
utumno - 4
root@today:~/Desktop/misc/utumno/utumno4# ssh utumno4@178.79.134.250utumno4@melinda:~$ cd /tmp/utu4utumno4@melinda:/tmp/utu4$ gdb -tui /utumno/utumno4(gdb) layout asm(gdb) b *main+108Breakpoint原创 2016-04-13 14:43:03 · 696 阅读 · 0 评论