/make_webshell

A simple python script to make a server-side command shell wrapper with an image magic byte

Primary LanguagePython

Usage

$ python make_webshell.py [-t file_format_number] [-i input_file] <-o out_file>

Options

-h, --help show this help message and exit

-t FILE_FORMAT_KEY, --type=FILE_FORMAT_KEY

-o OUT_FILENAME, --out=OUT_FILENAME

-i IN_FILENAME, --in=IN_FILENAME

Can feed file via pipe:

$ cat input_file | python make_webshell.py -o output.jpg -t 0