Fixed pwnboard reporting

This commit is contained in:
connorgadbois 2026-04-06 13:48:20 -05:00
parent d5ecf7754b
commit cbacb00bf9

View File

@ -124,8 +124,8 @@ func reportPWNboard(ip string, t *TransportTCP) {
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer " + t.Config.PWNboardToken)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
client.Do(req)
// defer resp.Body.Close()
}
func validConfig(config string) error {