You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			155 lines
		
	
	
		
			4.2 KiB
		
	
	
	
		
			PHP
		
	
			
		
		
	
	
			155 lines
		
	
	
		
			4.2 KiB
		
	
	
	
		
			PHP
		
	
| <?php
 | |
| 	/**
 | |
| 	 * \file
 | |
| 	 * Provide hardcoded information on Community servers and Communities.
 | |
| 	 */
 | |
| 
 | |
| 	/**
 | |
| 	 * @var $KNOWN_SERVERS
 | |
| 	 * Hardcoded Community server URLs.
 | |
| 	 */
 | |
| 	$KNOWN_SERVERS = array(
 | |
| 		// Official server
 | |
| 
 | |
| 		"https://open.getsession.org",
 | |
| 
 | |
| 		// Found with shodan.io:
 | |
| 
 | |
| 		"http://164.92.176.135",
 | |
| 		"http://176.119.147.102",
 | |
| 		"http://60a9fc9.online-server.cloud",
 | |
| 		"http://93.95.230.10",
 | |
| 		"http://94.176.239.60",
 | |
| 		"http://captain.geekgalaxy.com",
 | |
| 		"http://session.hwreload.it",
 | |
| 		"http://sogs.k9net.org",
 | |
| 		"https://gaohuangse.work",
 | |
| 
 | |
| 		// Found via Reddit:
 | |
| 
 | |
| 		"http://5.39.117.98",
 | |
| 
 | |
| 		// Found on Session:
 | |
| 		// "http://88.212.53.198:4080",
 | |
| 
 | |
| 		// legacy
 | |
| 		// "http://3.69.29.128", // former https://reccacon.com
 | |
| 
 | |
| 		// Offline:
 | |
| 		// "http://13.233.251.36:8081",
 | |
| 
 | |
| 		// Removed by request:
 | |
| 		// "http://116.203.51.179",
 | |
| 		// "http://bitcoincash.tokyo/",
 | |
| 
 | |
| 		// Removed out of decency:
 | |
| 		// [redacted]
 | |
| 	);
 | |
| 
 | |
| 	/**
 | |
| 	 * @var $KNOWN_PUBKEYS
 | |
| 	 * Associative array of SOGS public keys by server hostname.
 | |
| 	 * Keys are sorted alphabetically.
 | |
| 	 */
 | |
| 	$KNOWN_PUBKEYS = array(
 | |
| 		"116.203.51.179"              => "39016f991400c35a46e11e06cb2a64d6d8ab6652e484a556b14f7cf57ed7e73a",
 | |
| 		"13.233.251.36:8081"          => "efcaecf00aebf5b75e62cf1fd550c6052842e1415a9339406e256c8b27cd2039",
 | |
| 		"164.92.176.135"              => "e529311ec8fb6fdb950aaa4fb71fc4da3ea59c6c9ba2886708b9538eea6aa213",
 | |
| 		"176.119.147.102"             => "e093994156ec92e4c13d0387208bfa48ae56dd88b8f60a03980d9ef048af1e3f",
 | |
| 		"3.69.29.128"                 => "02bdb3f74b59355724b1a59676127729602b5e34261efb965a94ccac94cd6a62",
 | |
| 		"5.39.117.98"                 => "4bec6d6c7b502a819b47b3af75272c0774ab1214fba33fb5ec29949f864eb028",
 | |
| 		"60a9fc9.online-server.cloud" => "7908bcd748313355f99e62f9c1f11c395d04019410edb7ee1618dbe26a423c4f",
 | |
| 		"88.212.53.198:4080"          => "7c5908efd053e7d4634f606328d0a3e50b86e4bef5f76ab84658435321110600",
 | |
| 		"93.95.230.10"                => "b501f2dc7dc912aa0981b0ba10f2ba739d2f729a7d9b37022aee505aaf72807c",
 | |
| 		"94.176.239.60"               => "2cbde327e9da216af9a69876bc57e16cc0c540b0aa2dfecdd1c115e67993b040",
 | |
| 		"captain.geekgalaxy.com"      => "7242ad657dc2dd20e902a6fa82c34465907b67e80daf50173f38d5745abbaa24",
 | |
| 		"gaohuangse.work"             => "2cd535b2e6a1fb40d1166910561d85a027782b1d751118897eca6056f4738a10",
 | |
| 		"open.getsession.org"         => "a03c383cf63c3c4efe67acc52112a6dd734b3a946b9545f488aaa93da7991238",
 | |
| 		"session.hwreload.it"         => "4b3e75eedd2116b4dab0bcb6443b0e9fbfce7bcf1d35970bdad8a57a0113fb20",
 | |
| 		"sogs.k9net.org"              => "fdcb047eb78520e925fda512a45ae74c6e2de9e0df206b3c0471bf1509919559",
 | |
| 	);
 | |
