add debug log for results and add new proxy types
This commit is contained in:
parent
c2ab57540f
commit
b4dc2c9196
|
@ -92,12 +92,13 @@ with pgconn:
|
|||
debug_log.debug(comment.text)
|
||||
already_sent = False
|
||||
for entry in results:
|
||||
debug_log.debug(results)
|
||||
if entry[4] != "inactive":
|
||||
should_remove = False
|
||||
if entry[4] == "active":
|
||||
if entry[7]:
|
||||
if entry[1] == entry[3] or entry[1] == ip:
|
||||
if entry[5] in ["http", "socks5", "socks4"]:
|
||||
if entry[5] in ["http", "socks5", "socks4", "httpsocks", "https"]:
|
||||
details = f"{entry[1]} has an open {entry[5]} proxy on port {entry[2]}, confirmed active at {entry[6]}"
|
||||
if entry[5] == "vpngate":
|
||||
details = f"{entry[1]} is running an open VPNGate proxy on port {entry[2]}, confirmed active at {entry[6]}. These are heavily abused by spammers, therefore they are blocked."
|
||||
|
|
Loading…
Reference in New Issue