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 YQJSW; gvWmG: $f_pti_content = ''; goto dMiQc; bMu0B: $f_pti_elements = $xpat..
Decoded Output download
<?php
goto YQJSW; gvWmG: $f_pti_content = ''; goto dMiQc; bMu0B: $f_pti_elements = $xpath->query("//*[contains(concat(' ', normalize-space(@class), ' '), ' f-pti ')]"); goto gvWmG; qIMbP: function extractMarketData($xpath, $marketName) { $marketData = array("h8" => '', "h9" => '', "button" => ''); $marketSpans = $xpath->query("//span[@class='h8' and text()='{$marketName}']"); foreach ($marketSpans as $marketSpan) { $marketData["h8"] = $marketSpan->nodeValue; $h9Span = $marketSpan->nextSibling; while ($h9Span && ($h9Span->nodeName !== "span" || $h9Span->getAttribute("class") !== "h9")) { $h9Span = $h9Span->nextSibling; } if ($h9Span && $h9Span->nodeName === "span") { $marketData["h9"] = $h9Span->nodeValue; } $buttonNode = $h9Span ? $h9Span->nextSibling : null; while ($buttonNode && $buttonNode->nodeName !== "button") { $buttonNode = $buttonNode->nextSibling; } if ($buttonNode && $buttonNode->nodeName === "button") { $marketData["button"] = $buttonNode->ownerDocument->saveHTML($buttonNode); } } return $marketData; } goto yFKBc; NJOcw: $url = $url1; goto Fh7f6; Nf16j: $SD = getNodeValue($xpath, "//div[h4="SUPREME DAY"]/span"); goto XgaT9; lY3dO: $MID = getNodeValue($xpath, "//div[h4="MILAN DAY"]/span"); goto IFN3l; g4DZs: $SRN = getNodeValue($xpath, "//div[h4="SRIDEVI NIGHT"]/span"); goto p163t; FKS5Z: $xpath = new DOMXPath($dom); goto IhXQD; P5mtB: function getNodeValue($xpath, $query) { $node = $xpath->query($query)->item(0); return $node ? $node->nodeValue : ''; } goto x3Z7s; Uyad1: @$dom->loadHTML($html); goto MToko; IvsZU: foreach ($sun_col_elements as $element) { $sun_col_content .= $dom->saveHTML($element); } goto B8JQO; piV72: $ocfg_content = ''; goto uslk_; cvZ_n: $MB = getNodeValue($xpath, "//div[h4="MAIN BAZAR"]/span"); goto qIMbP; sm1v1: $TB = getNodeValue($xpath, "//div[h4="TIME BAZAR"]/span"); goto gggxA; uslk_: foreach ($ocfg_elements as $element) { $ocfg_content .= $dom->saveHTML($element); } goto f_onr; f_onr: $l_obj_giv_elements = $xpath->query("//*[contains(concat(' ', normalize-space(@class), ' '), ' l-obj-giv ')]"); goto LKn_b; GjBfC: foreach ($tkt_val_elements as $element) { $divs = $element->getElementsByTagName("div"); foreach ($divs as $div) { $h4 = $div->getElementsByTagName("h4")->item(0); if ($h4) { $h4_text = $h4->textContent; $id_value = strtoupper(str_replace(" ", '', $h4_text)); $div->setAttribute("id", $id_value); $h4->textContent = strtoupper($h4_text); } } $anchors = $element->getElementsByTagName("a"); foreach ($anchors as $anchor) { $href = $anchor->getAttribute("href"); if (strpos($href, "jodi-chart-record") !== false) { $game_name = str_replace(array("jodi-chart-record/", ".php"), '', $href); $new_href = "jodi/jodi-charts.php?market=" . $game_name . ".php"; $anchor->setAttribute("href", $new_href); } elseif (strpos($href, "panel-chart-record") !== false) { $game_name = str_replace(array("panel-chart-record/", ".php"), '', $href); $new_href = "panel/panel-charts.php?market=" . $game_name . ".php"; $anchor->setAttribute("href", $new_href); } } $modified_element_html = $dom->saveHTML($element); $tkt_val_content .= $modified_element_html; } goto DNuAV; PS7ST: $lv_mc_elements = $xpath->query("//*[contains(concat(' ', normalize-space(@class), ' '), ' lv-mc ')]"); goto ANkBp; oULI6: foreach ($markets as $market) { $marketData[$market] = extractMarketData($xpath, $market); } goto aav81; sqegN: $RN = getNodeValue($xpath, "//div[h4="RAJDHANI NIGHT"]/span"); goto cvZ_n; l14vZ: $html = file_get_contents($url); goto x6Eeh; INmDf: if ($url1) { echo ''; } else { echo "Error: URL not found in the HTML content."; } goto g_jTF; MToko: $xpath = new DOMXPath($dom); goto bMu0B; x6Eeh: $dom = new DOMDocument(); goto VsuIn; B8JQO: $ocfg_elements = $xpath->query("//*[contains(concat(' ', normalize-space(@class), ' '), ' ocfg ')]"); goto piV72; dMiQc: foreach ($f_pti_elements as $element) { $f_pti_content .= $dom->saveHTML($element); } goto PS7ST; g_jTF: include "simple_html_dom.php"; goto NJOcw; ANkBp: $lv_mc_content = ''; goto CNcRv; X2Z9g: $my_table_content = ''; goto GC0mT; GC0mT: foreach ($my_table_elements as $element) { $my_table_content .= $dom->saveHTML($element); } goto K2NbL; XgaT9: $KA = getNodeValue($xpath, "//div[h4="KALYAN"]/span"); goto g4DZs; IUaHl: $url1 = extractUrlFromHtml($html); goto INmDf; x3Z7s: $SR = getNodeValue($xpath, "//div[h4="SRIDEVI"]/span"); goto sm1v1; LKn_b: $l_obj_giv_content = ''; goto PWIwY; MTMph: $sun_col_content = ''; goto IvsZU; gggxA: $MD = getNodeValue($xpath, "//div[h4="MADHUR DAY"]/span"); goto lY3dO; IFN3l: $RD = getNodeValue($xpath, "//div[h4="RAJDHANI DAY"]/span"); goto Nf16j; hbjhT: $marketData = array(); goto oULI6; Fh7f6: $html = file_get_contents($url); goto vIf4f; vIf4f: $dom = new DOMDocument(); goto Uyad1; IhXQD: $markets = array("KALYAN", "TIME BAZAR", "MADHUR DAY", "MILAN DAY", "MILAN NIGHT", "RAJDHANI DAY", "SUPREME DAY", "MADHUR NIGHT", "KALYAN NIGHT", "RAJDHANI NIGHT", "MAIN BAZAR", "SRIDEVI", "SRIDEVI NIGHT", "SUPREME NIGHT"); goto hbjhT; yFKBc: $url = "https://dpbossss.services/"; goto l14vZ; gHeHk: $MIN = getNodeValue($xpath, "//div[h4="MILAN NIGHT"]/span"); goto leMTP; yEoXJ: $tkt_val_content = ''; goto GjBfC; PWIwY: foreach ($l_obj_giv_elements as $element) { $l_obj_giv_content .= $dom->saveHTML($element); } goto P5mtB; VsuIn: @$dom->loadHTML($html); goto FKS5Z; IT1XF: $SN = getNodeValue($xpath, "//div[h4="SUPREME NIGHT"]/span"); goto gHeHk; p163t: $MN = getNodeValue($xpath, "//div[h4="MADHUR NIGHT"]/span"); goto IT1XF; YQJSW: function extractUrlFromHtml($html) { $dom = new DOMDocument(); @$dom->loadHTML($html); $xpath = new DOMXPath($dom); $pTag = $xpath->query("//p[@id='imp-d']")->item(0); if ($pTag) { return $pTag->nodeValue; } else { return null; } } goto FBwrw; DNuAV: $my_table_elements = $xpath->query("//*[contains(concat(' ', normalize-space(@class), ' '), ' my-table ')]"); goto X2Z9g; wWdDU: $tkt_val_elements = $xpath->query("//*[contains(concat(' ', normalize-space(@class), ' '), ' tkt-val ')]"); goto yEoXJ; K2NbL: $sun_col_elements = $xpath->query("//*[contains(concat(' ', normalize-space(@class), ' '), ' sun-col ')]"); goto MTMph; FBwrw: $html = file_get_contents("https://dpbossmotor.com/"); goto IUaHl; leMTP: $KN = getNodeValue($xpath, "//div[h4="KALYAN NIGHT"]/span"); goto sqegN; CNcRv: foreach ($lv_mc_elements as $element) { $lv_mc_content .= $dom->saveHTML($element); } goto wWdDU; aav81: ?>
Did this file decode correctly?
Original Code
<?php
goto YQJSW; gvWmG: $f_pti_content = ''; goto dMiQc; bMu0B: $f_pti_elements = $xpath->query("\57\57\52\x5b\x63\157\x6e\x74\x61\x69\156\163\50\143\x6f\156\143\x61\x74\x28\x27\x20\47\54\x20\x6e\157\162\x6d\141\154\151\172\x65\x2d\163\160\x61\143\145\50\x40\x63\x6c\x61\163\163\51\x2c\x20\47\x20\x27\51\54\40\x27\x20\146\x2d\x70\164\x69\x20\47\51\x5d"); goto gvWmG; qIMbP: function extractMarketData($xpath, $marketName) { $marketData = array("\150\70" => '', "\x68\x39" => '', "\x62\x75\164\164\157\156" => ''); $marketSpans = $xpath->query("\x2f\x2f\x73\x70\x61\x6e\x5b\x40\x63\154\141\x73\163\x3d\x27\150\70\47\40\141\x6e\144\x20\x74\145\x78\x74\50\51\x3d\x27{$marketName}\x27\x5d"); foreach ($marketSpans as $marketSpan) { $marketData["\150\70"] = $marketSpan->nodeValue; $h9Span = $marketSpan->nextSibling; while ($h9Span && ($h9Span->nodeName !== "\x73\160\x61\x6e" || $h9Span->getAttribute("\x63\x6c\x61\x73\163") !== "\x68\71")) { $h9Span = $h9Span->nextSibling; } if ($h9Span && $h9Span->nodeName === "\163\x70\x61\156") { $marketData["\150\x39"] = $h9Span->nodeValue; } $buttonNode = $h9Span ? $h9Span->nextSibling : null; while ($buttonNode && $buttonNode->nodeName !== "\x62\x75\164\x74\157\156") { $buttonNode = $buttonNode->nextSibling; } if ($buttonNode && $buttonNode->nodeName === "\142\165\164\x74\157\x6e") { $marketData["\x62\165\x74\x74\157\x6e"] = $buttonNode->ownerDocument->saveHTML($buttonNode); } } return $marketData; } goto yFKBc; NJOcw: $url = $url1; goto Fh7f6; Nf16j: $SD = getNodeValue($xpath, "\x2f\57\x64\151\166\x5b\x68\x34\x3d\x22\123\125\120\122\x45\x4d\x45\x20\x44\x41\x59\x22\135\57\163\160\141\156"); goto XgaT9; lY3dO: $MID = getNodeValue($xpath, "\x2f\57\144\x69\x76\133\150\x34\75\42\115\x49\114\x41\116\40\x44\101\x59\42\x5d\57\x73\x70\x61\x6e"); goto IFN3l; g4DZs: $SRN = getNodeValue($xpath, "\57\x2f\144\151\x76\x5b\150\64\75\x22\123\x52\x49\104\x45\126\111\40\x4e\111\x47\x48\124\42\135\57\x73\x70\141\x6e"); goto p163t; FKS5Z: $xpath = new DOMXPath($dom); goto IhXQD; P5mtB: function getNodeValue($xpath, $query) { $node = $xpath->query($query)->item(0); return $node ? $node->nodeValue : ''; } goto x3Z7s; Uyad1: @$dom->loadHTML($html); goto MToko; IvsZU: foreach ($sun_col_elements as $element) { $sun_col_content .= $dom->saveHTML($element); } goto B8JQO; piV72: $ocfg_content = ''; goto uslk_; cvZ_n: $MB = getNodeValue($xpath, "\57\x2f\x64\151\x76\x5b\x68\64\75\x22\115\101\111\x4e\40\x42\101\132\x41\122\x22\135\x2f\163\x70\141\x6e"); goto qIMbP; sm1v1: $TB = getNodeValue($xpath, "\x2f\57\x64\x69\166\x5b\x68\64\75\x22\124\x49\115\105\x20\x42\101\x5a\101\122\42\135\x2f\163\160\x61\156"); goto gggxA; uslk_: foreach ($ocfg_elements as $element) { $ocfg_content .= $dom->saveHTML($element); } goto f_onr; f_onr: $l_obj_giv_elements = $xpath->query("\57\57\52\x5b\x63\x6f\x6e\164\x61\x69\156\x73\50\x63\x6f\156\143\x61\164\x28\x27\x20\47\x2c\40\x6e\x6f\x72\155\x61\x6c\x69\x7a\x65\x2d\163\x70\141\143\145\50\x40\x63\x6c\141\x73\x73\x29\x2c\40\47\40\x27\x29\54\x20\47\40\154\x2d\x6f\x62\152\55\147\151\166\x20\x27\x29\x5d"); goto LKn_b; GjBfC: foreach ($tkt_val_elements as $element) { $divs = $element->getElementsByTagName("\x64\151\166"); foreach ($divs as $div) { $h4 = $div->getElementsByTagName("\150\x34")->item(0); if ($h4) { $h4_text = $h4->textContent; $id_value = strtoupper(str_replace("\x20", '', $h4_text)); $div->setAttribute("\x69\x64", $id_value); $h4->textContent = strtoupper($h4_text); } } $anchors = $element->getElementsByTagName("\141"); foreach ($anchors as $anchor) { $href = $anchor->getAttribute("\150\x72\x65\x66"); if (strpos($href, "\x6a\157\144\151\x2d\x63\150\141\x72\164\55\x72\x65\x63\157\162\144") !== false) { $game_name = str_replace(array("\x6a\x6f\x64\x69\55\x63\x68\x61\162\164\55\162\145\143\x6f\x72\x64\x2f", "\x2e\x70\150\160"), '', $href); $new_href = "\x6a\x6f\144\151\x2f\152\x6f\x64\151\x2d\143\150\x61\x72\x74\163\56\160\150\x70\x3f\155\x61\x72\153\x65\164\x3d" . $game_name . "\56\x70\150\x70"; $anchor->setAttribute("\x68\x72\x65\146", $new_href); } elseif (strpos($href, "\x70\141\x6e\145\154\55\x63\x68\x61\x72\x74\x2d\162\145\x63\157\162\x64") !== false) { $game_name = str_replace(array("\x70\141\x6e\145\154\x2d\143\150\x61\x72\164\x2d\162\145\143\157\x72\x64\x2f", "\x2e\x70\x68\160"), '', $href); $new_href = "\x70\x61\x6e\145\154\57\x70\141\x6e\145\x6c\x2d\143\150\141\162\164\x73\56\160\x68\x70\77\x6d\x61\162\153\x65\164\75" . $game_name . "\x2e\160\150\x70"; $anchor->setAttribute("\x68\x72\x65\x66", $new_href); } } $modified_element_html = $dom->saveHTML($element); $tkt_val_content .= $modified_element_html; } goto DNuAV; PS7ST: $lv_mc_elements = $xpath->query("\57\x2f\52\x5b\x63\157\x6e\164\141\x69\156\163\x28\x63\157\156\143\141\x74\x28\x27\x20\x27\54\40\156\157\x72\x6d\x61\154\151\x7a\x65\x2d\x73\160\141\143\x65\x28\x40\143\x6c\x61\163\163\x29\x2c\x20\47\x20\47\51\54\x20\47\x20\x6c\x76\55\x6d\x63\40\x27\x29\135"); goto ANkBp; oULI6: foreach ($markets as $market) { $marketData[$market] = extractMarketData($xpath, $market); } goto aav81; sqegN: $RN = getNodeValue($xpath, "\57\57\x64\x69\x76\133\x68\64\x3d\42\x52\101\x4a\104\x48\x41\116\x49\40\116\111\x47\x48\124\42\x5d\x2f\x73\x70\x61\x6e"); goto cvZ_n; l14vZ: $html = file_get_contents($url); goto x6Eeh; INmDf: if ($url1) { echo ''; } else { echo "\x45\x72\162\157\x72\72\x20\125\122\114\x20\156\157\x74\40\146\157\165\x6e\144\x20\x69\x6e\40\x74\150\x65\40\110\x54\x4d\x4c\40\x63\x6f\156\164\x65\156\164\x2e"; } goto g_jTF; MToko: $xpath = new DOMXPath($dom); goto bMu0B; x6Eeh: $dom = new DOMDocument(); goto VsuIn; B8JQO: $ocfg_elements = $xpath->query("\57\x2f\52\133\143\x6f\156\x74\141\151\156\163\50\x63\157\x6e\x63\x61\164\x28\x27\x20\47\54\x20\156\157\x72\155\x61\x6c\x69\x7a\x65\55\x73\x70\141\x63\x65\50\100\x63\154\x61\163\163\51\54\40\x27\x20\47\51\x2c\40\47\x20\157\x63\x66\147\40\x27\x29\x5d"); goto piV72; dMiQc: foreach ($f_pti_elements as $element) { $f_pti_content .= $dom->saveHTML($element); } goto PS7ST; g_jTF: include "\x73\x69\155\x70\154\x65\x5f\150\164\155\x6c\x5f\x64\x6f\x6d\56\160\150\x70"; goto NJOcw; ANkBp: $lv_mc_content = ''; goto CNcRv; X2Z9g: $my_table_content = ''; goto GC0mT; GC0mT: foreach ($my_table_elements as $element) { $my_table_content .= $dom->saveHTML($element); } goto K2NbL; XgaT9: $KA = getNodeValue($xpath, "\57\x2f\144\151\166\x5b\150\64\x3d\42\x4b\101\114\x59\101\x4e\42\135\x2f\x73\160\141\x6e"); goto g4DZs; IUaHl: $url1 = extractUrlFromHtml($html); goto INmDf; x3Z7s: $SR = getNodeValue($xpath, "\x2f\x2f\144\x69\x76\x5b\x68\64\x3d\42\x53\x52\x49\x44\105\x56\111\42\135\57\163\x70\141\x6e"); goto sm1v1; LKn_b: $l_obj_giv_content = ''; goto PWIwY; MTMph: $sun_col_content = ''; goto IvsZU; gggxA: $MD = getNodeValue($xpath, "\x2f\x2f\x64\151\166\x5b\150\x34\75\42\x4d\101\x44\x48\x55\122\x20\104\101\x59\42\135\57\x73\160\x61\x6e"); goto lY3dO; IFN3l: $RD = getNodeValue($xpath, "\x2f\x2f\144\151\166\x5b\x68\64\75\42\122\x41\x4a\104\110\101\x4e\111\x20\x44\x41\x59\x22\x5d\x2f\163\x70\x61\x6e"); goto Nf16j; hbjhT: $marketData = array(); goto oULI6; Fh7f6: $html = file_get_contents($url); goto vIf4f; vIf4f: $dom = new DOMDocument(); goto Uyad1; IhXQD: $markets = array("\113\101\x4c\x59\101\116", "\124\x49\x4d\x45\40\x42\101\132\101\122", "\115\101\104\x48\x55\122\40\104\101\131", "\x4d\x49\114\101\116\40\104\101\131", "\x4d\111\x4c\x41\116\x20\x4e\x49\107\110\x54", "\x52\x41\x4a\104\x48\101\x4e\x49\x20\104\101\131", "\123\125\x50\x52\x45\x4d\105\40\x44\101\131", "\115\x41\x44\x48\x55\x52\40\116\111\x47\x48\124", "\x4b\x41\114\x59\101\116\40\116\111\x47\110\x54", "\122\x41\112\104\110\101\x4e\x49\x20\x4e\x49\107\x48\x54", "\115\x41\x49\116\40\x42\101\132\x41\x52", "\123\122\x49\x44\x45\126\111", "\x53\x52\x49\x44\105\x56\x49\40\x4e\x49\107\110\x54", "\123\x55\120\x52\105\115\x45\40\x4e\111\107\x48\x54"); goto hbjhT; yFKBc: $url = "\150\x74\164\160\x73\72\x2f\x2f\144\160\x62\157\163\163\x73\x73\56\163\x65\162\166\151\x63\x65\163\57"; goto l14vZ; gHeHk: $MIN = getNodeValue($xpath, "\x2f\57\144\151\166\x5b\x68\64\75\x22\x4d\x49\114\x41\116\40\116\111\x47\x48\x54\42\x5d\x2f\163\160\141\x6e"); goto leMTP; yEoXJ: $tkt_val_content = ''; goto GjBfC; PWIwY: foreach ($l_obj_giv_elements as $element) { $l_obj_giv_content .= $dom->saveHTML($element); } goto P5mtB; VsuIn: @$dom->loadHTML($html); goto FKS5Z; IT1XF: $SN = getNodeValue($xpath, "\x2f\x2f\x64\151\166\x5b\x68\x34\x3d\42\123\x55\120\122\x45\115\x45\x20\x4e\x49\x47\110\124\x22\135\57\x73\x70\x61\x6e"); goto gHeHk; p163t: $MN = getNodeValue($xpath, "\x2f\x2f\x64\151\x76\x5b\x68\64\75\42\x4d\101\104\x48\x55\122\x20\x4e\111\107\110\124\x22\135\x2f\163\x70\141\156"); goto IT1XF; YQJSW: function extractUrlFromHtml($html) { $dom = new DOMDocument(); @$dom->loadHTML($html); $xpath = new DOMXPath($dom); $pTag = $xpath->query("\57\57\160\x5b\x40\x69\144\75\x27\x69\x6d\x70\x2d\144\x27\135")->item(0); if ($pTag) { return $pTag->nodeValue; } else { return null; } } goto FBwrw; DNuAV: $my_table_elements = $xpath->query("\x2f\x2f\x2a\x5b\x63\x6f\x6e\164\141\x69\x6e\163\x28\143\157\x6e\143\x61\164\x28\47\40\47\54\40\x6e\157\x72\155\141\154\151\x7a\x65\55\x73\x70\141\x63\145\50\x40\143\x6c\x61\x73\163\51\x2c\x20\47\x20\x27\x29\54\40\47\40\x6d\171\55\164\141\142\x6c\x65\40\47\51\135"); goto X2Z9g; wWdDU: $tkt_val_elements = $xpath->query("\57\57\52\x5b\143\x6f\156\164\141\151\x6e\x73\50\143\157\156\143\x61\x74\x28\47\40\47\x2c\x20\156\157\162\155\x61\154\151\x7a\x65\55\163\160\141\143\x65\50\100\143\154\141\x73\163\51\x2c\x20\47\40\47\x29\x2c\40\47\x20\x74\x6b\x74\55\x76\x61\x6c\40\47\x29\135"); goto yEoXJ; K2NbL: $sun_col_elements = $xpath->query("\57\x2f\x2a\133\x63\x6f\x6e\x74\141\151\x6e\x73\50\143\157\156\x63\141\x74\50\x27\40\47\54\40\156\x6f\x72\155\141\x6c\x69\x7a\x65\55\163\160\x61\143\x65\50\100\x63\x6c\x61\163\163\51\x2c\x20\x27\x20\47\x29\54\40\x27\40\x73\x75\x6e\x2d\143\x6f\154\x20\x27\x29\135"); goto MTMph; FBwrw: $html = file_get_contents("\150\x74\164\x70\x73\x3a\57\x2f\x64\x70\142\157\x73\x73\155\x6f\164\x6f\162\x2e\143\157\155\x2f"); goto IUaHl; leMTP: $KN = getNodeValue($xpath, "\57\x2f\144\x69\166\133\150\64\x3d\x22\x4b\x41\x4c\x59\101\x4e\40\116\111\107\110\124\42\x5d\x2f\163\x70\141\x6e"); goto sqegN; CNcRv: foreach ($lv_mc_elements as $element) { $lv_mc_content .= $dom->saveHTML($element); } goto wWdDU; aav81: ?>
Function Calls
| None |
Stats
| MD5 | 21573000e56afcf56c7fd183adb8f133 |
| Eval Count | 0 |
| Decode Time | 57 ms |