Wednesday, December 23, 2009

configure: error: cannot check setpgrp when cross compiling

DOH!!!! ... Cross-Compiling always always sucks because you almost never know the exact flags you need. Sure you have some idea, but there tends to always be that one little thing that trips you up. Sadly sometimes the only way to bypass it is to modify the source.... NOT THIS TIME! lol

I found this nifty little command buried under about 5 google pages :p

ac_cv_func_setpgrp_void=yes

And yes one of my new years resolutions is to start posting more!

Thursday, December 3, 2009

Metasploit and Wifi - Lorcon Driver

Metasploit doesn't come pre-configured so that your wifi card will automatically work. I made the mistake earlier in thinking that it did .. foolish of me i know. Guess im paying for all those years with windows. Anyways here are the steps you need to get it up and running.

cd /tmp
svn co https://802.11ninja.net/svn/lorcon/trunk/ lorcon
"press p here"

cd lorcon
./configure
make
make install
cd ..
rm -rf lorcon

cd /pentest/exploits/framework3/external/ruby-lorcon2
ruby extconf.rb
make
make install

cp /usr/local/lib/liborcon2-2.0.0.so /usr/lib/

The last command had me a little stumped because ruby-lorcon was working fine, but by checking the paths i was able to figure it out rather quickly.