Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #file worm (maxim & mike)
- #creates 10 random named files in the folder the program is run from!
- counter=0
- print("Please wait....")
- while True:
- import random
- rnum0 = random.choice("qwertyuiopasdfghjklzxcvbnm1234567890")
- rnum1 = random.choice("qwertyuiopasdfghjklzxcvbnm1234567890")
- rnum2 = random.choice("qwertyuiopasdfghjklzxcvbnm1234567890")
- rnum3 = random.choice("qwertyuiopasdfghjklzxcvbnm1234567890")
- rnum4 = random.choice("qwertyuiopasdfghjklzxcvbnm1234567890")
- rnum5 = random.choice("qwertyuiopasdfghjklzxcvbnm1234567890")
- rnum6 = random.choice("qwertyuiopasdfghjklzxcvbnm1234567890")
- rnum7 = random.choice("qwertyuiopasdfghjklzxcvbnm1234567890")
- rnum8 = random.choice("qwertyuiopasdfghjklzxcvbnm1234567890")
- rnum9 = random.choice("qwertyuiopasdfghjklzxcvbnm1234567890")
- myobj = open(rnum0 + rnum1 + rnum2 + rnum2 + rnum4 + rnum5 + rnum6 + rnum7 + rnum8 + rnum9, "a")
- myobj.write("""LOL""")
- myobj.close()
- counter +=1
- if counter == 10:
- break
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement