Skip to content

Commit a7b7c0a

Browse files
committed
x 2022-10-05
1 parent f9cfe06 commit a7b7c0a

File tree

6 files changed

+16
-9
lines changed

6 files changed

+16
-9
lines changed

.gitmodules

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +0,0 @@
1-
[submodule "nuclei-templates"]
2-
path = nuclei-templates
3-
szUrl = [email protected]:hktalent/nuclei-templates.git
4-
[submodule "config/nuclei-templates"]
5-
path = config/nuclei-templates
6-
szUrl = http://github.com/hktalent/nuclei-templates

README_CN.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,4 +251,6 @@ export GOPRIVATE=github.com/hktalent
251251
go env |grep GOPRIVATE
252252
253253
https://github.com/heartshare/go-wafw00f
254+
255+
git submodule add http://github.com/hktalent/nuclei-templates config/nuclei-templates
254256
-->

config/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
"Fuzzthreads": 16,
108108
"enableFingerTitleHeaderMd5Hex": false,
109109
"Cookie": "",
110-
"esUrl": "https://127.0.0.1:9200/%s_index/_doc/%s",
110+
"esUrl": "https://127.0.0.1:8081/%s_index/_doc/%s",
111111
"Exploit":{
112112
"Path": "./config/poc/",
113113
"Logs": "./logs/errror.log"

config/nuclei-templates

Lines changed: 0 additions & 1 deletion
This file was deleted.

lib/util/sv2es_test.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package util
2+
3+
import "testing"
4+
5+
func TestSendReq(t *testing.T) {
6+
DoInit(nil)
7+
t.Run("sv2es", func(t *testing.T) {
8+
SendReq("test", "nmap", Nmap)
9+
})
10+
Wg.Wait()
11+
CloseAll()
12+
}

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ var config embed.FS
2121
var Version string
2222

2323
func main() {
24-
//os.Args = []string{"", "-host", "http://127.0.0.1", "-v"}
24+
//os.Args = []string{"", "-host", "http://192.168.0.109", "-v"}
2525
runtime.GOMAXPROCS(runtime.NumCPU())
2626
util.DoInit(&config)
2727
// set version

0 commit comments

Comments
 (0)