We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19b91b6 commit 0be9697Copy full SHA for 0be9697
1 file changed
main.go
@@ -41,11 +41,14 @@ func main() {
41
URL := client.URL()
42
43
// Read from interactsh and forward to SQLMap local DNS server
44
- client.StartPolling(time.Duration(interactshPollingTimeMs)*time.Millisecond, func(interaction *server.Interaction) {
+ err = client.StartPolling(time.Duration(interactshPollingTimeMs)*time.Millisecond, func(interaction *server.Interaction) {
45
if interaction.Protocol == "dns" {
46
dnsResolver.LookupHost(context.Background(), interaction.FullId)
47
}
48
})
49
+ if err != nil {
50
+ panic(err)
51
+ }
52
defer client.StopPolling()
53
54
// Wrap SQLMap adding DNS domain for exfiltration
0 commit comments