mirror of
https://github.com/hahwul/WebHackersWeapons.git
synced 2024-10-01 01:25:58 -04:00
Update add-tool.go
This commit is contained in:
parent
a57092b3bc
commit
b150afecc2
@ -132,7 +132,7 @@ func main() {
|
|||||||
fmt.Println("[+] What is method(e.g XSS, WVS, SSL, ETC..)?")
|
fmt.Println("[+] What is method(e.g XSS, WVS, SSL, ETC..)?")
|
||||||
method, _ := reader1.ReadString('\n')
|
method, _ := reader1.ReadString('\n')
|
||||||
method = strings.TrimRight(method, "\r\n")
|
method = strings.TrimRight(method, "\r\n")
|
||||||
writeJSON(m[choicetype], name, method, "| "+m[choicetype]+" | ["+name+"]("+*repourl+") | "+method+" | "+desc+" | ![](https://img.shields.io/github/stars"+u.Path+") | ![](https://img.shields.io/github/languages/top"+u.Path+") |")
|
writeJSON(m[choicetype], name, method, "| "+m[choicetype]+"/"+method+" | ["+name+"]("+*repourl+") | "+desc+" | ![](https://img.shields.io/github/stars"+u.Path+") | ![](https://img.shields.io/github/languages/top"+u.Path+") |")
|
||||||
} else {
|
} else {
|
||||||
reader := bufio.NewReader(os.Stdin)
|
reader := bufio.NewReader(os.Stdin)
|
||||||
fmt.Println("[+] What is name?")
|
fmt.Println("[+] What is name?")
|
||||||
@ -170,7 +170,7 @@ func main() {
|
|||||||
fmt.Println("[+] What is method(e.g XSS, WVS, SSL, ETC..)?")
|
fmt.Println("[+] What is method(e.g XSS, WVS, SSL, ETC..)?")
|
||||||
method, _ := reader1.ReadString('\n')
|
method, _ := reader1.ReadString('\n')
|
||||||
method = strings.TrimRight(method, "\r\n")
|
method = strings.TrimRight(method, "\r\n")
|
||||||
writeJSON(m[choicetype], name, method, "| "+m[choicetype]+" | ["+name+"]("+*repourl+") | "+method+" | "+udesc+"|it's not|github:dog:|")
|
writeJSON(m[choicetype], name, method, "| "+m[choicetype]+"/"+method+" | ["+name+"]("+*repourl+") | "+udesc+"|it's not|github:dog:|")
|
||||||
}
|
}
|
||||||
|
|
||||||
if *first {
|
if *first {
|
||||||
|
Loading…
Reference in New Issue
Block a user