exit after exploit finishes

This commit is contained in:
Vomitblood 2025-01-24 11:40:04 +08:00
parent d24b8acd21
commit d9c3670e96
2 changed files with 2 additions and 1 deletions

BIN
exploit Executable file

Binary file not shown.

View file

@ -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) {