We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c653362 commit c2586d0Copy full SHA for c2586d0
modules/auxiliary/server/icmp_exfil.rb
@@ -127,7 +127,10 @@ def icmp_listener
127
# -(Windows) netsh firewall set opmode mode = ENABLE
128
129
if packet.icmp_type == 0 and packet.icmp_code == 0 and packet.ip_saddr == @iface_ip
130
- raise RuntimeError , "Dectected ICMP echo response. Disable OS ICMP handling!"
+ print_error "Dectected ICMP echo response. You must either disable ICMP handling"
131
+ print_error "or try a more restrictive BPF filter. You might try:"
132
+ print_error " set BPF_FILTER icmp and not src #{datastore['LOCALIP']}"
133
+ return
134
end
135
136
if @record
0 commit comments