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 | |
| # coding=utf-8 | |
| import argparse | |
| import datetime | |
| import sys | |
| import time | |
| import threading | |
| import traceback | |
| import socketserver |
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
| # Tutorial: http://mysshlog.co.uk/tutorials/Python-Simple-Dns-Server | |
| # Source: http://mysshlog.co.uk/download/Dns_Server_Python.py | |
| ## {{{ http://code.activestate.com/recipes/491264/ (r4) | |
| #Edited By MySSHLog.co.uk | |
| import socket | |
| import optparse | |
| import time | |
| class DNSQuery: | |
| def __init__(self, data): |