The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
All binary can be downloaded http://pan.baidu.com/s/1hqH2Pko
| VERSION | PLATFORM | OFFSET | ORIGINAL | CRACKED |
|---|---|---|---|---|
| 3083 | Linux x64 | 0xcbe3 | 85 | 39 |
| 3083 | Linux x86 | 0xc6f2 | 85 | 39 |
| 3083 | Win x64 | 0xe21b3 | 85 | 3B |
| 3083 | Win x86 | 0x9eb1a | 1a | 2a |
| 3083 | OSX | 0x69cf | 85 | 39 |
| --------- | ----------- | --------- | ---------- | --------- |
| <?php | |
| // API access key from Google API's Console | |
| define( 'API_ACCESS_KEY', 'YOUR-API-ACCESS-KEY-GOES-HERE' ); | |
| $registrationIds = array( $_GET['id'] ); | |
| // prep the bundle | |
| $msg = array |
| <?php | |
| class SecureSessionHandler extends SessionHandler { | |
| protected $key, $name, $cookie; | |
| public function __construct($key, $name = 'MY_SESSION', $cookie = []) | |
| { | |
| $this->key = $key; | |
| $this->name = $name; |
| <?php | |
| // https://glynrob.com/php/hashing-and-public-key-encryption/ | |
| $md5 = md5($password.$salt); | |
| echo "MD5 = $md5 <br>"; | |
| $sha1 = sha1($password.$salt); | |
| echo "SHA1 = $sha1 <br>"; | |
| $sha512 = hash('sha512', $password.$salt); |
| <?php | |
| // https://glynrob.com/php/hashing-and-public-key-encryption/ | |
| function public_encrypt($plaintext){ | |
| $fp=fopen("./mykey.pub","r"); | |
| $pub_key=fread($fp,8192); | |
| fclose($fp); | |
| openssl_get_publickey($pub_key); | |
| openssl_public_encrypt($plaintext,$crypttext, $pub_key ); | |
| return(base64_encode($crypttext)); |
| # Why rewrite URLs? Read this: http://en.wikipedia.org/wiki/Rewrite_engine | |
| # Apache (.htaccess or httpd.conf) | |
| # Make sure AllowOverride is on for the directory, or put the rewrite rules in httpd.conf | |
| # http://httpd.apache.org/docs/2.0/mod/core.html#allowoverride | |
| RewriteEngine On | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteRule . /index.php [L] | |
| # Nginx (nginx.conf) |
| var fs = require('fs'); | |
| var csv = require('csv'); | |
| var _ = require('lodash'); | |
| var dir = './projection-coefficients/'; | |
| var out = 'coeff.json'; | |
| var obj = {}; | |
| function done() { | |
| var o = fs.createWriteStream(out, {encoding: 'utf8'}); |
| setInterval(function(){[].forEach.call($$('*'),function(a){a.style.outline='2px solid #'+(~~(Math.random()*(1<<24))).toString(16)})},100) |