·¹º§ ÇØÅ·

 2844, 6/143 ȸ¿ø°¡ÀÔ  ·Î±×ÀΠ 
   dlddu
   gdb°¡ µ¿ÀÛÇÏÁö¾Ê½À´Ï´Ù.

http://www.hackerschool.org/HS_Boards/zboard.php?id=QNA_level&no=3226 [º¹»ç]


[level11@ftz level11]$ ls -al
ÇÕ°è 96
drwxr-xr-x    4 root     level11      4096  3¿ù 19  2003 .
drwxr-xr-x   44 root     root         4096  1¿ù 15  2009 ..
-rw-r--r--    1 root     level11       245  1¿ù 25  1999 .Xdefaults
-rw-------    1 root     root           40  3¿ù 19  2003 .bash_history
-rw-r--r--    1 root     level11        24  2¿ù 24  2002 .bash_logout
-rw-r--r--    1 root     level11       224  2¿ù 24  2002 .bash_profile
-rw-r--r--    1 root     level11       151  2¿ù 24  2002 .bashrc
-rw-r--r--    1 root     level11       400  1¿ù 25  1999 .cshrc
-rw-r--r--    1 root     level11      4742  1¿ù 25  1999 .emacs
-r--r--r--    1 root     level11       319  1¿ù 25  1999 .gtkrc
-rw-r--r--    1 root     level11       100  1¿ù 25  1999 .gvimrc
-rw-r--r--    1 root     level11       226  1¿ù 25  1999 .muttrc
-rw-r--r--    1 root     level11       367  1¿ù 25  1999 .profile
-rw-r--r--    1 root     root            1  5¿ù  7  2002 .viminfo
-rw-r--r--    1 root     level11      4145  1¿ù 25  1999 .vimrc
-rwsr-x---    1 level12  level11     13733  3¿ù  8  2003 attackme
-rw-r-----    1 root     level11       168  3¿ù  8  2003 hint
drwxr-xr-x    2 root     level11      4096  2¿ù 24  2002 public_html
drwxrwxr-x    2 root     level11      4096  7¿ù 30 02:40 tmp
[level11@ftz level11]$ gdb -d attackme
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu".
warning: /home/level11/attackme is not a directory.

