3.144.238.20´Ô ·Î±×ÀÎ ÇØÁÖ¼¼¿ä

MY wikix
óÀ½À¸·Î
³»¼Ò°³
»çÁø¹æ
°øºÎ¸Ç
ÀϱâÀå
¿µÈ­±¤
µ¶¼­±¤
À⵿»ç´Ï
¹æ¸í·Ï
À§Å° ÆäÀÌÁö
¸ðµç ÆäÀÌÁö
Àαâ ÆäÀÌÁö
º¯°æ ÆäÀÌÁö
°Ë»öÇϱâ

Today : 1145  Total : 347019
ViewSource | info | diff | files

sis11 

°ü¸®¹æ¾î °ø°£ 11-20  

°ü¸®¹æ¾î °ø°£ 11-20 / level 11 / level 12 / level 13 / level 14 / level 15 / level 16 / level 17 / level 18 / level 19 / level 20

level 11  

+ Ç®ÀÌ ¹æ¹ý

  1. /etc/shadow ÆÄÀÏ ÆíÁý

- ½ÇÁ¦ Ç®ÀÌ
# vi shadow    
root:6RBFY9mqyrfq.:6445::::::
daemon:NP:6445::::::
bin:NP:6445::::::
sys:NP:6445::::::
adm:NP:6445::::::
listen:*LK*:::::::
nobody:NP:6445::::::
yspace:NP:11648:1:14::::      // 1Àº Æнº¿öµå º¯°æÈÄ À纯°æ ½Ã°£  14´Â Æнº¿öµå º¯°æ ±â°£
"shadow" 12 lines, 249 characters written
# finish

> pass = lifecycle

level 12  

+ Ç®ÀÌ ¹æ¹ý

  1. rm ¸í·É ±âÁ¸ ÆÄÀÏ »èÁ¦
  2. .rhost µð·ºÅ丮 »ý¼ºÈÄ µð·ºÅ丮 ¾È¿¡ ÆÛ¹Ì¼Ç 000ÀÎ ÆÄÀÏ »ý¼º
  3. .rhost µð·ºÅ丮 chmod ¸í·É »ç¿ë ÆÛ¹Ì¼Ç 000 º¯°æ

- ½ÇÁ¦ Ç®ÀÌ
# cd home0/yspace
# ls -la
ÃÑ 4
drwxrwxrwx   2 yspace   200          512  8¿ù 22ÀÏ  16:12 .
drwxr-xr-x   5 root     other        512  8¿ù 22ÀÏ  16:12 ..
-rw-rw-r--   1 yspace   200            0  8¿ù 22ÀÏ  16:12 .rhosts
# rm .rhosts 
rm: .rhosts: µ¤¾î¾²±â ¹æÁö 664 (y/n)? y
# mkdir .rhosts
# cd .rhosts/
# touch file
# chmod 000 file 
# ls -la
ÃÑ 4
drwxr-xr-x   2 root     other        512  8¿ù 22ÀÏ  16:14 .
drwxrwxrwx   3 yspace   200          512  8¿ù 22ÀÏ  16:14 ..
----------   1 root     other          0  8¿ù 22ÀÏ  16:14 file
# cd ..
# ls -la
ÃÑ 6
drwxrwxrwx   3 yspace   200          512  8¿ù 22ÀÏ  16:14 .
drwxr-xr-x   5 root     other        512  8¿ù 22ÀÏ  16:12 ..
drwxr-xr-x   2 root     other        512  8¿ù 22ÀÏ  16:14 .rhosts
# chmod 000 .rhosts/
# finish

> pass = onlyyou

level 13  

+ Ç®ÀÌ ¹æ¹ý

  1. /etc/inetd.conf ÆÄÀÏ ÆíÁý
  2. -s ¿É¼ÇÀ» »ç¿ëÇÏ´Â °ÍÀº chroot()±â´ÉÀ» ÀÌ¿ëÇϱâ À§ÇÔ

- ½ÇÁ¦ Ç®ÀÌ
# vi inetd.conf

#ident  "@(#)inetd.conf 1.33    98/06/02 SMI"   /* SVr4.0 1.5   */
# Configuration file for inetd(1M).  See inetd.conf(4).
#
# Tftp service is provided primarily for booting.  Most sites run this
# only on machines acting as "boot servers."
#
tftp    dgram   udp     wait    root    /usr/sbin/in.tftpd      in.tftpd -s /tftpboot  // -s ¿É¼ÇÃß°¡
#
"inetd.conf" 150 lines, 5295 characters written

# finish

> pass = xsetrehash

level 14  

+ Ç®ÀÌ ¹æ¹ý

- ½ÇÁ¦ Ç®ÀÌ

> pass =

level 15  

+ Ç®ÀÌ ¹æ¹ý

- ½ÇÁ¦ Ç®ÀÌ

> pass =

level 16  

+ Ç®ÀÌ ¹æ¹ý

- ½ÇÁ¦ Ç®ÀÌ

> pass =

level 17  

+ Ç®ÀÌ ¹æ¹ý

- ½ÇÁ¦ Ç®ÀÌ

> pass =

level 18  

+ Ç®ÀÌ ¹æ¹ý

- ½ÇÁ¦ Ç®ÀÌ

> pass =

level 19  

+ Ç®ÀÌ ¹æ¹ý

- ½ÇÁ¦ Ç®ÀÌ

> pass =

level 20  

+ Ç®ÀÌ ¹æ¹ý

- ½ÇÁ¦ Ç®ÀÌ

> pass =


Last : 2004-08-22 15:55:26   Who : ºü¹Ù±â
Version : v1
(current)2617 hits