This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# see http://www4.informatik.uni-erlangen.de/~jnweiger/screen-faq.html | |
# support color X terminals | |
termcap xterm 'XT:AF=\E[3%dm:AB=\E[4%dm:AX' | |
terminfo xterm 'XT:AF=\E[3%p1%dm:AB=\E[4%p1%dm:AX' | |
termcapinfo xterm 'XT:AF=\E[3%p1%dm:AB=\E[4%p1%dm:AX:hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007' | |
termcap xtermc 'XT:AF=\E[3%dm:AB=\E[4%dm:AX' | |
terminfo xtermc 'XT:AF=\E[3%p1%dm:AB=\E[4%p1%dm:AX' | |
termcapinfo xtermc 'XT:AF=\E[3%p1%dm:AB=\E[4%p1%dm:AX:hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007' | |
# auto-screen support; see http://taint.org/wk/RemoteLoginAutoScreen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import argparse | |
import os | |
import xml.etree.ElementTree as et | |
#set up arguments | |
parser = argparse.ArgumentParser() | |
parser.add_argument('-r', '--read', metavar='read', help='The packet dump to read', required=True) | |
parser.add_argument('-w', '--write', metavar='write', help='The packet dump to read', required=True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import xml.etree.ElementTree as et | |
import argparse | |
#set up arguments | |
parser = argparse.ArgumentParser() | |
parser.add_argument('-s', '--ssid', action='append', default=[], | |
metavar='ssid', help='An SSID to look for, can be used more than once') | |
parser.add_argument('-S', '--ssid-file', dest='ssid_file', metavar='ssid-file', help='A file with SSIDs to look for') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# largely an alpha tool in need of development | |
import pexpect | |
import argparse | |
import random | |
import subprocess | |
# set up arguments |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from ssl import get_server_certificate | |
from OpenSSL import crypto | |
from os.path import exists | |
from os import remove | |
from sys import argv | |
from random import randint | |
try: |