(gdb) disass attackme
No symbol table is loaded.  Use the "file" command.
(gdb) disass /home/level11/attackme
A parse error in expression, near `/home/level11/attackme'.
(gdb) q
[level11@ftz level11]$ gdb -disass attackme
gdb: ÀνÄÇÒ ¼ö ¾ø´Â ¿É¼Ç `-disass'
Use `gdb --help' for a complete list of options.
[level11@ftz level11]$ gdb disass attackme
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...disass: ±×·± ÆÄÀÏÀ̳ª µð·º
Å丮°¡ ¾øÀ½.

"/home/level11/attackme" is not a core dump: File format not recognized
(gdb) q
[level11@ftz level11]$ gdb d attackme
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...d: ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡
¾øÀ½.

"/home/level11/attackme" is not a core dump: File format not recognized
(gdb) q
[level11@ftz level11]$ gdb -d attackme
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu".
warning: /home/level11/attackme is not a directory.

(gdb) q
[level11@ftz level11]$ gdb -d ./attackme
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu".
warning: /home/level11/./attackme is not a directory.

(gdb) q
[level11@ftz level11]$ gdb disass ./attackme
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...disass: ±×·± ÆÄÀÏÀ̳ª µð·º
Å丮°¡ ¾øÀ½.

"/home/level11/./attackme" is not a core dump: File format not recognized
(gdb) q
[level11@ftz level11]$ gdb disass /home/level11/attackme
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...disass: ±×·± ÆÄÀÏÀ̳ª µð·º
Å丮°¡ ¾øÀ½.

"/home/level11/attackme" is not a core dump: File format not recognized
(gdb) Quit
[level11@ftz level11]$



ºÐ¸íÈ÷ Àú¹ø¿£ µ¿ÀÛÇÑ°Í°°Àºµ¥.. Ȥ½Ã Á¦°¡ »ç¿ëÀ» À߸øÇѰɱ?

À߸øÇß´Ù¸é °£´ÜÇÑ gdb»ç¿ë¹ý¿¹Á¦Á» ½áÁÖ½Ã¸é °¨»çÇÕ´Ï´Ù.

  Hit : 6007     Date : 2011/08/05 04:53



    
´¾´¾ gdb -q ¸¦ À߸øÀûÀ¸½Å°Å°°³×¿ä
.. ¾Æ´Ñ°¡¿ä.. ¤»¤»
2011/08/05  
$Zero gdb·Î ÆÄÀÏÀ» ¿©½Ã°í disass attackme°¡ ¾Æ´Ï¶ó µð½º¾î¼ÀºíÇÒ À§Ä¡¸¦ ÁöÁ¤ÇÏ¼Å¾ß ÇÕ´Ï´Ù.

C¾ð¾î·Î ÀÛ¼ºµÈ ÄÚµå¶ó¸é mainÇÔ¼ö°¡ Á¸ÀçÇÒÅ×´Ï

disass main À̶ó°í ÃÄÁÖ¼Å¾ß ÇÕ´Ï´Ù.

±×·³ mainÇÔ¼öÀÇ È帧À» µð½º¾î¼ÀºíÇؼ­ º¸¿©ÁÖ°í ³ª¸ÓÁö ÇÔ¼öµµ À§¿Í°°Àº ¹æ¹ýÀ¸·Î µð½º¾î¼Àºí ÇÒ ¼ö ÀÖ´ä´Ï´Ù.
2011/08/05  
´¾´¾ ¾ÆÇ×! ¤»¤» À߸øºÃ¾ú³×¿ä 2011/08/05  
dlddu $Zero // ±×·³ ÀüºÎ µð¾î¼Àºí ÇÏ·Á¸é ¾î¶»°Ô Çؾߵdzª¿©? 2011/08/05  
´¾´¾ C¾ð¾î·Î ¸¸µé¾îÁø ÇÁ·Î±×·¥ÀÌ´Ï mainÇÔ¼ö¸¦ µð½º¾î¼ÀºíÇÏ½Ã¸é µË´Ï´Ù~ 2011/08/05  
2744   level 4 °ü·Ã Áö½Ä Á¤¸®¿Í Áú¹®ÀÔ´Ï´Ù.[2]     ÇØÄ¿sV
01/01 3566
2743   ·¹º§ 11, 12 ¹®ÀÇ µå¸³´Ï´Ù.[1]     3rdlifer
01/01 2738
2742   Leve4 ÆÄÀ̽ã Áú¹®[5]     ÀÌÇö¹è
12/28 2456
2741   level2¿¡¼­ vim ÆÄÀÏ ÀúÀåÀÌ ¾ÈµÇ³×¿ä..[2]     vbvbdldh
12/09 1860
2740   level3¿¡¼­[1]     hipro
12/05 1784
2739   bash sh[4]     qweqazsdxc
11/05 2419
2738   ¿Ö ¹Ì±¹ÄÄÀ¸·Ð ftz¼·¿¡ Á¢¼Ó ¸øÇϴ°ÅÁÒ?[1]     ov13
10/28 2211
2737   ftz¼­¹ö ±¸Ãà Áú¹®Á»..[7]     gearh0c
10/06 2990
2736   ftz level11[3]     kimgs0725
10/04 2097
2735   vuln Áú¹®..[1]     kimgs0725
09/25 1767
2734   ÇØÄð ´ëÇб³¿¡¼­ vulnÀ» ÇØÅ·ÇÏ·Á´Âµ¥....[2]     kimgs0725
09/24 2673
2733   ftz¼­¹ö ¾ðÁ¦¿­¸®³ª¿ä?[4]     tkangksmf
09/10 1924
2732   Æ÷Æ®23 ¿¬°áÇÏÁö ¸øÇß½À´Ï´Ù.[7]     ¶ß°Å¿îīǪġ³ë
09/07 11881
2731   level2 °ü·Ã Áú¹®ÀÌ¿ä~[4]     dner06
09/06 1998
2730   level6Áú¹®!!![4]     ov13
09/04 1907
2729   level4 Áú¹®     ov13
09/02 2032
  gdb°¡ µ¿ÀÛÇÏÁö¾Ê½À´Ï´Ù.[5]     dlddu
08/05 6006
2727   level4 ¸¦ ¾ó¶³°á¿¡ ²£½À´Ï´Ù. Áö½ÄÀ» ³ª´²ÁÖ¼¼¿ä ¤Ð¤Ð[3]     Mastel
07/23 2361
2726   ¿¡±×½©¿¡¼­ statck¿¡ °ø°£À» Àâ¾Æ¼­ ½©Äڵ带 ³Ö°í ȯ°æº¯¼ö·Î µî·ÏÇÏ¿´À» °æ¿ì     adiangrowif
07/23 2734
2725   level12¸¦ Ç®´Ù°¡ ½©ÄÚµå ±¸¼º¿¡ ´ëÇØ ±Ã±ÝÁõÀÌ »ý°Ü¼­ Áú¹®¿Ã¸³´Ï´Ù.[4]     adiangrowif
07/18 3016
[1][2][3][4][5] 6 [7][8][9][10]..[143]

Copyright 1999-2024 Zeroboard / skin by Hackerschool.org / Secure Patch by Hackerschool.org