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

errror, not starting #5

Closed adrian-rt closed 11 years ago

adrian-rt commented 11 years ago

i always get this error:

ruby shank.rb 192.168.1.0/32

/var/lib/gems/1.9.2/gems/gems/packetfu-1.1.6/lib/packetfu/utils.rb:92:in whoami?': uninitialized constant PacketFu::Capture (NameError) from shank.rb:120:ininitialize' from shank.rb:284:in new' from shank.rb:284:in

'

of if i start with just a single ip 192.168.1.0 or 192.168.1.0/31. The idea is that i don't want to arp spoof the entire network .

adrian-rt commented 11 years ago

i tried to install pcaprub:

gem1.9.2 install --user-install pcaprub /usr/lib/ruby/1.9.2/rubygems/installer.rb:135: warning: Insecure world writable dir /root/.gem/ruby/1.9.2/bin in PATH, mode 040777 Building native extensions. This could take a while... Successfully installed pcaprub-0.11.3 1 gem installed Installing ri documentation for pcaprub-0.11.3... Installing RDoc documentation for pcaprub-0.11.3...

but:

gem1.9.2 which pcaprub ERROR: Can't find ruby library file or shared library pcaprub

adrian-rt commented 11 years ago

solved it in the end it worked with gem install pcaprub