Comments (11)
While installing hcxtools it says the following error:
cc -O3 -Wall -Wextra -std=gnu99 -MMD -MF .deps/hcxpcaptool.d -o hcxpcaptool hcxpcaptool.c -lz -lcrypto
hcxpcaptool.c:16:10: fatal error: openssl/sha.h: No such file or directory
#include <openssl/sha.h>
^~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:79: hcxpcaptool] Error 1
also icant seem to install any other package required like
libopenssl
openssl-dev
libcurl
from hcxtools.
Which distribution do you run?
In case of debian based distribution (KALI, UBUNTU) you must install the dev packages!
If you need more informations, follow this issue here:
#55
or check the README:
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'
Or just do a google search. For example: "debian openssl/sha.h: No such file or directory"
https://unix.stackexchange.com/questions/87458/make-fatal-error-openssl-sha-h-no-such-file-or-directory
BTW:
I closed this issue, because it isn't a hcxtools issue.
Of course, you can comment further questions here, if you need help.
from hcxtools.
I am running on kali Linux 2019.2
But I cant seem to install those packages
So would you be kind enough to send me the kali repositories. Bcoz mine doesn't seem to work
As it cant locate those mentioned packages.
from hcxtools.
Did you run:
$ apt get update
$ apt-get upgrade
$ apt-get install libcurl4-openssl-dev libssl-dev zlib1g-dev
BTW:
I can't send you the KALI repositories, because this is the world of Arch Linux here.
You can find the kali Linux Package Tracker here:
https://pkg.kali.org/
for example search for openssl:
https://pkg.kali.org/pkg/openssl
It is possible that KALI changed the name of the Package:
https://forums.kali.org/showthread.php?35011-Issues-with-libssl-John-the-Ripper
from hcxtools.
Yeah I ran all the commnds
All came positive except for that last one
It just cant locate the package
Anyways thanks
I will try more and reply if I found the answer
Thank you so much for the quick response
from hcxtools.
Also I recommend to read this here, if you are a Linux beginner:
https://itsfoss.com/kali-linux-review/
from hcxtools.
Ok, please post the error message from apt.
It looks like a typical KALI issue, because we have more than one issue report here:
#93
#57
#56
Maybe I need to update the REAME, because KALI change the package names (again).
from hcxtools.
Both tools came up with KALI:
https://pkg.kali.org/pkg/hcxtools
https://pkg.kali.org/pkg/hcxdumptool
from hcxtools.
I'm having the exact same problem. I'm using a pwnagotchi.
from hcxtools.
@DarioMorariu
Provided that you're running the latest release v1.5.5:
https://github.com/evilsocket/pwnagotchi/releases/tag/v1.5.5
You should know that the underlying OS (Raspbian lite - based on Debian) is old (Apr 18, 2021).
Latest Raspbian lite version is Bookworm (Debian 12) with release date: December 11th 2023)
https://www.raspberrypi.com/software/operating-systems/
As mentioned in README.md section requirements, you need libopenssl >= 3.0 to compile hcxtools.
* libopenssl (>= 3.0) and openssl-dev installed
This version is provided by Bookworm:
https://packages.debian.org/bookworm/openssl
Older versions, e.g. Bullseye provide version 1.1.1w only:
https://packages.debian.org/bullseye/openssl
Due to missing functions, you can't compile hcxtools running this old library.
You now have two options:
update to bookworm
or
compile openssl by yourself (I do not recommend this, because you will end up in a dependency hell)
https://www.openssl.org/
BTW:
According to this the pwnagotchi recommended hardware is a Raspberry Pi 0 W:
https://pwnagotchi.org/getting-started/suggested-working-hardware/index.html
I suggest to take a look at OpenWRT:
https://openwrt.org/
https://openwrt.org/packages/pkgdata/hcxtools
https://openwrt.org/packages/pkgdata/hcxdumptool
You can build a test image via the firmware selector:
https://firmware-selector.openwrt.org/?version=23.05.2&target=bcm27xx%2Fbcm2708&id=rpi
from hcxtools.
Also you should know that Debian (and its clones like Raspbain, UBUNTU, KALI, ...) does not install a development environment by default!
If you decide to compile tools, it is mandatory to install the development environment, the development tools, the header files (-dev packages) and the libraries (linked by hcxtools).
If this environment is missing (not installed or incomplete), you'll end up in an ERROR like this one:
fatal error: openssl/sha.h: No such file or directory
from hcxtools.
Related Issues (20)
- hcxtools 6.3.1 regression test failure (format WPA*01*: additional PMKID MESSAGEPAIR field) HOT 6
- Error = hcxpcapngtool.c:27:10: fatal error: openssl/core.h: No such file or directory due to missing dependency (openssl >= 3.0) HOT 2
- Nothing find with EWSA when converts hash file hccapx to cap with hcxhash2cap. HOT 4
- fatal error: openssl/core.h: No such file or directory HOT 4
- Short, greppable outputs
- Windows/MSYS Make support HOT 2
- handshake detection HOT 40
- NO
- No
- wifite ends in an infinite loop HOT 6
- About using - o some questions HOT 17
- atal error: openssl/core.h: No such file or directory HOT 3
- valid message pairs and nonce-error-corrections HOT 29
- hcxhash2cap not working on some files HOT 18
- feature request: hcxhashtool - add import function of deprecatred hccapx hash files HOT 1
- feature request: hcxhashtool - add import function of ancient hccap hash file HOT 1
- please help me in this issue HOT 1
- Maximum of supported interfaces reached HOT 3
- fatal error: openssl/sha.h: No such file or directory (misconfigured KALI distribution) HOT 9
- Issue with cap2hccapx.bin not producing readable hash HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hcxtools.