One-Lin3r is simple modular and light-weight framework gives you all the one-liners that you will need while penetration testing (Windows, Linux, macOS or even BSD systems) or hacking generally with a lot of new features to make all of this fully automated (ex: you won’t even need to copy the one-liners).
It consists of various one-liners types with various functions, some of them are:
One-liner function | What this function refers to |
---|---|
Reverse Shell | Various methods and commands to give you a reverse shell. |
PrivEsc | Many commands to help in Enumeration and Privilege Escalation |
Bind Shell | Various methods and commands to give you a bind shell. |
Dropper | Many ways to download and execute various payload types with various methods. |
Also Read – RapidPayload : Framework Metasploit Payload Generator
Features
seach
becomes search
and so on, even if you typed any random word similar to an command in this framework.use capabilities
and clicked tab, it would be replaced with use linux/bash/list_all_capabilities
and so on. I can see your smile, You are welcome!set
command, auto-complete for liners after use
and info
commands and finally it converts all uppercase to lowercase automatically just-in-case you switched cases by mistake while typing.copy <liner>
instead of using use <liner>
and then copying it which saves a lot of time, of course, if you merged it with the following features.makerc
command like in Metasploit but this time it only saves the correct important commands.history
and resource
commands so you don’t need to exit the framework.Note: The liners database is not too big but it will get bigger with updates and contributions.
Usage
Command-line arguments
Usage: one-lin3r [-h] [-r R] [-x X] [-q]
Optional Arguments:
-h, –help show this help message and exit
-r Execute a resource file (history file).
-x Execute a specific command (use ; for multiples).
-q Quiet mode (no banner)
Framework Commands
Command Description
————— ——————-
help/? Show this help menu.
list/show List all one-liners in the database.
search (-h) [Keywords..] Search database for a specific liner by its name, author name or function.
use Use an available one-liner.
copy Use an available one-liner and copy it to clipboard automatically.
info Get information about an available liner.
set Sets a context-specific variable to a value to use while using one-liners.
variables Prints all previously specified variables.
banner Display banner.
reload/refresh Reload the liners database.
check Prints the core version and checks if you are up-to-date.
history Display command-line most important history from the beginning.
makerc Save command-line history to a file.
resource Run the commands stored in a file
os Execute a system command without closing the framework
exit/quit Exit the framework
Prerequisites before installing
Installing & Running
pip install one-lin3r
one-lin3r -h
sudo pacman -S one-lin3r
python -m pip install ./One-Lin3r-master --user one-lin3r -h
git clone https://github.com/D4Vinci/One-Lin3r.git sudo apt install libncurses5-dev sudo pip3 install ./One-Lin3r --user one-lin3r -h
git clone https://github.com/D4Vinci/One-Lin3r.git sudo pip3 install ./One-Lin3r --user one-lin3r -h
Updating the framework or the database
pip install one-lin3r –upgrade
cd One-Lin3r && git pull && cd .. pip3 install ./One-Lin3r --upgrade
Note: The liners are written as python modules, so it’s considered as a part of the framework. So every new liner added to the framework, its version will get updated.
Screenshot
shadow-rs is a Windows kernel rootkit written in Rust, demonstrating advanced techniques for kernel manipulation…
Extract and execute a PE embedded within a PNG file using an LNK file. The…
Embark on the journey of becoming a certified Red Team professional with our definitive guide.…
This repository contains proof of concept exploits for CVE-2024-5836 and CVE-2024-6778, which are vulnerabilities within…
This took me like 4 days (+2 days for an update), but I got it…
MaLDAPtive is a framework for LDAP SearchFilter parsing, obfuscation, deobfuscation and detection. Its foundation is…