Advertisement
Guest User

Untitled

a guest
Apr 19th, 2011
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.37 KB | None | 0 0
  1. <?php
  2.  
  3. if ( !isset( $_GET['pid'] ) )
  4. {
  5.     die('Invalid request.');
  6. }
  7.  
  8. if ( isset( $_GET['data'] ) )
  9. {
  10.     $result = "\x01\x00";
  11.     die( $result.sha1("HZEdGCzcGGLvguqUEKQN".base64_url_encode($result)."HZEdGCzcGGLvguqUEKQN") );
  12. }
  13.  
  14. $result = md5( uniqid() );
  15. die( $result );
  16.  
  17. function base64_url_encode($input) {
  18.     return strtr(base64_encode($input), '+/', '-_');
  19. }
  20. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement