diff options
author | Terry | 2019-03-29 00:25:31 -0300 |
---|---|---|
committer | Terry | 2019-03-29 00:25:31 -0300 |
commit | b1222f06fab180e9c124a9f2d07921348ec84f67 (patch) | |
tree | 264b9563674ba2c8519b31259e2cfffdbdcd673b /cgi | |
parent | ed43a43c946003dbdf4c5eb10bf07a2ad76dccd1 (diff) | |
parent | 96567cf88befcd90a82c5cf5ed536c25ed5cddb9 (diff) | |
download | weabot-b1222f06fab180e9c124a9f2d07921348ec84f67.tar.gz weabot-b1222f06fab180e9c124a9f2d07921348ec84f67.tar.xz weabot-b1222f06fab180e9c124a9f2d07921348ec84f67.zip |
Merge branch 'master' of https://git.bienvenidoainternet.org/priv/www
Diffstat (limited to 'cgi')
-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 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': |