One-Lin3r 是一个简单、模块化且轻量级的框架,为您提供渗透测试(Windows、Linux、macOS 甚至 BSD 系统)或一般黑客攻击时所需的全部单行命令,并具有许多新功能,使这一切完全自动化(例如:您甚至无需复制单行命令)。

| 单行命令功能 | 该功能的作用 |
|---|---|
| 反向 Shell | 提供反向 shell 的各种方法和命令。 |
| 权限提升 | 许多用于枚举和权限提升的命令。 |
| 绑定 Shell | 提供绑定 shell 的各种方法和命令。 |
| 下载执行 | 多种下载并执行各种有效负载类型的方法,支持多种方式。 |
大量不同用途的单行命令,目前超过 176 个。
自动补全功能并非您常见的那种,以下是一些亮点:
seach 会变成 search,以此类推,即使您输入了任何与框架中命令相似的随机单词也能生效。use capabilities 并按 Tab,它会被替换为 use linux/bash/list_all_capabilities,等等。我能看到您的微笑,不客气!set 命令后对变量进行自动补全,在 use 和 info 命令后对单行命令进行自动补全,最后,它还会自动将所有大写字母转换为小写,以防您输入时不小心切换了大小写。自动化
copy <liner> 自动将单行命令复制到剪贴板,而不需要先使用 use <liner> 然后再复制,这节省了大量时间,当然,如果与以下功能结合使用效果更佳。makerc 命令(类似于 Metasploit),但这次它只保存正确的关键命令。history 和 命令,因此您无需退出框架。注意:单行命令数据库目前不算太大,但会随着更新和贡献而增大。
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).
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 <liner> Use an available one-liner.
copy <liner> Use an available one-liner and copy it to clipboard automatically.
info <liner> Get information about an available liner.
set <variable> <value> 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 <file> Run the commands stored in a file
os <command> Execute a system command without closing the framework
exit/quit Exit the framework
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
pip install one-lin3r --upgrade
cd One-Lin3r && git pull && cd ..
pip3 install ./One-Lin3r --upgrade
注意:单行命令以 Python 模块形式编写,因此被视为框架的一部分。因此,每次向框架添加新的单行命令时,其版本都会更新。
如果您觉得我的工作对您有帮助,欢迎请我喝杯咖啡或更多 :)
One-Lin3r 旨在帮助渗透测试,对任何滥用或非法用途概不负责。
复制此工具的代码或在其他工具中使用是被允许的,前提是注明来源 😄。
欢迎提交 Pull Request :D
resource您可以通过遵循这些步骤将自己的单行命令添加为 Python 文件。之后,您可以提交一个 Pull Request,它将被添加到框架中,并注明您的名字 😄。
如果您添加了任何单行命令,无需重启框架即可重新加载数据库。
您只需在 liners 文件夹中创建一个文件夹并在其中创建一个 ".liner" 文件,即可向单行命令数据库添加任何平台。
更多...