Giter VIP home page Giter VIP logo

qw's Introduction

qw

quick wireless - bash script to quickly switch wireless modes

With qw you can setup a preconfigured access point and connect clients to it with a single command. In addition the script can be used to sniff in monitor mode, deauth clients from a network and capture the handshake all with only a single and short command for each action.

Furthermore the script can be used to connect to any open or wpa protected network, change and reset the mac address, sniff with airodump-ng and to kill/stop processes which might interfere.

Installation

The following tools are needed

  • hostapd
  • dnsmasq
  • wpa_supplicant
  • aircrack-ng
  • macchanger

I recommend putting the qw file into the PATH

Howto

To setup an access point with the parameters configured inside the qw script just run

qw a

on all the clients run

qw c

to connect to the access point and to request an IP address via dhcp.

The content of the default config files for hostapd and wpa_supplicant are included in the script for portablity reasons. To customize the settings just edit the lines in the script. Be sure to change the wpa passphrase.

If you want to record a wpa handshake start sniffing in monitor mode using airodump-ng and pass the outfile in the channel parameter. Afterwards run the deauth attack against the access point.

qw s -c 2 -w outfile
qw d <bssid>

To kill every process which might interfere and put the interface down run

qm k

Warning: this stops/kills the following processes without prompting: NetworkManager, dhclient, wpa_supplicant, dnsmasq and hostapd

For more information on the underlying mechanisms check out my website exitno.de for wlan via command line or for wlan attacks.

qw's People

Contributors

file-not-found avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.