This file contains hidden or 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
license: mit |
This file contains hidden or 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
license: mit | |
border: yes | |
scrolling: yes |
This file contains hidden or 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/python | |
# | |
# read /var/run/hostapd for interfaces to poll | |
# read process list to find list of running hostapds (or get from hostapd_cli) | |
# get mac address, connected time, transmitted packets | |
# read arp table | |
# match arp address to ip address | |
# print matches | |
# rinse repeat |
This file contains hidden or 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 | |
MAX_LEN = 1514 # max size of packet to capture | |
PROMISCUOUS = 1 # promiscuous mode? | |
READ_TIMEOUT = 100 # in milliseconds | |
PCAP_FILTER = '' # empty => get everything (or we could use a BPF filter) | |
MAX_PKTS = -1 # number of packets to capture; -1 => no limit | |
import pcapy, impacket, binascii | |
import time, platform |
This file contains hidden or 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
set ts=2 | |
set sw=2 | |
set number | |
set expandtab | |
set undofile | |
set undodir=~/.vim/undodir | |
set modeline | |
syn on | |
set ai |
This file contains hidden or 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
test -d ~/.history/ || mkdir ~/.history | |
test -d ~/.vim/undodir || mkdir -p ~/.vim/undodir | |
set prompt = "%U%m%u:%B%~%b%# " | |
set rprompt = "[%j] %P" | |
set history = (10000) | |
set tt = $tty:s@pts/@@ | |
set histfile = "/root/.history/history.$tt" | |
set savehist = (10001 merge) | |
set tperiod=5 |
This file contains hidden or 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/python | |
# simple cli pos tagger for short sentences | |
# usage: pos.py some sort of sentance. | |
# or: echo some sentance | pos.py | |
# | |
# takes some time to load, but may | |
# move on to use opennlp in a server role. | |
import sys, fileinput |
NewerOlder