Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

executable file 21 lines (17 sloc) 0.419 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#!/bin/bash

if [ $# -lt 3 ] ; then
echo "$0 file ssid password [-n] [-p printer] [service [service ...]]"
    exit 1
fi

for i in FILE SSID PASSWORD ; do
declare $i=$1
    shift
done

tshark \
    -r "$FILE" \
    -R "http.host and http.cookie" \
    -T fields -e http.host -e http.cookie \
    -o wlan.enable_decryption:TRUE \
    -o "wlan.wep_key1:wpa-pwd:$PASSWORD:$SSID" \
    | \
    ./biscuit parse "$@"
Something went wrong with that request. Please try again.