Fixed pwnboard reporting
This commit is contained in:
parent
d5ecf7754b
commit
cbacb00bf9
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user