summaryrefslogtreecommitdiff
path: root/contrib/tor2dns/serve
diff options
context:
space:
mode:
authord3v11 <d3v11@d3v11.ano>2011-11-25 23:21:28 +0000
committerd3v11 <d3v11@d3v11.ano>2011-11-25 23:21:28 +0000
commitd767f074c4182059b51c48995c6e4e3902228f4d (patch)
tree85c196186b25074f215df3b8bee6c456d38f2b82 /contrib/tor2dns/serve
parent9cf9a87c268d278fa15d48be0e79fd9c63a37ea3 (diff)
downloadresdb-d767f074c4182059b51c48995c6e4e3902228f4d.tar.gz
resdb-d767f074c4182059b51c48995c6e4e3902228f4d.zip
updated my software to resdb
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()