summaryrefslogtreecommitdiff
path: root/contrib/tor2dns/serve
blob: 0274b74a423cd4e01a6a4cad0c596e4ef4c98ea2 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/usr/bin/python
import SimpleHTTPServer
import SocketServer

PORT = 8053

Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
httpd = SocketServer.TCPServer(("", PORT), Handler)
httpd.serve_forever()