Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import subprocess
- import random
- s = open("log", "w")
- s.close()
- s = open("log", "r")
- y = s.read()
- s.close()
- x = random.randint(0,65535)
- s = open("log", "w")
- s.write(str(x))
- s.close()
- subprocess.check_output(["cp", "bs" + y + ".py", "bs" + str(x) + ".py"])
- subprocess.check_output(["python", "bs" + str(x) + ".py"])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement