Method: Rex::Proto::ADDP.request_config_all
- Defined in:
- lib/rex/proto/addp.rb
.request_config_all(dmac = "\xff\xff\xff\xff\xff\xff") ⇒ Object
55 56 57 58 59 60 |
# File 'lib/rex/proto/addp.rb', line 55 def self.request_config_all(dmac="\xff\xff\xff\xff\xff\xff") mac = (dmac.length == 6) ? dmac : Rex::Socket.eth_aton(dmac) res = [] MAGICS.each { |m| res << self.request_config(m, dmac) } return res end |