Advertisement
Guest User

Untitled

a guest
Jun 5th, 2012
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender (PHP5 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 1.1.4.0
  8. * @ Author : DeZender
  9. * @ Release on : 30.03.2012
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. header( 'Expires: Mon, 26 Jul 1997 05:00:00 GMT' );
  15. header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
  16. header( 'Cache-Control: no-store, no-cache, must-revalidate' );
  17. header( 'Cache-Control: post-check=0, pre-check=0', false );
  18. header( 'Pragma: no-cache' );
  19. require( '../config.inc.php' );
  20. require_once( 'mysql.php' );
  21.  
  22. if (!( $dbconnect = @db_connect( $gdbhost, $gdbuname, $gdbpass ))) {
  23. exit( 'Could not connect to MySQL' );
  24. (bool)true;
  25. }
  26.  
  27.  
  28. if (!( $dd = @mysql_select_db( $gdbname ))) {
  29. exit( 'Could not select database' );
  30. (bool)true;
  31. }
  32.  
  33.  
  34. if (( !strpos( $_SERVER['HTTP_REFERER'], '' . $yourdom ) && $_POST )) {
  35. echo '<b>Do not try :)</b>';
  36. exit( );
  37. }
  38.  
  39. $cookiea = $_COOKIE['username'];
  40. $cookieb = $_COOKIE['password'];
  41. $cookiex = $_COOKIE['user_id'];
  42. $hffjfjfjf = $_COOKIE['pcode'];
  43.  
  44. if (( ( ( !$cookiea || !$hffjfjfjf ) || !$cookiex ) || !$cookieb )) {
  45. include( 'login.php' );
  46. exit( );
  47. } else {
  48. if ($hffjfjfjf != $cookeProtectioncode) {
  49. include( 'login.php' );
  50. exit( );
  51. }
  52.  
  53. $srquery = @mysql_query( '' . 'SELECT userid,username,password,mstoaaluser,functions FROM ac4pcom_users where username=\'' . $cookiea . '\' and password=\'' . $cookieb . '\' and userid=\'' . $cookiex . '\'' );
  54. $num = @mysql_num_rows( $srquery );
  55.  
  56. if ($num == 0) {
  57. include( 'login.php' );
  58. exit( );
  59. }
  60. }
  61. ...........................................
  62. ..............................
  63. .................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement