sqlmap/extra/cloak
2013-02-14 11:25:04 +00:00
..
__init__.py make sure to use Python 2 interpreter when default system Python is version 3 2013-02-14 11:25:04 +00:00
cloak.py make sure to use Python 2 interpreter when default system Python is version 3 2013-02-14 11:25:04 +00:00
README.txt added new cloaking functionality for shell scripts 2010-01-27 13:56:26 +00:00

To use cloak.py you need to pass it the original file,
and optionally the output file name.

Example:

$ python ./cloak.py -i backdoor.asp -o backdoor.asp_

This will create an encrypted and compressed binary file backdoor.asp_.

Such file can then be converted to its original form by using the -d
functionality of the cloak.py program:

$ python ./cloak.py -d -i backdoor.asp_ -o backdoor.asp

If you skip the output file name, general rule is that the compressed
file names are suffixed with the character '_', while the original is
get by skipping the last character. So, that means that the upper
examples can also be written in the following form:

$ python ./cloak.py -i backdoor.asp

$ python ./cloak.py -d -i backdoor.asp_