Skip to content

Instantly share code, notes, and snippets.

@CreateRemoteThread
Created July 17, 2017 13:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CreateRemoteThread/a412cd4a7fddfd34224bc516a3d5491a to your computer and use it in GitHub Desktop.
Save CreateRemoteThread/a412cd4a7fddfd34224bc516a3d5491a to your computer and use it in GitHub Desktop.
<?php
class Test{
protected $_data = array(
"jackpot" => "12345"
);
var $enter;
}
$obj = new Test;
$obj->enter = "12345";
$x = base64_encode(serialize($obj));
print $x."\n";
var_dump(unserialize(base64_decode($x)));
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment