Skip to content

Commit

Permalink
Update GATEWAY to GATEWAY_PROBE_HOST, add GATEWAY_PROBE_PORT
Browse files Browse the repository at this point in the history
  • Loading branch information
jhart-r7 committed Dec 4, 2014
1 parent b35eee3 commit 52851d5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/auxiliary/scanner/discovery/arp_sweep.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def initialize
OptInt.new('TIMEOUT', [true, 'The number of seconds to wait for new data', 5]),
], self.class)

deregister_options('SNAPLEN', 'FILTER', 'PCAPFILE', 'UDP_SECRET', 'GATEWAY')
deregister_options('SNAPLEN', 'FILTER', 'PCAPFILE', 'SECRET', 'GATEWAY_PROBE_HOST', 'GATEWAY_PROBE_PORT')
end

def run_batch_size
Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/server/icmp_exfil.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def initialize
OptAddress.new('LOCALIP', [false, 'The IP address of the local interface'])
], self.class)

deregister_options('SNAPLEN','FILTER','PCAPFILE','RHOST','UDP_SECRET','GATEWAY', 'TIMEOUT')
deregister_options('SNAPLEN','FILTER','PCAPFILE','RHOST','SECRET','GATEWAY_PROBE_HOST', 'GATEWAY_PROBE_PORT', 'TIMEOUT')
end

def run
Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/spoof/arp/arp_poisoning.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def initialize
OptBool.new( 'BROADCAST', [true, 'If set, the module will send replies on the broadcast address witout consideration of DHOSTS', false])
], self.class)

deregister_options('SNAPLEN', 'FILTER', 'PCAPFILE','RHOST','UDP_SECRET','GATEWAY')
deregister_options('SNAPLEN', 'FILTER', 'PCAPFILE','RHOST','SECRET','GATEWAY_PROBE_HOST','GATEWAY_PROBE_PORT')
end

def run
Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/spoof/replay/pcap_replay.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def initialize
OptInt.new('PKT_DELAY', [true, "the delay in millisecond between each packet",0]),
], self.class)

deregister_options('SNAPLEN','FILTER','PCAPFILE','RHOST','TIMEOUT','UDP_SECRET','GATEWAY')
deregister_options('SNAPLEN','FILTER','PCAPFILE','RHOST','TIMEOUT','SECRET','GATEWAY_PROBE_HOST','GATEWAY_PROBE_PORT')
end

def run
Expand Down
2 changes: 1 addition & 1 deletion modules/exploits/windows/misc/wireshark_packet_dect.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def initialize(info = {})

], self.class)

deregister_options('FILTER','PCAPFILE','RHOST','SNAPLEN','TIMEOUT','UDP_SECRET','GATEWAY')
deregister_options('FILTER','PCAPFILE','RHOST','SNAPLEN','TIMEOUT','SECRET','GATEWAY_PROBE_HOST','GATEWAY_PROBE_PORT')
end

def junk
Expand Down

0 comments on commit 52851d5

Please sign in to comment.