cccs-kevin / batch_deobfuscator

Deobfuscate batch scripts obfuscated using string substitution and escape character techniques.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

By using this python script, you can deobfuscate a batch script that is obfuscated with string substitution and escape character techniques.

Running the script

To run the script

python  batch_interpreter.py --file c:\test\obfuscated_file.bat

* The code was written in a hurry and needs a major refactoring. Please stay tuned.

Use as a lib

from batch_deobfuscator.batch_interpreter import BatchDeobfuscator,handle_bat_file
deobfuscator = BatchDeobfuscator()
itsthewine=handle_bat_file(deobfuscator,'/home/petersichel/comfortable_study/newyorktownhouse.bat')

About

Deobfuscate batch scripts obfuscated using string substitution and escape character techniques.

License:MIT License


Languages

Language:Python 100.0%