Comments (9)
It's probably due to API changes in newer versions of openssl that cause the compile to fail. What version of openssl are you running? openssl version -v
If you only have something like 1.1.0 then you probably also have the libssl 1.1 development libraries which cause these errors. You can check your library version with ldconfig:
ldconfig -p | grep libssl
If you only see libssl.so.1.1 try:
apt-get install libssl1.0-dev
Run make clean
and make
again
from bully.
Update:
The errors are identical under a non-root user, even when using 'make' instead of 'sudo make'. Whatever the problem is, it's not dependent on the build environment's root-ness. My guess is the GNU make interpreter is expecting a different syntax in the makefile.
Do you have a suggested or recommended version of make to use when building bully? Perhaps some different headers I should be using?
Another update:
It's possible that, since some of the errors dip into bully.c, that my compiler is to blame somehow. If anyone can specify which version of GCC to use--and any packages that should NOT be installed--I'd appreciate it.
from bully.
The issue may be due to the fact that the OpenSSL library used when this was last updated is outdated. Do the headers in crypto_openssl.c conflict with the current OpenSSL version?
from bully.
Same here. Using Kali Linux 2016.1 with last updates
from bully.
Having same errors. Using Kali 2016.2 clean install, fully updated.
from bully.
That was indeed the problem. Thank you.
from bully.
cc -Ipwd
-Ipwd
/utils/ -Ipwd
/tls/ -Ipwd
/wps/ -Ipwd
/crypto/ -Ipwd
/common/ -o bully bully.c -lpcap -lssl -lcrypto
In file included from bully.c:65:0:
crypto/crypto_openssl.c: In function 'openssl_digest_vector':
crypto/crypto_openssl.c:81:13: error: storage size of 'ctx' isn't known
EVP_MD_CTX ctx;
^~~
crypto/crypto_openssl.c: In function 'rc4_skip':
crypto/crypto_openssl.c:148:17: error: storage size of 'ctx' isn't known
EVP_CIPHER_CTX ctx;
^~~
crypto/crypto_openssl.c: At top level:
crypto/crypto_openssl.c:301:17: error: field 'enc' has incomplete type
EVP_CIPHER_CTX enc;
^~~
crypto/crypto_openssl.c:302:17: error: field 'dec' has incomplete type
EVP_CIPHER_CTX dec;
^~~
crypto/crypto_openssl.c: In function 'dh5_init':
crypto/crypto_openssl.c:426:4: error: dereferencing pointer to incomplete type 'DH {aka struct dh_st}'
dh->g = BN_new();
^~
In file included from bully.c:89:0:
80211.c: In function 'reassoc':
80211.c:328:16: warning: implicit declaration of function 'set_chan' [-Wimplicit-function-declaration]
G->chanx = set_chan(G, tag->data[0]);
^~~~~~~~
80211.c:356:16: warning: implicit declaration of function 'next_chan' [-Wimplicit-function-declaration]
G->chanx = next_chan(G);
^~~~~~~~~
In file included from bully.c:91:0:
iface.c: In function 'set_chan':
iface.c:28:9: warning: implicit declaration of function 'set_chanx' [-Wimplicit-function-declaration]
return set_chanx(G, G->index[chan]);
^~~~~~~~~
bully.c: In function 'main':
bully.c:969:4: warning: 'return' with no value, in function returning non-void
return;
^~~~~~
bully.c:95:5: note: declared here
int main(int argc, char *argv[])
^~~~
Makefile:19: fallo en las instrucciones para el objetivo 'bully'
make: *** [bully] Error 1
from bully.
Now (ea0cdd9) it should compile with the previous version of OpenSSL (libssl1.0-dev
).
Please refer to #12.
from bully.
It's probably due to API changes in newer versions of openssl that cause the compile to fail. What version of openssl are you running?
openssl version -v
If you only have something like 1.1.0 then you probably also have the libssl 1.1 development libraries which cause these errors. You can check your library version with ldconfig:
ldconfig -p | grep libssl
If you only see libssl.so.1.1 try:
apt-get install libssl1.0-dev
Run
make clean
andmake
again
OOO Thank you Sir!
from bully.
Related Issues (20)
- -l option doesn't work properly
- Add support for OpenSSL > 1.0.2x HOT 19
- bully
- Null pin 0-day HOT 6
- new git release tag HOT 3
- Wps pin not found HOT 2
- The pin generator repeats the same pin HOT 5
- how to install on mac?? HOT 1
- install error
- Should use python3 for src/bully.py HOT 15
- It can`t make install in Termux HOT 2
- Tag a new release HOT 5
- new option: display time
- constant 'Assn' 'Auth' 'M2' 'M1' timeouts and ID 'NoAssoc' error HOT 1
- compaudit:103: permission denied: /dev/null /home/rtfm/.zshrc:84: permission denied: /dev/null HOT 1
- Problem while running the make command HOT 3
- Fixed channel issue on Qualcomm qcacld3.0 HOT 6
- Add windows support HOT 2
- Create option to disable association to AP
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 bully.