jr15062000 / reaver-wps

Automatically exported from code.google.com/p/reaver-wps
0 stars 0 forks source link

Support for Mac OS X? #245

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Support for Mac OS X?

Original issue reported on code.google.com by demon.ia...@hotmail.com on 19 Feb 2012 at 7:19

GoogleCodeExporter commented 8 years ago
Doesn't compile on Mac currently (1.4)

Original comment by stevenroose on 14 Jun 2012 at 9:48

GoogleCodeExporter commented 8 years ago
Is there any updates?

Original comment by vsinja...@gmail.com on 20 Jan 2013 at 7:27

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I ported this to OS X today and am waiting to hear back from the project owner 
to check in changes.

Original comment by drspring...@gmail.com on 19 Mar 2013 at 8:55

GoogleCodeExporter commented 8 years ago
Ok, it seems the project owners are not responsive.  So I have just uploaded 
the diffs here: https://docs.google.com/file/d/0B3tHnfnS08GyVUNSNFl5bHdEN1k/edit

Patch and enjoy!

Original comment by drspring...@gmail.com on 3 Apr 2013 at 3:59

GoogleCodeExporter commented 8 years ago
How does one actually use the diffs, I'm quite confused.

Original comment by fascistk...@gmail.com on 4 May 2013 at 1:41

GoogleCodeExporter commented 8 years ago
Ok, let's do this another way.  I've uploaded the patched code here.  Just 
compile and you're done:

https://docs.google.com/file/d/0B3tHnfnS08GycG1fVENETEdvazA/edit

Original comment by drspring...@gmail.com on 4 May 2013 at 11:27

GoogleCodeExporter commented 8 years ago
Note that Google Drive apparently shows you the contents of the zip file when 
you click that link, so to download you need to click File -> Download.  (Argh)

Original comment by drspring...@gmail.com on 4 May 2013 at 11:30

GoogleCodeExporter commented 8 years ago
Could someone please tell me how to properly install on an iMac running OS C 
mtnLion? Is there a link with step by step? Thanks

Original comment by i33in...@gmail.com on 10 Jun 2013 at 10:42

GoogleCodeExporter commented 8 years ago
extract contents then navigate to reaver-wps/src

./configure
make
make install

Original comment by jensbo...@gmail.com on 20 Jun 2013 at 8:22

GoogleCodeExporter commented 8 years ago
Thanks for the patch drspring; worked beautifully.

Original comment by s.pe...@gmail.com on 21 Jun 2013 at 9:22

GoogleCodeExporter commented 8 years ago
im  trying install reaver before xcode, and dont work..
install xcode -> install command line tools -> install reaver (./configure make 
make install). but return error:
sh-3.2# make install
rm -f /usr/local/bin/reaver /usr/local/bin/wash /usr/local/bin/walsh
if [ ! -d /usr/local/etc/reaver ]; then mkdir -p /usr/local/etc/reaver; fi
if [ ! -e /usr/local/etc/reaver/reaver.db ]; then cp reaver.db 
/usr/local/etc/reaver/reaver.db && chmod -R a+rw /usr/local/etc/reaver; fi
if [ -e wash ]; then cp wash /usr/local/bin/wash; fi
cp: /usr/local/bin/wash: No such file or directory
make: *** [install] Error 1

what is wrong?

Original comment by Eric...@gmail.com on 13 Aug 2013 at 6:20

GoogleCodeExporter commented 8 years ago
That bin directory does not exist by default. Create it and it'll install. 

Original comment by as...@chipnick.com on 18 Aug 2013 at 4:39

GoogleCodeExporter commented 8 years ago
its compiling fine on mac osx 10.7.5 but when i something like
reaver -i en1 -b 08:76:ff:a7:5a:5c -vv
i get the repeated message:
[!] WARNING: Failed to associate with 08:76:FF:A7:5A:5C (ESSID: (null))
any ideas ?
thanks

Original comment by vasilis....@gmail.com on 5 Sep 2013 at 9:29

GoogleCodeExporter commented 8 years ago
make install

rm -f /usr/local/bin/reaver /usr/local/bin/wash /usr/local/bin/walsh
if [ ! -d /usr/local/etc/reaver ]; then mkdir -p /usr/local/etc/reaver; fi
mkdir: /usr/local/etc/reaver: Permission denied
make: *** [install] Error 

Original comment by himi...@gmail.com on 6 Sep 2013 at 2:05

GoogleCodeExporter commented 8 years ago
use sudo make install instead of make install
my mac need it to do make install

Original comment by fajar.ju...@gmail.com on 12 Sep 2013 at 6:05

GoogleCodeExporter commented 8 years ago
need some help here. never done this before, no compiling or patching. anyway 
tried to do it for first time and start getting this error. 

"checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/bbd/reaver-wps/src':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details"

first i didnt have any compiler, then got macports and xcode, still error didnt 
change. tried to do it as SU , still same error. am i doing something wrong ? 

Original comment by B.Vincev...@gmail.com on 4 Oct 2013 at 7:13

GoogleCodeExporter commented 8 years ago
brew install reaver

Original comment by PavelSa...@gmail.com on 22 Oct 2013 at 6:46

GoogleCodeExporter commented 8 years ago
brew install runs quite happily but to nobody's surprise it doesn't exactly run 
flawless after that...

No matter what the combination of parameters, you get:

    [+] Trying pin 12345670
    [+] Sending EAPOL START request
    [+] Received identity request
    [+] Sending identity response
    [!] WARNING: Receive timeout occurred
    [+] Sending WSC NACK
    [!] WPS transaction failed (code: 0x02), re-trying last pin

and so on and so on..?

Original comment by cbrunnkvist@gmail.com on 28 Oct 2013 at 3:10

GoogleCodeExporter commented 8 years ago
Tried to install it on my snow leopard, nothing really works.

Original comment by noi...@gmail.com on 28 Oct 2013 at 4:15

GoogleCodeExporter commented 8 years ago
Worked for me. Awesome. Quick question: Can I delete the folder after doing the 
make install, or do I need to keep it in the same directory as it was when I 
installed it?

Original comment by stephanr...@gmail.com on 31 Oct 2013 at 12:13

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
install it with port and try
sudo reaver -i en1 -b 08:76:ff:a7:5a:5c -vv

...but I also see it re-trying last pin lots of time. And, I notice that the 
wifi interface keeps on switching from monitor to receive mode (look at the 
icon on the wifi strength indicator) and back while trying and trying.

Original comment by ilcorsar...@gmail.com on 2 Nov 2013 at 11:10

GoogleCodeExporter commented 8 years ago
I have created the bin directories (wash,walsh,reaver) however when I 

sudo make install 

I get the error

make: *** [cleanbin] Error 1

Original comment by ed.dev.n...@gmail.com on 15 Nov 2013 at 3:22

GoogleCodeExporter commented 8 years ago
installed and working on OS X Mavericks (with macports installed)

Original comment by ra...@ravmn.cl on 12 Feb 2014 at 4:02

GoogleCodeExporter commented 8 years ago
I have OS X 10.9.2, reaver works fine but wash gives no output and console 
reports: 

5/17/14 12:13:09.632 AM airport[3427]: Error: Apple80211Set(channel) failed

over and over... running the command:

sudo wash -i en0

on a 2012 MBPr and Airport Extreme internal card

Original comment by huntdo...@gmail.com on 17 May 2014 at 5:15

GoogleCodeExporter commented 8 years ago
Hey DrSpring ty for ur link but i've got a problem for "Sudo make Install" :

rm -f /usr/local/bin/reaver /usr/local/bin/wash /usr/local/bin/walsh
if [ ! -d /usr/local/etc/reaver ]; then mkdir -p /usr/local/etc/reaver; fi
if [ ! -e /usr/local/etc/reaver/reaver.db ]; then cp reaver.db 
/usr/local/etc/reaver/reaver.db && chmod -R a+rw /usr/local/etc/reaver; fi
if [ -e wash ]; then cp wash /usr/local/bin/wash; fi
if [ -e reaver ]; then cp reaver /usr/local/bin/reaver; fi

What's da prob ? Ty 

Original comment by Ches...@gmail.com on 30 Jun 2014 at 2:28

GoogleCodeExporter commented 8 years ago
Hey i have version 10.9.4 on my mac how can i install or lunch reaver 1.4 its 
not working with cd 
how did you install it on mavericks and sudo wash isn't working 

Original comment by lukas.ch...@googlemail.com on 13 Jul 2014 at 7:06

GoogleCodeExporter commented 8 years ago
Fatal error, linux/types.h' file not found

So, we miss a file here!

Original comment by febbyman...@gmail.com on 16 Aug 2014 at 8:27

GoogleCodeExporter commented 8 years ago
@#29: The patch at #5 works. Use it before compiling:

Download the reaver_osx.diff
Download the latest reaver

In terminal:

cd ~/Downloads/
tar zxvf reaver*.tar.gz && cd reaver*/src/ && patch < 
~/Downloads/reaver_osx.diff

Original comment by jfbethle...@gmail.com on 8 Sep 2014 at 2:13

GoogleCodeExporter commented 8 years ago
i created the requested directories but still get an error:

rm -f /usr/local/bin/reaver /usr/local/bin/wash /usr/local/bin/walsh
rm: /usr/local/bin/reaver: is a directory
rm: /usr/local/bin/wash: is a directory
rm: /usr/local/bin/walsh: is a directory
make: *** [cleanbin] Error 1

Thanks for your help!

Original comment by mkelle...@gmail.com on 25 Sep 2014 at 5:58

GoogleCodeExporter commented 8 years ago
stupid me, the error was no real error. 
Explanation for those with the same situatioN: As far as I know, everything is 
compiled properly. The system wanted to delete these 3 folders after "make 
install" but didn't succeed. Thus gave out an error message.

Thanks

Original comment by mkelle...@gmail.com on 27 Sep 2014 at 6:16

GoogleCodeExporter commented 8 years ago
Hi, 

I started by clicking on " Config" in reaver-wps
Tried to do it for first time and start getting this error. 

"checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/bbd/reaver-wps/src':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details"

am i doing something wrong ? 

Thank you

Original comment by nadia.dz...@gmail.com on 11 Oct 2014 at 5:10

GoogleCodeExporter commented 8 years ago
Hello , I have the same problem when i want to compile the ./configure file 
give error
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/bbd/reaver-wps/src':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details"

Original comment by tawakoli...@gmail.com on 29 Oct 2014 at 10:14

GoogleCodeExporter commented 8 years ago
It says you don't have the C Compiler installed, so install it. The easiest way 
is to just i stall Xcode from the appstore

Original comment by mkelle...@gmail.com on 29 Oct 2014 at 11:10

GoogleCodeExporter commented 8 years ago
HELP !
The same issue than #28. What should I do? I'm a novice. 

When "make install" :

rm -f /usr/local/bin/reaver /usr/local/bin/wash /usr/local/bin/walsh
if [ ! -d /usr/local/etc/reaver ]; then mkdir -p /usr/local/etc/reaver; fi
if [ ! -e /usr/local/etc/reaver/reaver.db ]; then cp reaver.db 
/usr/local/etc/reaver/reaver.db && chmod -R a+rw /usr/local/etc/reaver; fi
if [ -e wash ]; then cp wash /usr/local/bin/wash; fi
if [ -e reaver ]; then cp reaver /usr/local/bin/reaver; fi

Original comment by simon.be...@gmail.com on 4 Nov 2014 at 11:38

GoogleCodeExporter commented 8 years ago
Ok, I downloaded patched version in message #7 - 
https://code.google.com/p/reaver-wps/issues/detail?id=245#c7
It compiled successfully. I tried to run it on my router to check that I 
disabled WPS successfully and it looks like I did :)

Original comment by aldek...@myevil.info on 5 Nov 2014 at 7:52

GoogleCodeExporter commented 8 years ago
@36: try using "sudo make install" instead of make install. This gives the 
termibal root access.

Original comment by mkelle...@gmail.com on 5 Nov 2014 at 8:06

GoogleCodeExporter commented 8 years ago
Thx for your advice #38.
It displays the same with "sudo make install".

I just notice a warning at the end of the command "sudo make". I don't know 
what it means :

" ...
gcc -DCONF_DIR='"/usr/local/etc/reaver"' 
-DREAVER_DATABASE='"/usr/local/etc/reaver/reaver.db"' -Wall -g -O2 -Ilibwps 
session.c -c
session.c:273:35: warning: comparison of unsigned expression < 0 is always false
      [-Wtautological-compare]
  ...if(!essid || strlen(essid) < 0)
                  ~~~~~~~~~~~~~ ^ ~
1 warning generated.
gcc -DCONF_DIR='"/usr/local/etc/reaver"' 
-DREAVER_DATABASE='"/usr/local/etc/reaver/reaver.db"' -Wall -g -O2 -Ilibwps 
cracker.c -c
gcc -DCONF_DIR='"/usr/local/etc/reaver"' 
-DREAVER_DATABASE='"/usr/local/etc/reaver/reaver.db"' -Wall -g -O2 -Ilibwps 
wpscrack.c *.o libwps/*.o wps/*.o tls/bignum.o tls/libtls.a utils/libutils.a 
crypto/libcrypto.a -ldl -lm -lpcap -lsqlite3  -o reaver"

Original comment by simon.be...@gmail.com on 9 Nov 2014 at 7:35

GoogleCodeExporter commented 8 years ago
Hello , I have the same problem when i want to compile the ./configure file 
give error
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/bbd/reaver-wps/src':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details"

so it ask me a password to,. what i must to do??

Original comment by asteroid...@gmail.com on 22 Nov 2014 at 7:19

GoogleCodeExporter commented 8 years ago
Guys, you can install it direcly from

https://www.macports.org/ports.php?by=name&substr=reaver

(Install macport and later)
$ sudo port install reaver

Original comment by kernel.n...@gmail.com on 26 Nov 2014 at 9:27