how can i specify an interface for the shank.rb command ?
i have 2 interface i want to run the command on eth1 but it's running on eth0 !
ruby ./shank.rb 192.168.85.0/24
/root/.gem/ruby/2.3.0/gems/packetfu-1.1.11/lib/packetfu/capture.rb:104: warning: unable to get IP: eth0: no IPv4 address assigned
/root/.gem/ruby/2.3.0/gems/packetfu-1.1.11/lib/packetfu/capture.rb:104: warning: unable to get IP: eth0: no IPv4 address assigned
/root/.gem/ruby/2.3.0/gems/packetfu-1.1.11/lib/packetfu/utils.rb:145:in rescue in whoami?': Didn't receive the whoami() packet, can't automatically configure. (SocketError) from /root/.gem/ruby/2.3.0/gems/packetfu-1.1.11/lib/packetfu/utils.rb:114:inwhoami?'
from ./shank.rb:158:in initialize' from ./shank.rb:322:innew'
from ./shank.rb:322:in `'
how can i specify an interface for the shank.rb command ? i have 2 interface i want to run the command on eth1 but it's running on eth0 !
ruby ./shank.rb 192.168.85.0/24 /root/.gem/ruby/2.3.0/gems/packetfu-1.1.11/lib/packetfu/capture.rb:104: warning: unable to get IP: eth0: no IPv4 address assigned /root/.gem/ruby/2.3.0/gems/packetfu-1.1.11/lib/packetfu/capture.rb:104: warning: unable to get IP: eth0: no IPv4 address assigned /root/.gem/ruby/2.3.0/gems/packetfu-1.1.11/lib/packetfu/utils.rb:145:in'
rescue in whoami?': Didn't receive the whoami() packet, can't automatically configure. (SocketError) from /root/.gem/ruby/2.3.0/gems/packetfu-1.1.11/lib/packetfu/utils.rb:114:in
whoami?' from ./shank.rb:158:ininitialize' from ./shank.rb:322:in
new' from ./shank.rb:322:in `