Metadata-Version: 2.1
Name: cmder-elinpf
Version: 2.2.3
Summary: Simple CLI tool for the generation hack commands.
Home-page: https://github.com/Elinpf/cmder
Author: Elin
License: UNKNOWN
Platform: UNKNOWN
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Security
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: colorama
Requires-Dist: simple-term-menu
Requires-Dist: rich-typer (==0.1.5)

# Cmder

这是一款命令行模式下运行的命令生成框架。目标是帮助渗透测试人员快速生成测试命令。并且记录所选择的参数，方便下次使用。

![Example](assert/example_1.gif)

# 特色

- 自定义的命令语法，可以快速添加自定义的命令。
- 自动记录上一次输入结果，并显示在推荐中
- 手动定义推荐变量
- 划分工作区
- 多行命令合并执行
- 可更新数据库

# 安装方法

```
git clone https://github.com/Elinpf/cmder
cd cmder
python3 setup.py install --user
```

或者

```
pip3 install cmder-elinpf
```


# 使用方法

```
usage: cmder.py [-h] [-l path] {show,search,history,info,use,workspace} ...

Generate a pentesting command

positional arguments:
  {show,search,history,info,use,workspace}
                        sub-command help
    show                show the latest table
    search              Search tools in the database
    history             Get history
    info                show command information
    use                 use command
    workspace           workspace config

optional arguments:
  -h, --help            show this help message and exit
  -l path, --link path  show the link file
```

# 自定义命令

运行后会创建`~/.cmder`目录，其中`db`是用户可以自定义添加的命令文件，可以自行添加目录或者按照软件中的目录路径添加命令文件。

命令文件语法请参考[这里](https://github.com/Elinpf/cmder_db)。

# 灵感来源与命令来源

这个项目的灵感来源于[shellerator](https://github.com/ShutdownRepo/shellerator), 一些命令来源于以下链接：

- https://github.com/ShutdownRepo/shellerator
- https://book.hacktricks.xyz/
- https://www.ired.team/offensive-security-experiments/offensive-security-cheetsheets

