summaryrefslogtreecommitdiff
path: root/contrib/tor2dns/serve
diff options
context:
space:
mode:
authorObee <obee@anomail.ano>2011-12-01 04:30:50 +0000
committerObee <obee@anomail.ano>2011-12-01 04:30:50 +0000
commit9225c2b010f5d7b84e63a772a9679ab8b1a2f3b9 (patch)
tree2e0889510daedb2fd2640adbd8339be4126453cb /contrib/tor2dns/serve
parentcce40b6ef5b27a573147a98d728b8bbd502754c4 (diff)
parent84c8ec4218fbf18341cca859ca1c1efe32ec7472 (diff)
downloadresdb-9225c2b010f5d7b84e63a772a9679ab8b1a2f3b9.tar.gz
resdb-9225c2b010f5d7b84e63a772a9679ab8b1a2f3b9.zip
Merge branch 'master' of git://1.0.27.102
Diffstat (limited to 'contrib/tor2dns/serve')
-rwxr-xr-xcontrib/tor2dns/serve9
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/tor2dns/serve b/contrib/tor2dns/serve
new file mode 100755
index 0000000..0274b74
--- /dev/null
+++ b/contrib/tor2dns/serve
@@ -0,0 +1,9 @@
+#!/usr/bin/python
+import SimpleHTTPServer
+import SocketServer
+
+PORT = 8053
+
+Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
+httpd = SocketServer.TCPServer(("", PORT), Handler)
+httpd.serve_forever()