exit after exploit finishes
This commit is contained in:
parent
d24b8acd21
commit
d9c3670e96
|
@ -106,7 +106,8 @@ func reverseShell(payload string, vulnUrl string, hostID int, dataIDs int) {
|
||||||
fmt.Println("Error making request:", err)
|
fmt.Println("Error making request:", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
defer resp.Body.Close()
|
|
||||||
|
resp.Body.Close()
|
||||||
}
|
}
|
||||||
|
|
||||||
func Exploit(urlTarget string, lhost string, lport string) {
|
func Exploit(urlTarget string, lhost string, lport string) {
|
||||||
|
|
Loading…
Reference in a new issue