Created
September 21, 2020 13:57
-
-
Save ctrlcctrlv/ac25fc34021acc8b4f52e6b3d3ce923f to your computer and use it in GitHub Desktop.
Post as Q on any vichan/OpenIB/infinity/Tinyboard-based imageboard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Post as Q in vichan/OpenIB. As r00t, put this in inc/instance-config.php. | |
* Works on any imageboard based on 8chan's software. lol */ | |
event_handler("post", function($post) { | |
global $mod; | |
// Q's actual tripcode, per QANON.PUB | |
@define("Q_TRIPCODE", "!!Hs1Jq13jV6"); | |
// ...Or whatever condition you want. | |
if $mod["id"] == 1 /* admin */ && $post["tripcode"] == "#postAsQ" { | |
$post["tripcode"] = Q_TRIPCODE; | |
// Uh-oh...someone who's not on admin account is somehow posting as Q... | |
} else if $post["tripcode"] == Q_TRIPCODE { | |
return false; // Drop their post. Actually, we could put it in a "queue" and | |
// decide whether or not to post it at our leisure. Doing so is | |
// an exercise left to the grifter. | |
} | |
}); | |
// QAnon really believes my shitty software is more secure than GnuPG or Bitcoin. | |
// Give me a fucking break, I suck at web development, that's why I make fonts/font | |
// editors now, nerds. 凸(¬‿¬) 凸 | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment