Remote Exploit Forums

Go Back   Remote Exploit Forums > Archives > BackTrack v2.0 Final


BackTrack v2.0 Final Released 6th of March 2007 Please do not make posts related to BackTrack 2 Beta here!

   

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-05-2007, 03:08 AM
Just burned his ISO
 
Join Date: Mar 2007
Posts: 3
Default Aircrack-ptw support

Aircrack-ptw has been released and I attempted to download and compile but ran in to some problems. Any ideas?

Reference: htt p: / / ww w.cdc.informatik.tu-darmstadt.de/aircrack-ptw/


bt aircrack-ptw-1.0.0 # make
gcc -o aircrack-ptw -Wall -fomit-frame-pointer -O3 -lpcap aircrack-ptw.c aircrack-ptw-lib.c
/tmp/ccs3gLp1.o(.text+0xaf): In function `main':
: undefined reference to `pcap_open_offline'
/tmp/ccs3gLp1.o(.text+0xcf): In function `main':
: undefined reference to `pcap_datalink'
/tmp/ccs3gLp1.o(.text+0x107): In function `main':
: undefined reference to `pcap_next_ex'
/tmp/ccs3gLp1.o(.text+0x2f0): In function `main':
: undefined reference to `pcap_next_ex'
collect2: ld returned 1 exit status
make: *** [aircrack-ptw] Error 1
bt aircrack-ptw-1.0.0 #
Reply With Quote
  #2 (permalink)  
Old 04-05-2007, 06:40 AM
Junior Member
 
Join Date: Jun 2006
Posts: 22
Default

yes, I figured out the problem. Open the Makefile, and move the -lpcap to the end of the gcc line. I love this program!!!!
Reply With Quote
  #3 (permalink)  
Old 04-05-2007, 04:57 PM
Just burned his ISO
 
Join Date: Mar 2007
Posts: 3
Default

Quote:
Originally Posted by zambuka42 View Post
yes, I figured out the problem. Open the Makefile, and move the -lpcap to the end of the gcc line. I love this program!!!!
To be clear, this is what the modified Makefile should look like:

Code:
aircrack-ptw: aircrack-ptw.c aircrack-ptw-lib.c aircrack-ptw-lib.h
	gcc -o aircrack-ptw -Wall -fomit-frame-pointer -O3 aircrack-ptw.c aircrack-ptw-lib.c -lpcap 

attacksim: attacksim.c aircrack-ptw-lib.c aircrack-ptw-lib.h
	gcc -o attacksim -Wall -fomit-frame-pointer -O3 attacksim.c aircrack-ptw-lib.c -lpcap 

clean:
	rm -f aircrack-ptw attacksim
Reply With Quote
  #4 (permalink)  
Old 04-05-2007, 06:36 PM
Junior Member
 
Join Date: Feb 2007
Posts: 16
Default

thx elliot
Reply With Quote
  #5 (permalink)  
Old 04-06-2007, 12:07 AM
cybrsnpr's Avatar
Senior Member
 
Join Date: Feb 2006
Location: Secret Undisclosed Tiki Bar
Posts: 619
Default

Zambuka42... thanks loads...been fooling around with this for 2 hours...compiles fine now...
cheers...
Reply With Quote
  #6 (permalink)  
Old 04-06-2007, 12:09 AM
Junior Member
 
Join Date: Jun 2006
Posts: 22
Default

no problem
Reply With Quote
  #7 (permalink)  
Old 04-08-2007, 10:22 PM
maxweb's Avatar
Member
 
Join Date: Jun 2006
Location: UK
Posts: 42
Send a message via MSN to maxweb
Default

Very helpful ... spent a few hours myself until i read this !


Thanks
Reply With Quote
  #8 (permalink)  
Old 11-22-2007, 09:51 PM
New Member
 
Join Date: Nov 2007
Posts: 1
Default

Thanks a lot, this works.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:23 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2