Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if ( !isset( $_GET['pid'] ) )
- {
- die('Invalid request.');
- }
- if ( isset( $_GET['data'] ) )
- {
- $result = "\x01\x00";
- die( $result.sha1("HZEdGCzcGGLvguqUEKQN".base64_url_encode($result)."HZEdGCzcGGLvguqUEKQN") );
- }
- $result = md5( uniqid() );
- die( $result );
- function base64_url_encode($input) {
- return strtr(base64_encode($input), '+/', '-_');
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement