Hey y'all, I have a proof of concept programme for obfuscating the PoC programme file name


Code:
from os import system
from time import sleep
import random

a = 1000000
i = random.randint(1,1000)
while True:
  print("Iter : "+str(a))
  sleep(5)
  command = "mv *.py q.py"
  command = command.replace("q",str(i))
  system(command)
  i = random.randint(0,10001)
  a += random.randint(0,1000000) //fixed the negative option bug pointed out by Zeroko
  i = a*i


It's written in python, with a very rudimentary encryption algorithm
This is done by multiplying my very large increasing integers together, sort of like RSA.

the sleep is there so it doesn't lag up your console due to crazy fast renames one after another, It did on my machine.

I don't know of any good use for this is, any1 have ideas (that are not malicious).?

EDIT : fixed a bug
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement