ZerBea / hcxdumptool

Small tool to capture packets from wlan devices.
MIT License
1.85k stars 398 forks source link

Please put that in the Documentation . #35

Closed kolet closed 6 years ago

kolet commented 6 years ago

compiling the tools does require some packages to be installed (debian/ubuntu/kali...)

if u received this errors , this is what u should do.

hcxpcaptool.c:16:10: fatal error: openssl/sha.h: No such file or directory

include <openssl/sha.h>

u need to install libssl-dev (sudo apt install libssl-dev)

In file included from hcxpcaptool.c:35: include/gzops.c:1:10: fatal error: zlib.h: No such file or directory

include

u need to install zlib1g-dev (sudo apt install zlib1g-dev)

wlanhcx2cap.c:12:10: fatal error: pcap.h: No such file or directory

include

u need to install libpcap0.8-dev (sudo apt-get install libpcap0.8-dev)

wlanhcx2cap.c:19:10: fatal error: curl/curl.h: No such file or directory

include <curl/curl.h>

u need to install libcurl4-openssl-dev (apt install libcurl4-openssl-dev)

summary sudo apt install libcurl4-openssl-dev libpcap0.8-dev zlib1g-dev libssl-dev

bigmario72 commented 6 years ago

Consegui resolver esse problema ( hcxpcaptool.c: 16: 10: erro fatal: openssl / sha.h: Nenhum arquivo ou diretório como

include <openssl / sha.h>) Com esse tutorial.

ZerBea commented 6 years ago

It is allready in the documentation: From hcxtools README.md: Requirements Linux (recommended Arch Linux, but other distros should work, too (no support for other distributions). libopenssl and openssl-dev installed librt and librt-dev installed (should be installed by default) zlib and zlib-dev installed (for gzip compressed cap/pcap/pcapng files) libcurl and curl-dev installed (used by whoismac and wlancap2wpasec) libpthread and pthread-dev installed (used by hcxhashcattool)

To install requirements on Kali use the following 'apt-get install libcurl4-openssl-dev libssl-dev zlib1g-dev libpcap-dev'