June 19, 2017

Let's Encrypt Cisco IOS

letsencrypt --manual --perferred-challenges dns certonly -d home-router.wjw.nz

openssl rsa -des -in /etc/letsencrypt/live/home-router.wjw.nz/privkey.pem -out /etc/letsencrypt/live/home-router.wjw.nz/privkey-enc.pem

cat /etc/letsencrypt/live/home-router.wjw.nz/privkey-enc.pem

openssl pkey -des -in /etc/letsencrypt/live/home-router.wjw.nz/privkey.pem -pubout /etc/letsencrypt/live/home-router.wjw.nz/pubkey.pem

crypto key import rsa home-router.wjw.nz.pem exportable pem encryption terminal @Password@

Paste the contents of public key pubkey.pem and type quit on a single line.
Paste the contents of the password protected private key privkey-enc.pem and type quit on a single line.
If the key is accepted, you should read


June 06, 2017

Domain Suffix Search - Cisco Option 119

import sys
hexlist = []
for domain in sys.argv[1:]:
    for part in domain.split("."):
        hexlist.append("%02x" % len(part))
        for c in part:
print "".join([(".%s" % (x) if i and not i % 2 else x) \
    for i, x in enumerate(hexlist)])

root@control:/home/billw# ./ios-search.py wjw.local wjw.nz

ip dhcp pool inside
 update dns override
 domain-name wjw.local
 option 119 hex 0377.6a77.056c.6f63.616c.0003.776a.7702.6e7a.00

June 02, 2017

FritzBox, SipGate, DTMF Tones

Edit Telephone Number
set DTMF Transmission to In-Band