diff --git a/README b/README index f1ce9a4..43de289 100644 --- a/README +++ b/README @@ -1,5 +1,6 @@ +!!! Don't use this, it's bad and doesn't implement gopher protocol correctly !!! It serves gopher, duh. Modify lines 37 and 38 to configure. Will automatically attempt to execute anything with execute bit (except directories). -Requires Python 2, as Python 3's string handling it just weird. +Requires Python 2, as the code is bad. Also responds to HTTP queries. diff --git a/gophersrv.py b/gophersrv.py index 303c9cd..c4df952 100644 --- a/gophersrv.py +++ b/gophersrv.py @@ -35,9 +35,9 @@ import threading import time # Config -port = 7070 +port = 7777 gopherroot = os.environ['HOME']+'/gopher' -blacklistfile = os.environ['HOME']+'/gopher_blacklist' +blacklistfile = os.environ['HOME']+'/gopher_blacklist_1' # Set up socket sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)