Admin, just ban VPNs from uploading files.
Create a new table called blocked_ranges in your tinyboard database.
Create this Python script file to do that (with the correct DB login credentials).
I usually like to put scripts in /opt directory, e.g /opt/tinyboard.
I prefer tab indentation instead of space indentation but you disabled [code] tags so whatever.
create_blocked_ranges_table.pyimport mysql.connector
from mysql.connector import errorcode
# Login credentials
config = {
'user': 'INSERT_USERNAME',
Post too long. Click here to view the full text.