One-Lin3r V2.0 - Gives Yous One-Liners That Aids Inwards Penetration Testing Operations, Privilege Escalation As Well As More
One-Lin3r is uncomplicated modular together with light-weight framework gives y'all all the one-liners that y'all volition take away spell penetration testing (Windows, Linux, macOS or fifty-fifty BSD systems) or hacking to a greater extent than oftentimes than non amongst a lot of novel features to brand all of this fully automated (ex: y'all won't fifty-fifty take away to re-create the one-liners).
Screenshots
It consists of diverse one-liners types amongst diverse functions, about of them are:
One-liner function | What this business office refers to |
---|---|
Reverse Shell | Various methods together with commands to laissez passer on y'all a contrary shell. |
PrivEsc | Many commands to assist inwards Enumeration together with Privilege Escalation |
Bind Shell | Various methods together with commands to laissez passer on y'all a bind shell. |
Dropper | Many ways to download together with execute diverse payload types amongst diverse methods. |
Features
- Influenza A virus subtype H5N1 lot of liners work amongst dissimilar purposes, currently are to a greater extent than than 155 liner.
- The auto-complete characteristic that has been implemented inwards this framework is non the green i y'all e'er see, hither are about highlights:
- It's designed to laid upwards typos inwards typed commands to the most similar ascendance amongst only i tab click thus
seach
becomessearch
together with thus on, fifty-fifty if y'all typed whatsoever random discussion similar to an ascendance inwards this framework. - For y'all lazy-ones out at that spot similar me, it tin predict what liner y'all are trying to work past times typing whatsoever component of it. For instance if y'all typed
use capabilities
together with clicked tab, it would endure replaced amongstuse linux/bash/list_all_capabilities
together with thus on. I tin run across your smile, You are welcome! - If y'all typed whatsoever incorrect ascendance together with then pressed enter, the framework volition say y'all what is the nearest ascendance to what y'all cause got typed which could endure the i y'all actually wanted.
- Some less impressive things similar auto-complete for variables afterwards
set
command, auto-complete for liners afterwardsuse
together withinfo
commands together with in conclusion it converts all upper-case missive of the alphabet to lowercase automatically just-in-case y'all switched cases past times error spell typing. - Finally, you'll uncovering your normal auto-completion things y'all were using before, similar commands auto-completion together with persistent history, etc...
- It's designed to laid upwards typos inwards typed commands to the most similar ascendance amongst only i tab click thus
- Automation
- You tin automatically re-create the liner y'all desire to clipboard amongst ascendance
copy
instead of usinguse
together with and then copying it which saves a lot of time, of course, if y'all merged it amongst the next features. - As y'all may noticed, y'all tin work a resources file from command-line arguments earlier starting the framework itself or post commands directly.
- Inside the framework y'all tin work
makerc
ascendance similar inwards Metasploit but this fourth dimension it solely saves the right of import commands. - There are
history
together withresource
commands thus y'all don't take away to conk the framework. - You tin execute every bit many commands every bit y'all desire at the same fourth dimension past times splitting them amongst semi-colon.
- Searching for whatsoever liner hither is thus easy, y'all tin search for a liner past times its name, business office or fifty-fifty the liner writer name.
- You tin automatically re-create the liner y'all desire to clipboard amongst ascendance
- You tin add together your ain liners past times following these steps to create a liner every bit a python file. After that y'all tin brand a Pull asking amongst it together with then it volition endure added inwards the framework together with credited amongst your advert of course of educational activity
.
- The mightiness to reload the database if y'all added whatsoever liner without restarting the framework.
- You tin add together whatsoever platform to the liners database only past times making a folder inwards liners folder together with creating a ".liner" file there.
- More...
Note: The liners database is non likewise large but it volition larn bigger amongst updates together with contributions.
Usage
f Command-line arguments
usage: one-lin3r [-h] [-r R] [-x X] [-q] optional arguments: -h, --help exhibit this assist message together with conk -r Execute a resources file (history file). -x Execute a specific ascendance (use ; for multiples). -q Quiet agency (no banner).
Framework commands
Command Description -------- ------------- help/? Show this assist menu. list/show List all one-liners inwards the database. search [Keywords..] Search database for a specific liner past times its name, writer advert or description. work Use an available one-liner. re-create Use an available one-liner together with re-create it to clipboard automatically. information Get information well-nigh an available liner. laid Sets a context-specific variable to a value to work spell using one-liners. variables Prints all previously specified variables. banner Display banner. reload/refresh Reload the liners database. cheque Prints the substance version together with checks if y'all are up-to-date. history Display command-line most of import history from t he beginning. makerc Save command-line history to a file. resources Run the commands stored inwards a file bone Execute a organisation ascendance without closing the framework exit/quit Exit the framework
Prerequisites earlier installing
- Python 3.x.
- Any OS, it should piece of work on all but it's tested on Kali 2018+, Ubuntu 18+, Windows 10, Android amongst termux together with MacOs 10.11
Installing together with running
- Using pip (The best agency to install on whatsoever OS):
pip install one-lin3r one-lin3r -h
- Installing it from GitHub:
- For windows : (After downloading ZIP together with upzip it)
python -m pip install ./One-Lin3r-master one-lin3r -h
- For Linux :
git clone https://github.com/D4Vinci/One-Lin3r.git apt install libncurses5-dev pip3 install ./One-Lin3r one-lin3r -h
Updating the framework or the database
- If y'all installed it from pip do:
pip install one-lin3r --upgrade
- If y'all installed it from github do:
- On Linux spell exterior the directory
cd One-Lin3r && git delineate && cd .. pip3 install ./One-Lin3r --upgrade
- On Windows if y'all don't cause got git installed, redownload the framework zipped!
Note: As the liners are written every bit python modules, it considered every bit a component of the framework. So every novel liner added to the framework, its version volition larn updated.
Contact
Credits together with references
- PayloadsAllTheThings
- PowerSploit repo
- arno0x0x - Windows oneliners to download remote payload together with execute arbitrary code