mirror of
https://github.com/chainreactors/spray.git
synced 2025-06-21 18:30:49 +00:00
添加help的补充说明, 优化README文档
This commit is contained in:
parent
da714a1fcc
commit
7e10db2391
@ -1,9 +1,9 @@
|
||||
# SPRAY
|
||||
名为"上一代"目录爆破工具的下一代目录爆破工具
|
||||
下一代目录爆破工具. 一个完整的目录爆破解决方案
|
||||
|
||||
针对path的反向代理, host的反向代理, cdn等中间件编写的高性能目录爆破工具.
|
||||
|
||||
复活了一些hashcat中的字典生成算法, 因此戏称为"上一代"目录爆破工具.
|
||||
复活了一些hashcat中的字典生成算法, 自由的构造字典, 进行基于path的http fuzz.
|
||||
|
||||
## Features
|
||||
|
||||
@ -21,6 +21,8 @@
|
||||
|
||||
## QuickStart
|
||||
|
||||
[**Document**](https://chainreactors.github.io/wiki/spray)
|
||||
|
||||
基本使用, 从字典中读取目录进行爆破
|
||||
|
||||
`spray -u http://example.com -d wordlist1.txt -d wordlist2.txt`
|
||||
|
21
cmd/cmd.go
21
cmd/cmd.go
@ -15,6 +15,27 @@ import (
|
||||
func Spray() {
|
||||
var option internal.Option
|
||||
parser := flags.NewParser(&option, flags.Default)
|
||||
parser.Usage = `
|
||||
|
||||
WIKI: https://chainreactors.github.io/wiki/spray
|
||||
|
||||
QUICKSTART:
|
||||
simple example:
|
||||
spray -u http://example.com -d wordlist1.txt -d wordlist2.txt
|
||||
|
||||
mask-base wordlist:
|
||||
spray -u http://example.com -w "/aaa/bbb{?l#4}/ccc"
|
||||
|
||||
rule-base wordlist:
|
||||
spray -u http://example.com -r rule.txt -d 1.txt
|
||||
|
||||
list input spray:
|
||||
spray -l url.txt -r rule.txt -d 1.txt
|
||||
|
||||
resume:
|
||||
spray --resume stat.json
|
||||
`
|
||||
|
||||
_, err := parser.Parse()
|
||||
if err != nil {
|
||||
if err.(*flags.Error).Type != flags.ErrHelp {
|
||||
|
Loading…
x
Reference in New Issue
Block a user