2

This is the link for the tool - https://github.com/joswr1ght/asleap

I cloned it:

$ git clone https://github.com/joswr1ght/asleap
Cloning into 'asleap'...
remote: Counting objects: 36, done.
remote: Total 36 (delta 0), reused 0 (delta 0), pack-reused 36
Unpacking objects: 100% (36/36), done.*

Then used:

$ cd asleap
$ ls
asleap.c    COPYING      ieee8021x.h      md4.c       sha1.c   version.h
asleap.h    data         ietfproto.h      md4.h       sha1.h
byteswap.h  genkeys.c    joshlea.dump     radiotap.h  THANKS
common.c    genkeys.val  Makefile         README      utils.c
common.h    ieee80211.h  makefile.cygwin  scripts     utils.h

$ make
cc -pipe -Wall -D_LINUX -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I../../.. -D_OPENSSL_MD4 -g3 -ggdb -g   -c -o sha1.o sha1.c
cc -pipe -Wall -D_LINUX -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I../../.. -D_OPENSSL_MD4 -g3 -ggdb -g   -c -o common.o common.c
cc -pipe -Wall -D_LINUX -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I../../.. -D_OPENSSL_MD4 -g3 -ggdb -g   -c -o utils.o utils.c
cc -pipe -Wall -D_LINUX -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I../../.. -D_OPENSSL_MD4 -g3 -ggdb -g asleap.c -o asleap common.o utils.o sha1.o -lpcap -lcrypt -lcrypto
asleap.c: In function ‘main’:
asleap.c:1398:6: warning: variable ‘findleaptimeout’ set but not used [-Wunused-but-set-variable]
  int findleaptimeout = 5;
      ^~~~~~~~~~~~~~~
cc -pipe -Wall -D_LINUX -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I../../.. -D_OPENSSL_MD4 -g3 -ggdb -g md4.c genkeys.c -o genkeys common.o utils.o -lpcap -lcrypt -lcrypto
cc -pipe -Wall -D_LINUX -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I../../.. -D_OPENSSL_MD4 -g3 -ggdb -g   -c -o asleap.o asleap.c
asleap.c: In function ‘main’:
asleap.c:1398:6: warning: variable ‘findleaptimeout’ set but not used [-Wunused-but-set-variable]
  int findleaptimeout = 5;
      ^~~~~~~~~~~~~~~
cc -pipe -Wall -D_LINUX -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I../../.. -D_OPENSSL_MD4 -g3 -ggdb -g   -c -o genkeys.o genkeys.c

$ make install
make: *** No rule to make target 'install'.  Stop.
  • 1
    Welcome to askubuntu, it would be helpful if you posted the output that you get when you try these commands. – rviertel Aug 7 '18 at 19:14
  • Please copy and paste the error messages you see on running that command! – George Udosen Aug 7 '18 at 19:23
  • 1
    What is your Ubuntu version? What exact error messages you got? – N0rbert Aug 7 '18 at 19:26
  • 1
    Please use code formatting for commands and command output: askubuntu.com/editing-help#code – muru Aug 8 '18 at 5:53
  • @rviertel I added outputs in the post. – Prince Aug 8 '18 at 5:53
2

I compiled this software successfully on Ubuntu 18.04 LTS with

sudo apt-get install git build-essential libssl-dev libpcap-dev

cd ~/Downloads
https://github.com/joswr1ght/asleap
cd asleep
make

For your information: its Makefile does not contain install procedure.

So after compilation you can use executables directly by ./asleap and ./genkeys.

  • How do I call it from anywhere like other tools? Thank you @n0rbert – Prince Aug 8 '18 at 9:14
  • You can add their directory path to $PATH variable. – N0rbert Aug 8 '18 at 9:30

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.