Plagued Soyjak.Party / The Sharty - The altchan born from the ashes of /qa/; also a containment thread

  • 🐕 I am attempting to get the site runnning as fast as possible. If you are experiencing slow page load times, please report it.
undoubtedly the browser_id is some sort of hash involving font checks and other shit.
They'd have to be smart to do that, It's just a hash of the user agent
// User Agent ID
$browser_id = spam_filter_get_browser_id();
/**
* Generates the ID of the device from browser's user agent
*/
function spam_filter_get_browser_id() {
static $cache = null;

if ($cache !== null) {
return $cache;
}

$ua = $_SERVER['HTTP_USER_AGENT'];

if (!$ua) {
return '0deadbeef';
}

if (preg_match('/Android|iPhone|iPad|Dalvik|Clover|Kuroba|ChanOS/', $ua)) {
$is_mobile = 1;
}
else if (isset($_SERVER['HTTP_SEC_CH_UA_MOBILE']) && $_SERVER['HTTP_SEC_CH_UA_MOBILE'] === '?1') {
$is_mobile = 1;
}
else {
$is_mobile = 0;
}

$clean_ua = preg_replace('/(\/|:)[.0-9]+/', '', $ua);

if (isset($_SERVER['HTTP_SEC_CH_UA_MODEL']) && $_SERVER['HTTP_SEC_CH_UA_MODEL'] && $_SERVER['HTTP_SEC_CH_UA_MODEL'] != '""') {
$fmn = isset($_SERVER['HTTP_SEC_FETCH_MODE']) && $_SERVER['HTTP_SEC_FETCH_MODE'] === 'navigate';

if (strpos($ua, '(Linux; Android 10; K)') !== false && !$fmn) {
$clean_ua .= $_SERVER['HTTP_SEC_CH_UA_MODEL'];
}
}

$hmac_secret = 'd8d9616bce7b0a8fc83b422a7001b0492e17b4c16debeb43b77cf0060d9bdae3';

$sig = hash_hmac('sha1', $clean_ua, $hmac_secret, true);

if (!$sig) {
return '';
}

$cache = $is_mobile . bin2hex(substr($sig, 0, 4));

return $cache;
}
 
  • Informative
Reactions: Scuttlefuck
>No ABIB phonebook
>No result from the email lookup

*sigh*
geg1.webp
geg2.webp
>Leesburg
>Lee
lee.webp
 
I honestly can't believe the site runs on such a pile of shit code. I suppose it hasn't changed since moot wrote it ages ago when he was still learning to code. Gookmoot bought it was like 'meh, if it works it works...'

Also lol @ the filters in /v/. Absolute reddit
1744705641341.webp
 
I honestly can't believe the site runs on such a pile of shit code. I suppose it hasn't changed since moot wrote it ages ago when he was still learning to code. Gookmoot bought it was like 'meh, if it works it works...'

Also lol @ the filters in /v/. Absolute reddit
View attachment 7221784
Do we have the filters for all of the boards? It'd be funny to see what'd be filtered on /pol/ or /b/
 
Back