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 : 5999 Date : 2011/08/05 04:53
|