sudo add-apt-repository multiverse
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install lib32gcc1 steamcmd
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
// Set variables for our request | |
$shared_secret = "TBB5wltKarRtKn5mUVZck9RxHePNN6Jo"; | |
$params = $_GET; // Retrieve all request parameters | |
$hmac = $_GET['hmac']; // Retrieve HMAC request parameter | |
$params = array_diff_key($params, array('hmac' => '')); // Remove hmac from params | |
ksort($params); // Sort params lexographically | |
// Compute SHA256 digest | |
$computed_hmac = hash_hmac('sha256', http_build_query($params), $shared_secret); |
OlderNewer