I hereby claim:
- I am kfoxton on github.
- I am foxton (https://keybase.io/foxton) on keybase.
- I have a public key ASDqB8XFohdf7pwaXw_Z_z6mO7mqJ121Qx-1UmOfSVfg4Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
import xmltodict | |
from socket import inet_ntoa | |
from struct import pack | |
import sys | |
import urllib | |
def calcDottedNetmask(mask): | |
bits = 0xffffffff ^ (1 << 32 - mask) - 1 |
#!/usr/bin/env bash | |
if [ "$#" -eq 0 ]; | |
then | |
echo "pass host to scan" | |
exit 1 | |
fi | |
server=$1 | |
mxserver=`dig mx $server +short 2>/dev/null | tail -1 | cut -d ' ' -f2` |