Mercurial > hg > anonet-resdb
view contrib/tor2dns/serve @ 896:80b445c8c88a draft
windows sucks.
author | Nick <nick@somerandomnick.ano> |
---|---|
date | Fri, 20 Jan 2012 03:12:42 +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()