| 
 | |
| 	/**
 | |
| 	 * @var string[] $ICON_ALLOWLIST
 | |
| 	 * Hostnames considered to have safe room icons.
 | |
| 	 */
 | |
| 	$ICON_ALLOWLIST = [
 | |
| 		"open.getsession.org",
 | |
| 		"sog.caliban.org",
 | |
| 		"sog.zcyph.cc"
 | |
| 	];
 | |
| 
 | |
| 	/**
 | |
| 	 * @var string[] $ICON_BLOCKLIST
 | |
| 	 * Hostnames or rooms considered to have unsafe room icons.
 | |
| 	 */
 | |
| 	$ICON_BLOCKLIST = [
 | |
| 
 | |
| 	];
 | |
| 
 | |
| 	/**
 | |
| 	 * @var string[] $NSFW_INCLUDE
 | |
| 	 * Hostnames or rooms considered to host adult content.
 | |
| 	 */
 | |
| 	$NSFW_INCLUDE = [
 | |
| 		"gaohuangse.work",
 | |
| 		"46.101.253.18",
 | |
| 		"womanbodybeauty+13f6",
 | |
| 		"88.212.53.198:4080",
 | |
| 		"aiunlimited+fc30",
 | |
| 		"AlexMed+e093",
 | |
| 		"gore+e5e0",
 | |
| 		"internet+70d0",
 | |
| 		"k9training+fdcb",
 | |
| 		"dogmen+fdcb",
 | |
| 		"RU-STEROID+e093",
 | |
| 		"thestart+e4b1",
 | |
| 		"deutschclub+e4b1",
 | |
| 		"cocaine+e4b1",
 | |
| 		"chigua+4567",
 | |
| 		"A4hanguo+4567",
 | |
| 		"adult.oddch.at",
 | |
| 		"55e43f8010a820cf3a4ed50bff1916bd5f166148f2c8b4a9feb1088bc86729",
 | |
| 	];
 | |
| 
 | |
| 	/**
 | |
| 	 * @var string[] $NSFW_EXCLUDE
 | |
| 	 * Hostnames or rooms considered not to host adult content.
 | |
| 	 */
 | |
| 	$NSFW_EXCLUDE = [
 | |
| 		"AISFW+fc30",
 | |
| 	];
 | |
| 
 | |
| 	/**
 | |
| 	 * @var string[] $TESTING_INCLUDE
 | |
| 	 * Rooms intended for testing and not for a general userbase.
 | |
| 	 */
 | |
| 	$TESTING_INCLUDE = [
 | |
| 		"fishing+8e2e",
 | |
| 		"test+118d",
 | |
| 		"test+13f6",
 | |
| 		"test+fe93",
 | |
| 		"xyz+7908",
 | |
| 		"testingroom+22fd",
 | |
| 		"TOKEN_fortest1+4567",
 | |
| 	];
 | |
| 
 | |
| 	/**
 | |
| 	 * @var array<string,string> $SERVER_ICON_MAPPING
 | |
| 	 * Associative array specifies which room token provides a server-wide icon.
 | |
| 	 */
 | |
| 	$SERVER_ICON_MAPPING = [
 | |
| 		"open.getsession.org" => "session",
 | |
| 		"sog.caliban.org" => "privacy",
 | |
| 		"session.xanthus.uk" => "midnight-madness",
 | |
| 	];
 | |
| 
 | |
| 	/**
 | |
| 	 * @var string[] $ROOMS_USED_BY_PROJECT
 | |
| 	 * Community rooms encouraged for use in discussing https://sessioncommmunities.online/.
 | |
| 	 */
 | |
| 	$ROOMS_USED_BY_PROJECT = [
 | |
| 		"webdev+118d"
 | |
| 	];
 | |
| ?>
 |