From 96567cf88befcd90a82c5cf5ed536c25ed5cddb9 Mon Sep 17 00:00:00 2001 From: TOW Date: Thu, 28 Mar 2019 23:32:49 -0300 Subject: Arreglado problema con el entorno FastCGI Estoy seguro que he arreglado esta mierda como 3 veces --- cgi/weabot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cgi/weabot.py') diff --git a/cgi/weabot.py b/cgi/weabot.py index 2e11252..056a933 100755 --- a/cgi/weabot.py +++ b/cgi/weabot.py @@ -668,9 +668,9 @@ class weabot(object): if hide_end: slips.append('-'.join(('****', '****'))) elif addressIsTor(ip): - slips.append('-'.join(('****', getMD5(os.environ["HTTP_USER_AGENT"])[:4]))) + slips.append('-'.join(('****', getMD5(self.environ["HTTP_USER_AGENT"])[:4]))) else: - slips.append('-'.join((getMD5(ip)[:4], getMD5(os.environ["HTTP_USER_AGENT"])[:4]))) + slips.append('-'.join((getMD5(ip)[:4], getMD5(self.environ["HTTP_USER_AGENT"])[:4]))) # host if board["slip"] == '2': -- cgit v1.2.1-18-gbd029