Skip to content

Instantly share code, notes, and snippets.

@Sturtuk
Last active August 2, 2019 10:28
Show Gist options
  • Save Sturtuk/ce0cd13b9b9416faebedf20c6ed672d1 to your computer and use it in GitHub Desktop.
Save Sturtuk/ce0cd13b9b9416faebedf20c6ed672d1 to your computer and use it in GitHub Desktop.
statamic cms - License crack
##statamic license vulnerability
statamic license checking not having strong security, follow the below code changed get the free license forever
'''
class Outpost
Line number: 241 method
private function performRequest()
$response = $client->request('POST', self::ENDPOINT, ['json' => $this->getPayload(), 'timeout' => 5]);
// $response = json_decode($response->getBody()->getContents(), true);
$response = [
'latest_version' => '2.11.13',
'update_available' => false,
'update_count' => 0,
'license_key' => 'Wow this is mine',
'license_valid' => true,
'addons' => [],
'public_domain' => true,
'domain' => 'thisblog.com',
'correct_domain' => true,
];
'''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment