diff contrib/tor2dns/serve @ 775:5c86c4e82b4c draft

updated my software to resdb
author d3v11 <d3v11@d3v11.ano>
date Fri, 25 Nov 2011 23:21:28 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contrib/tor2dns/serve	Fri Nov 25 23:21:28 2011 +0000
@@ -0,0 +1,9 @@
+#!/usr/bin/python
+import SimpleHTTPServer
+import SocketServer
+
+PORT = 8053
+
+Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
+httpd = SocketServer.TCPServer(("", PORT), Handler)
+httpd.serve_forever()