Skip to content

Save files after decryption #21

@ekv88

Description

@ekv88

After I decrypted files with TeslaDecoder and TeslaCrack i had log of all decrypted files. (HUGE THANKS TO DEVELOPERS)
Something like:

Decryption started.

DECRYPTED: C:\FolderToWork\3RDPARTY.TXT
DECRYPTED: C:\FolderToWork\APPDATA\AD00001.zip

And because i had whole HDD copied in one folder I wanted to save just restored files, so I can copy them on my friend's computer. So I made a PHP script that can use LOG file from TeslaDecoder and create network of directories and copy restored files. (Not a best solution but I'm a web developer and PHP was best solution for me, and it's pretty fast few seconds for 5,5k files)

Here is my script, if someone wants he can use pattern and create this in python or any other lng.
http://pastebin.com/F9KzN3Ra

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions