installing error
DarknessAttack opened this issue · comments
[++] Please choose your operating system.
- Ubuntu / Kali linux / Others
- Parrot OS
1
[++] Installing Xerosploit ...
Get:1 http://deb.i2p2.no unstable InRelease [19.7 kB]
Err:1 http://deb.i2p2.no unstable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 67ECE5605BCF1346
Hit:2 http://ftp.harukasan.org/kali kali-rolling InRelease
Reading package lists... Done
W: GPG error: http://deb.i2p2.no unstable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 67ECE5605BCF1346
E: The repository 'http://deb.i2p2.no unstable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
WARNING: bin/xettercap is not executable
WARNING: See https://guides.rubygems.org/specification-reference/ for help
Successfully built RubyGem
Name: xettercap
Version: 1.5.7xerob
File: xettercap-1.5.7xerob.gem
Building native extensions. This could take a while...
ERROR: Error installing xettercap-1.5.7xerob.gem:
ERROR: Failed to build gem native extension.
current directory: /var/lib/gems/3.0.0/gems/pcaprub-0.13.1/ext/pcaprub_c
/usr/bin/ruby3.0 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20220710-21223-bcv4yn.rb extconf.rb
[*] Running checks for pcaprub_c code...
platform is x86_64-linux-gnu
checking for ruby/thread.h... yes
checking for rb_thread_blocking_region()... no
checking for rb_thread_call_without_gvl()... yes
checking for pcap_open_live() in -lpcap... no
checking for pcap_setnonblock() in -lpcap... no
creating Makefile
current directory: /var/lib/gems/3.0.0/gems/pcaprub-0.13.1/ext/pcaprub_c
make DESTDIR= clean
current directory: /var/lib/gems/3.0.0/gems/pcaprub-0.13.1/ext/pcaprub_c
make DESTDIR=
compiling pcaprub.c
pcaprub.c:11:10: fatal error: pcap.h: No such file or directory
11 | #include <pcap.h>
| ^~~~~~~~
compilation terminated.
make: *** [Makefile:245: pcaprub.o] Error 1
make failed, exit code 2
Gem files will remain installed in /var/lib/gems/3.0.0/gems/pcaprub-0.13.1 for inspection.
Results logged to /var/lib/gems/3.0.0/extensions/x86_64-linux/3.0.0/pcaprub-0.13.1/gem_make.out
Xerosploit has been sucessfuly instaled. Execute 'xerosploit' in your terminal.
same for me
"sudo apt-get install libpcap-dev" It works THX