- msfwifi_dir="/opt/metasploit/msf3/modules/auxiliary/dos/wifi/"
- rubylorcon_dir="/opt/metasploit/msf3/external/ruby-lorcon2"
- msfuzz_dir="/opt/metasploit/msf3/modules/auxiliary/fuzzers/wifi"
- apt-get install libnl-dev
- clear
- svn co http://802.11ninja.net/svn/lorcon/trunk lorcon2
- cp -r ./lorcon2/ $rubylorcon_dir
- sed -i 's/+ channel.chr/+ datastore['\''CHANNEL'\''].to_i.chr/g' $msfwifi_dir /ssidlist_beacon.rb
- sed -i 's/+ channel.chr/+ datastore['\''CHANNEL'\''].to_i.chr/g' $msfwifi_dir/netgear_*
- sed -i 's/+ channel.chr/+ datastore['\''CHANNEL'\''].to_i.chr/g' $msfuzz_dir/*.rb
- sed -i 's/Lorcon/Lorcon2/g' $msfwifi_dir/ssidlist_beacon.rb
- sed -i 's/STR2CSTR/StringValuePtr/g' $rubylorcon_dir/Lorcon2.c
- cd $rubylorcon_dir/lorcon2
- ./configure --prefix=/usr/
- make
- make install
- cd ..
- ruby ./extconf.rb
- make
- make install
- clear
- cp $rubylorcon_dir/Lorcon2.so /opt/metasploit/ruby/lib/ruby/site_ruby/1.9.1/`uname -m`-linux/
- cp /usr/lib/liborcon2* /opt/metasploit/msf3/lib/
- msfconsole
Voila!! Now You can use all wifi modules available in metasploit framework.
I recently started working on widows 10 Apps( Apps not Applications) security. Before diving deep in hacking terms lets try to understand what's new in Windows 10 UWP( Universal Platform) as compared to old Apps. Lets begin with how apps actually work on windows 10(desktop/tablet). Now windows 10 comes with a container only for running apps inside the isolated environment. By default, /APPCONTAINER(Linker Flag) is off. This option modifies an executable to indicate whether the app must be run in the appcontainer process-isolation environment. Specify /APPCONTAINER for an app that must run in the appcontainer environment—for example, a Windows Store app. (The option is set automatically in Visual Studio when you create a Windows Store app from a template.) For a desktop app, specify /APPCONTAINER:NO or just omit the option. The /APPCONTAINER option was introduced in Windows 8. Now there is no registry entry concept for these app in the System HIVE rather they install they own hiv
Comments
Post a Comment