Mercurial > hg > anonet-resdb
view contrib/tor2dns/serve @ 867:ae4152c9c8b1 draft
hohum
author | madhat <madhat@madnet.ano> |
---|---|
date | Thu, 12 Jan 2012 05:25:35 +0000 |
parents | 5c86c4e82b4c |
children |
line wrap: on
line source
#!/usr/bin/python import SimpleHTTPServer import SocketServer PORT = 8053 Handler = SimpleHTTPServer.SimpleHTTPRequestHandler httpd = SocketServer.TCPServer(("", PORT), Handler) httpd.serve_forever()