diff options
-rwxr-xr-x | cgi/weabot.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cgi/weabot.py b/cgi/weabot.py index c91570c..3c5d0f5 100755 --- a/cgi/weabot.py +++ b/cgi/weabot.py @@ -30,7 +30,6 @@ _DEBUG = False # Set to True to save performance data to weabot.txt _LOG = False - class weabot(object): def __init__(self, environ, start_response): global _DEBUG @@ -720,7 +719,8 @@ class weabot(object): # hash if board["slip"] in ['1', '3']: if hide_end: - slips.append('-'.join(('****', '****'))) + slips.append( + '-'.join((getMD5(ip + post["name"])[:4], '****'))) elif addressIsTor(ip): slips.append( '-'.join(('****', getMD5(self.environ["HTTP_USER_AGENT"])[:4]))) |