Installing spoonwep2 and spoonwpa on BackTrack 4 final

First you'll need to download Spoonwep2 and Spoonwpa in the /tmp/ dir:

 

 

  1. cd /root/Desktop  
  2.  
  3. mkdir /tmp/{spoonwep2,spoonwpa}  
  4.  
  5. wget hxxp://shamanvirtuel.googlepages.com/SWPA.lzm   
  6.  
  7. wget hxxp://neovortex.kodings.googlepages.com/spoonwep2.lzm  
  8.  
  9. lzm2dir SWPA.lzm /tmp/spoonwpa  
  10.  
  11. lzm2dir spoonwep2.lzm /tmp/spoonwep2  

 

lzm2dir這個命令一般的Linux是沒有的,可以用下載windows版的,

ftp.slax.org/useful-binaries/win32/squashfs-tools/

 

  1. cp -rpv /mnt/sdc1 /spoonwpa/usr /   
  2. cp -rpv /mnt/sdc1 /spoowep2/usr /  

This will create two files so that spoonwep and spoonwpa can be able to detect the interfaces
Spoonwep 
 

  1. echo "   
  2. #!/bin/bash   
  3. chmod 777 /usr/local/bin/wifispoonfeeder/   
  4. rm /bin/sh   
  5. ln -s /bin/bash /bin/sh   
  6. spoonwep   
  7. sleep 1   
  8. while ! [ -e /usr/local/bin/wifispoonfeeder/spoonwep/tmp/wscapture-01.csv ]   
  9. do   
  10. sleep 1;   
  11. done   
  12. ln -s /usr/local/bin/wifispoonfeeder/spoonwep/tmp/wscapture-01.csv /usr/local/bin/wifispoonfeeder/spoonwep/tmp/wscapture-01.txt 2>/dev/null   
  13. rm /bin/sh   
  14. ln -s /bin/dash /bin/sh " >/usr/bin/spoonwep.sh 


Spoonwpa 
 

  1. echo "   
  2. #!/bin/bash   
  3. chmod 777 /usr/local/bin/wifispoonfeeder/   
  4. rm /bin/sh   
  5. ln -s /bin/bash /bin/sh   
  6. spoonwpa   
  7. sleep 1   
  8. while ! [ -e /usr/local/bin/wifispoonfeeder/spoonwpa/tmp/wscapture-01.csv ]   
  9. do   
  10. sleep 1;   
  11. done   
  12. ln -s /usr/local/bin/wifispoonfeeder/spoonwpa/tmp/wscapture-01.csv /usr/local/bin/wifispoonfeeder/spoonwpa/tmp/wscapture-01.txt 2>/dev/null   
  13. rm /bin/sh   
  14. ln -s /bin/dash /bin/sh " >/usr/bin/spoonwpa.sh 


Now make it executable:
 

  1. chmod 755 /usr/bin/{spoonwep.sh,spoonwpa.sh}  


You want to make sure that they appear in the BackTrack menu. So let us change the desktop file and edit the command:
 

  1. mv /usr/local/share/applications/spoonw* /usr/share/applications/  



Open up spoonwep.desktop in any text editor of your choice and change the line Exec giving: 
 

  1. [Desktop Entry]   
  2. Comment=   
  3. Exec=spoonwep.sh   
  4. GenericName=   
  5. Icon=cache   
  6. Name=SpoonWep2   
  7. Path=   
  8. StartupNotify=true   
  9. Terminal=0   
  10. TerminalOptions=   
  11. Type=Application   
  12. X-KDE-SubstituteUID=false   
  13. X-KDE-Username=   
  14. Categories=BT-Radio-Network-Analysis-80211-Cracking 


For Spoonwpa:

  1. [Desktop Entry]   
  2. Comment=   
  3. Exec=spoonwpa.sh   
  4. GenericName=   
  5. Icon=cache   
  6. Name=SpoonWpa   
  7. Path=   
  8. StartupNotify=true   
  9. Terminal=0   
  10. TerminalOptions=   
  11. Type=Application   
  12. X-KDE-SubstituteUID=false   
  13. X-KDE-Username=   
  14. Categories=BT-Radio-Network-Analysis-80211-Cracking  


Lets update our menus. From the command line type:
 

  1. update-menus 



Your Spoonwep2 and Spoonwpa is all set and ready to use.

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章