ncorbuk / Python-Ransomware

Python Ransomware Tutorial - YouTube tutorial explaining code + showcasing the ransomware with victim/target roles
MIT License
492 stars 142 forks source link

RansomWare #2

Open mohannadbahar opened 4 years ago

mohannadbahar commented 4 years ago

hello how are you im use your project but i have problem the project not decrypt all file they decrypt just the first two file and after that still Checking for PUT_ME_ON_DESKTOP.txt trying so where is the problem and how can i solve it thnx

ncorbuk commented 4 years ago

Hmmm, interesting. It seems as though it is working though? but only doing the first 2... are you using the folder with the files in the Github repo? the code only encrypts/decrypts files with extension ".txt" can you check and see if the extensions are correct if you create your own files, etc?

JoesBurner commented 3 years ago

I have a similar issue when I run the script in a specific directory on my C drive. It encrypts all directories and files, but only decrypts the target directory and not the sub-directoies (ie. "C://..//..//localroot//'files'" but not "C://..//..//llocalroot//'subdirectory'//'files'"). It's strange because if I run the script on an external HD it runs just fine, so I assume it's a permissions issue? Just want to know if you have any recommendations on how to solve the issue.

ncorbuk commented 3 years ago

I'm not too sure as i tested using my D: drive so i never had this problem otherwise im sure i would have an answer for it lol. It depends where the localroot test folder is on your C:\ drive as it could be a permission issue... if you are trying to do your C:\ drive the whole drive you will have to exclude certain directories etc ofcourse to get around them and so on. Same with some files that keep the pc going. I do not recommend testing it on your actual c:\ drive. It sounds like you are testing using localroot test folder though on c: so i do not know i am sorry. If you manage to find anything out about this particular problem i would be interested to know. Thanks.

On Mon, Nov 23, 2020 at 7:12 PM JoesBurner notifications@github.com wrote:

I have a similar issue when I run the script in a specific directory on my C drive. It encrypts all directories and files, but only decrypts the target directory and not the sub-directoies (ie. "C://..//..//localroot//'files'" but not "C://..//..//llocalroot/'subdirectory'/'files'"). It's strange because if I run the script on an external HD it runs just fine, so I assume it's a permissions issue? Just want to know if you have any recommendations on how to solve the issue.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ncorbuk/Python-Ransomware/issues/2#issuecomment-732367457, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKP3WWO2ZUCTQMHO4N4OHFLSRKX3BANCNFSM4NWCQ4JQ .

CatchDi commented 3 years ago

I have similar issue to above. I am testing it on a VM. 1 txt file and 1 jpg file, both on desktop. the encryption works fine, but the decryption does not revert either of them. I keep getting the loop for 'PUT_ME_ON_DESKTOP', trying...

edit: I attempted the script on a seperate account on the VM which i believe has high permissions. it now encrypted and decrypted, however it is like above where it only decrypts 2 files and leaves the remainder. not quite sure, but at least managed to get it to decrypt - been racking my brain for almost 2 weeks

ncorbuk commented 3 years ago

I have similar issue to above. I am testing it on a VM. 1 txt file and 1 jpg file, both on desktop. the encryption works fine, but the decryption does not revert either of them. I keep getting the loop for 'PUT_ME_ON_DESKTOP', trying...

edit: I attempted the script on a seperate account on the VM which i believe has high permissions. it now encrypted and decrypted, however it is like above where it only decrypts 2 files and leaves the remainder. not quite sure, but at least managed to get it to decrypt - been racking my brain for almost 2 weeks

ah yes i did think it is a permission thing myself tbh. Also it will only encrypt what file exstensions that are in the list in the code. So that is most likely why CatchDi

cyberxploithausa commented 1 year ago

Been trying so hard to make this to work. but kept telling me Error with python requests and it only show 3 files [be it png or txt] been encrypted on the terminal but completely encrypt every other file in the localroot folder when i check via windows explorer.

Screenshot (98)