Login Register






Python Corrupter filter_list
Author
Message
Python Corrupter #1
Hey guys, anyone have an idea of how i would make a python program that corrupts any filetype i give it?
just like this website: https://corrupt-a-file.net/

Bronze 7. October 2018
Silver 12. October 2018

Reply

RE: Python Corrupter #2
(09-21-2018, 09:12 AM)oxnan Wrote: Hey guys, anyone have an idea of how i would make a python program that corrupts any filetype i give it?
just like this website: https://corrupt-a-file.net/

I would recommend to do it in C/C++ (maybe even asm?) since you probably will need to deal with low-level stuff. I never tried this so that's definitely one new little project I will try to make !
My question is if you want to be able to rebuild it after the corrupting process?

If not: I'm thinking that you can achieve this by messing up random bytes in the file (switching them, deleting them).

Else: Now this will need to be based on each file structure (PE, ELF, JPG, ZIP, etc) so that you can mess stuff in an organized way and after be able to rebuild it. Basically just undo the precedent process.

Now those are just my thoughts, idk if this will work or not. But maybe it will help you.
[Image: iQDVDdD.gif]

Reply

RE: Python Corrupter #3
i have no intention of actually reconstucting them, i just wanna break stuff, but thanks for your suggestion

Bronze 7. October 2018
Silver 12. October 2018

Reply

RE: Python Corrupter #4
I have only ever made small stuff in asm, like a small OS, but never actually done much else, so does anyone know if i would be able to compile the asm programs into executables/binaries?

Bronze 7. October 2018
Silver 12. October 2018

Reply

RE: Python Corrupter #5
(09-21-2018, 09:25 AM)oxnan Wrote: I have only ever made small stuff in asm, like a small OS, but never actually done much else, so does anyone know if i would be able to compile the asm programs into executables/binaries?

Of course you can. You need to make an object file using a linker and then use a compiler to make an executable.
[Image: iQDVDdD.gif]

Reply

RE: Python Corrupter #6
okay Biggrin i will take a look at it and probably delete this thread and create a new one in the assembler forum

Bronze 7. October 2018
Silver 12. October 2018

Reply

RE: Python Corrupter #7
(09-21-2018, 09:40 AM)oxnan Wrote: okay Biggrin i will take a look at it and probably delete this thread and create a new one in the assembler forum

But you don't need to make it full in asm necessarily, I was saying that if you need to work with asm for some reason, you can do it. But C/C++ can support asm so you can write it directly in your C/C++ program.
(This post was last modified: 09-21-2018, 09:44 AM by Cr3aTor.)
[Image: iQDVDdD.gif]

Reply

RE: Python Corrupter #8
yeah, thats the thing. I dont know c/c++ so i really dont know if i am going to know where to start. Would you recommend to just learn one of them?

Bronze 7. October 2018
Silver 12. October 2018

Reply

RE: Python Corrupter #9
(09-21-2018, 09:47 AM)oxnan Wrote: yeah, thats the thing. I dont know c/c++ so i really dont know if i am going to know where to start. Would you recommend to just learn one of them?

Yeah, they're pretty mandatory when it comes to malware, crypters, rootkits, RAT's, etc. And not just that, but if you need to fuck around with memory, file structures and things like that you will need it. (You can do this with python also, but don't forget that python is created in C/C++ xD)
You will definitely have a better understanding on how computers work if you're working with low-level programming languages.
[Image: iQDVDdD.gif]

Reply