SpiderLabs / beef_injection_framework

Inject beef hooks into HTTP traffic and track hooked systems from cmdline
GNU General Public License v3.0
120 stars 42 forks source link

how can i specify an interface for the shank.rb command ? #11

Open mtaghadosi opened 8 years ago

mtaghadosi commented 8 years ago

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 `

'