Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.95 KB | None | 0 0
  1. import os
  2. import subprocess
  3.  
  4.  
  5. stock = {'msfconsole': 5, 'recon-ng':2, 'wireshark': 0}
  6.  
  7. print('WHAT WOULD YOU LIKE TO USE?\n METASPLOIT\n RECON\n WIRESHARK\n\n')
  8.  
  9. postgresql= input("ur postgresql will be started")
  10.  
  11. subprocess.run(['/etc/init.d/postgresql', '-start'])
  12.  
  13.  
  14. print = input('you ready? Y or N ')
  15.  
  16.  
  17.  
  18.  
  19. program = input("which one of following options you choose?\nAnswer:")
  20. #input("wireshark" == "wireshark")
  21.  
  22.  
  23. from subprocess import call
  24. call(["msfconsole"])
  25.  
  26. from subprocess import call
  27. call(["recon-ng"])
  28.  
  29. from subprocess import call
  30. call(["wireshark"])
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40. THIS IS WHAT HAPPENS WHEN I LUNCH THE SCRIPT
  41.  
  42. python3 den.py
  43. WHAT WOULD YOU LIKE TO USE?
  44.  METASPLOIT
  45.  RECON
  46.  WIRESHARK
  47.  
  48.  
  49. ur postgresql will be started
  50. Usage: /etc/init.d/postgresql {start|stop|restart|reload|force-reload|status} [version ..]
  51. you ready? Y or N  
  52. which one of following options you choose?
  53. Answer:wireshark
  54.  
  55. it starts metasploit tho.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement