Coder Social home page Coder Social logo

Comments (9)

lloydXmas avatar lloydXmas commented on July 22, 2024 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.

boinkitsbroken avatar boinkitsbroken commented on July 22, 2024

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.

lloydXmas avatar lloydXmas commented on July 22, 2024

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.

0MazaHacka0 avatar 0MazaHacka0 commented on July 22, 2024

Same here. Using Kali Linux 2016.1 with last updates

from bully.

m0j4r115 avatar m0j4r115 commented on July 22, 2024

Having same errors. Using Kali 2016.2 clean install, fully updated.

from bully.

m0j4r115 avatar m0j4r115 commented on July 22, 2024

That was indeed the problem. Thank you.

from bully.

carlosnewmusic avatar carlosnewmusic commented on July 22, 2024

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.

wiire-a avatar wiire-a commented on July 22, 2024

Now (ea0cdd9) it should compile with the previous version of OpenSSL (libssl1.0-dev).

Please refer to #12.

from bully.

philiplambok avatar philiplambok commented on July 22, 2024

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

OOO Thank you Sir!

from bully.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.