summaryrefslogtreecommitdiff
path: root/contrib/tor2dns/serve
diff options
context:
space:
mode:
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()