Skip to content

Commit eed23f0

Browse files
committed
Update
1 parent 259d0d7 commit eed23f0

File tree

9 files changed

+33
-468
lines changed

9 files changed

+33
-468
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ release
77
nuclei-templates-9.2.9
88

99
*.cfg
10-
ip.txt
10+
ip.txt
11+
ips.txt

README.md

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,30 @@
22

33
本项目是nuclei的二开项目。[nuclei](https://github.com/projectdiscovery/nuclei)是projectdiscovery项目开发的一款简单的基于YAML的DSL的快速且可定制的漏洞扫描器。有各种类型的漏洞模板,漏洞规则极其丰富。但原程序某些功能不太满意,认为存在一些弊端,所以计划进行二开!未来的未来重点使用二开nuclei,尽量避免重复造轮子。作者:[0e0w](https://github.com/0e0w)
44

5-
本项目创建于2022年11月22日,最近的更新时间为2022年11月22日
5+
本项目创建于2022年11月22日,最近的更新时间为2022年11月25日
66

77
- [01-项目结构修改](https://github.com/Goqi/Ernuclei#01-%E9%A1%B9%E7%9B%AE%E7%BB%93%E6%9E%84%E4%BF%AE%E6%94%B9)
88
- [02-项目功能修改](https://github.com/Goqi/Ernuclei#02-%E9%A1%B9%E7%9B%AE%E5%8A%9F%E8%83%BD%E4%BF%AE%E6%94%B9)
99
- [03-静态特征修改](https://github.com/Goqi/Ernuclei#03-%E9%9D%99%E6%80%81%E7%89%B9%E5%BE%81%E4%BF%AE%E6%94%B9)
1010
- [04-参考项目资源](https://github.com/Goqi/Ernuclei#04-%E5%8F%82%E8%80%83%E9%A1%B9%E7%9B%AE%E8%B5%84%E6%BA%90)
1111

12-
## 01-项目结构修改
12+
## 01-项目功能修改
13+
14+
- [x] 将config和nuclei-templates目录自动下载解压到程序本目录。
15+
- [ ] 将nuclei-templates打包到程序中。
16+
- [ ] 优化结果保存。
17+
- [ ] 添加自动代理扫描模块。
18+
- [ ] 扫描资产中添加默认http://。
19+
- [ ] 随机UserAgent。
20+
- [ ] 添加xray和goby的pocs扫描。
21+
- [ ] 优化POC:分类与新增。
22+
23+
## 02-静态特征修改
24+
25+
- [ ] 去除日志打印相关内容#Todo
26+
- [ ] 去除nuclei相关的字段内容#Todo
27+
28+
## 03-项目结构修改
1329

1430
本项目基于nuclei-v2.7.9。对项目结构进行了调整,调整后的项目结构如下:
1531

@@ -387,21 +403,6 @@
387403
workflows.go
388404
```
389405

390-
## 02-项目功能修改
391-
392-
- [x] 将config和nuclei-templates目录自动下载解压到程序本目录。
393-
- [ ] 将nuclei-templates打包到程序中。
394-
- [ ] 优化结果保存。
395-
- [ ] 添加自动代理扫描模块。
396-
- [ ] 扫描资产中添加默认http://。
397-
- [ ] 随机UserAgent。
398-
- [ ] 添加xray和goby的pocs扫描。
399-
400-
## 03-静态特征修改
401-
402-
- [ ] 去除日志打印相关内容#Todo
403-
- [ ] 去除nuclei相关的字段内容#Todo
404-
405406
## 04-参考项目资源
406407

407408
- [nuclei代码分析报告](https://github.com/Goqi/ErKai/tree/main/0x01/nuclei)

build.bat

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
@echo off
2-
go build -ldflags "-w -s" -o release/En.exe main.go
2+
go build -ldflags "-w -s" -o release/Ernuclei.exe main.go
33

44
@echo off
55
SET CGO_ENABLED=0
66
SET GOOS=windows
77
SET GOARCH=386
8-
go build -ldflags "-w -s" -o release/En32.exe main.go
8+
go build -ldflags "-w -s" -o release/Ernuclei32.exe main.go
99

1010
@echo off
1111
SET CGO_ENABLED=0
1212
SET GOOS=linux
1313
SET GOARCH=amd64
14-
go build -ldflags "-w -s" -o release/En main.go
14+
go build -ldflags "-w -s" -o release/Ernuclei main.go
1515

1616
@echo off
1717
SET CGO_ENABLED=0
1818
SET GOOS=darwin
1919
SET GOARCH=amd64
20-
go build -ldflags "-w -s" -o release/En_darwin main.go
20+
go build -ldflags "-w -s" -o release/Ernuclei_darwin main.go

cmd/nuclei.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,15 @@ on extensive configurability, massive extensibility and ease of use.`)
128128
)
129129

130130
flagSet.CreateGroup("templates", "Templates",
131-
flagSet.BoolVarP(&options.NewTemplates, "new-templates", "nt", false, "run only new templates added in latest nuclei-templates release"),
132-
flagSet.StringSliceVarP(&options.NewTemplatesWithVersion, "new-templates-version", "ntv", []string{}, "run new templates added in specific version", goflags.CommaSeparatedStringSliceOptions),
131+
//flagSet.BoolVarP(&options.NewTemplates, "new-templates", "nt", false, "run only new templates added in latest nuclei-templates release"),
132+
//flagSet.StringSliceVarP(&options.NewTemplatesWithVersion, "new-templates-version", "ntv", []string{}, "run new templates added in specific version", goflags.CommaSeparatedStringSliceOptions),
133133
flagSet.BoolVarP(&options.AutomaticScan, "automatic-scan", "as", false, "automatic web scan using wappalyzer technology detection to tags mapping"),
134134
flagSet.StringSliceVarP(&options.Templates, "pocs", "poc", []string{}, "list of template or template directory to run (comma-separated, file)", goflags.FileCommaSeparatedStringSliceOptions),
135-
flagSet.StringSliceVarP(&options.TemplateURLs, "template-url", "tu", []string{}, "list of template urls to run (comma-separated, file)", goflags.FileCommaSeparatedStringSliceOptions),
136-
flagSet.StringSliceVarP(&options.Workflows, "workflows", "w", []string{}, "list of workflow or workflow directory to run (comma-separated, file)", goflags.FileCommaSeparatedStringSliceOptions),
137-
flagSet.StringSliceVarP(&options.WorkflowURLs, "workflow-url", "wu", []string{}, "list of workflow urls to run (comma-separated, file)", goflags.FileCommaSeparatedStringSliceOptions),
138-
flagSet.BoolVar(&options.Validate, "validate", false, "validate the passed templates to nuclei"),
139-
flagSet.BoolVarP(&options.NoStrictSyntax, "no-strict-syntax", "nss", false, "Disable strict syntax check on templates"),
135+
//flagSet.StringSliceVarP(&options.TemplateURLs, "template-url", "tu", []string{}, "list of template urls to run (comma-separated, file)", goflags.FileCommaSeparatedStringSliceOptions),
136+
//flagSet.StringSliceVarP(&options.Workflows, "workflows", "w", []string{}, "list of workflow or workflow directory to run (comma-separated, file)", goflags.FileCommaSeparatedStringSliceOptions),
137+
//flagSet.StringSliceVarP(&options.WorkflowURLs, "workflow-url", "wu", []string{}, "list of workflow urls to run (comma-separated, file)", goflags.FileCommaSeparatedStringSliceOptions),
138+
//flagSet.BoolVar(&options.Validate, "validate", false, "validate the passed templates to nuclei"),
139+
//flagSet.BoolVarP(&options.NoStrictSyntax, "no-strict-syntax", "nss", false, "Disable strict syntax check on templates"),
140140
flagSet.BoolVar(&options.TemplateList, "tl", false, "list all available templates"),
141141
flagSet.StringSliceVarConfigOnly(&options.RemoteTemplateDomainList, "remote-template-domain", []string{"api.nuclei.sh"}, "allowed domain list to load remote templates from"),
142142
)

0 commit comments

Comments
 (0)