Ubuntu 18.04 上的 Reaver 问题

Ubuntu 18.04 上的 Reaver 问题

所以我关注了这个链接https://www.learn2crack.com/2013/07/learn-to-hack-wifi-password-with-ubuntu.html
我被困在第 7 步。我粘贴了第 6 步的输出,以防万一错误出在那里。

root@Sphinx-PC:~/reaver-1.4/src# ./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for pcap_open_live in -lpcap... no
error: pcap library not found!
root@Sphinx-PC:~/reaver-1.4/src# make
make: *** No targets specified and no makefile found.  Stop.
root@Sphinx-PC:~/reaver-1.4/src# make
make: *** No targets specified and no makefile found.  Stop.
root@Sphinx-PC:~/reaver-1.4/src# make install
make: *** No rule to make target 'install'.  Stop.
root@Sphinx-PC:~/reaver-1.4/src#"

在此处输入图片描述

答案1

首先确保您已启用系统中的所有存储库:

sudo add-apt-repository main
sudo add-apt-repository universe
sudo add-apt-repository multiverse
sudo apt-get update

你不需要自己编译 reaver,因为它与版本 1.4-2build1 一起打包。 使用:

sudo apt-get install reaver

如果你仍然需要编译它(使用自定义./configure选项或只是为了获得新体验) - 你应该启用源代码存储库软件与更新software-properties-gtk)并使用安装其构建依赖项

sudo apt-get build-dep reaver

然后继续./configure

相关内容