Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- p = subprocess.Popen(["sudo", "nmap", "-sP", "-n", network], stdin=subprocess.PIPE, stdout=subprocess.PIPE)
- p.stdin.write(bytes("Mypassword", "utf-8"))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement