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
import requests | |
import xmltodict | |
API_URL='https://xmldata.qrz.com/xml/current/' | |
USER='dc2zp' | |
PASS='<PASSWORD>' | |
AGENT='Random Py Script' | |
SESSION=' ' | |
def get_session_key(): |
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 python3 | |
''' | |
update-ddns-he.py | |
Updates dns entry on Hurricane Electric dDNS, if the current dns entry doesn't | |
equal the current ip address on https://ifconfig.co/ | |
Expects a config file named config.yaml in the same directory with the | |
following content: |
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
### Keybase proof | |
I hereby claim: | |
* I am daccle on github. | |
* I am danielclerc (https://keybase.io/danielclerc) on keybase. | |
* I have a public key ASC8km306b3peECnah0d0TLgstw1WtahqAyWLOc8SQhG-Qo | |
To claim this, I am signing this object: |