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 265567f commit e9d8575Copy full SHA for e9d8575
modules/auxiliary/spoof/arp/arp_poisoning.rb
@@ -79,7 +79,7 @@ def run
79
raise RuntimeError ,'Source MAC is not in correct format' unless is_mac?(@smac)
80
81
@sip = datastore['LOCALSIP']
82
- @sip ||= get_ipv4_addr(@interface)[0] if @netifaces
+ @sip ||= get_ipv4_addr(@interface) if @netifaces
83
raise "LOCALSIP is not defined and can not be guessed" unless @sip
84
raise "LOCALSIP is not an ipv4 address" unless Rex::Socket.is_ipv4?(@sip)
85
0 commit comments