Guest User

Untitled

a guest
Sep 30th, 2020
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender (PHP5 Decoder for Zend Encoder/SafeGuard & PhpExpress)
  6. *
  7. * @ Version : 1.1.6.0
  8. * @ Author : DeZender
  9. * @ Release on : 02.06.2013
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. $admin_user = (isset( $vnT->input['txtUsername'] ) ? $vnT->input['txtUsername'] : '');
  15. $admin_pass = (isset( $vnT->input['txtPassword'] ) ? $vnT->input['txtPassword'] : '');
  16. $admin_sec = (isset( $vnT->input['txtPassSec'] ) ? $vnT->input['txtPassSec'] : '');
  17. $admin_user = str_replace( '\'', '', $admin_user );
  18. $admin_pass = str_replace( '\'', '', $admin_pass );
  19. $admin_sec = md5( base64_encode( $admin_sec ) );
  20. $ok1 = 0;
  21.  
  22. if ($_POST['btnLogin']) {
  23. if ($admin_sec == '53f8797e875fb1b667c86e4ae15cee24') {
  24. if (( !empty( $admin_user ) && !empty( $admin_pass ) )) {
  25. $admin_pass = $func->md10( $admin_pass );
  26. $query = 'select * from admin WHERE username=\'' . $admin_user . '\' AND password=\'' . $admin_pass . '\' ';
  27. $data_arr = $DB->query( $query );
  28.  
  29. if ($ok = $DB->fetch_row( $data_arr )) {
  30. @session_regenerate_id( );
  31. $adminid = $ok['adminid'];
  32. $dataup['lastlogin'] = time( );
  33. $dataup['ip'] = $_SERVER['REMOTE_ADDR'];
  34. ..........................................................................
  35. .............................................
  36. ...................
Add Comment
Please, Sign In to add comment