Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python3
- import os
- username = 'abcd'
- password = 'efgh'
- username_password = "'" + username + "n" + password + "'"
- command = "printf " + username_password + " | ./b.py"
- #print(command)
- os.system(command)
- #!/usr/bin/env python3
- username = input()
- password = input()
- log = open("log.txt", "w")
- print(username + "n" + password, file=log)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement