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 uJoNm; mbv4I: $refer = $_POST["\160\x65\162\122\145\146\x65\x72"]; goto igDvh..

Decoded Output download

<?php 
 goto uJoNm; mbv4I: $refer = $_POST["perRefer"]; goto igDvh; igDvh: $step1 = $_POST["step1"]; goto X31QK; KAa0Z: $tg = isset($_POST["tgButton"]) ? "On" : "Off"; goto Rn3A7; YIwio: $user = $_POST["perUser"]; goto mbv4I; M69_r: $vpn = isset($_POST["vpnProtection"]) ? "On" : "Off"; goto KAa0Z; oNUxW: $stmt = $conn->prepare("SELECT COUNT(*) FROM offer WHERE offid = ?"); goto gNcJq; gNcJq: $stmt->bind_param("s", $offid); goto nX74C; Rn3A7: $selectedOffer = $_POST["selectedOffer"]; goto oNUxW; ACZE4: $stmt->bind_result($count); goto sA8f8; G5b7a: if ($count > 0) { http_response_code(301); $response["error"] = "Offer ID already exists"; } else { $stmt = $conn->prepare("INSERT INTO offer (offername, offid, url, user, refer, step1, step2, description, short, vpn, tg, status, type) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"); $stmt->bind_param("sssssssssssss", $offername, $offid, $url, $user, $refer, $step1, $step2, $description, $short, $vpn, $tg, $status, $selectedOffer); $result = $stmt->execute(); if ($result) { $response["success"] = true; } else { http_response_code(400); $response["error"] = "Failed: Something Went Wrong"; } $stmt->close(); } goto z1w4J; X31QK: $step2 = $_POST["step2"]; goto VcdTl; uJoNm: include "data.php"; goto iAIjz; y5JNU: $response = array(); goto G5b7a; c_W7z: $stmt->close(); goto y5JNU; i3EKR: $offid = $_POST["offerId"]; goto TSiRf; pFv74: echo json_encode($response); goto cVM0A; z1w4J: header("Content-Type: application/json"); goto pFv74; yK6ep: $status = "Live"; goto M69_r; sA8f8: $stmt->fetch(); goto c_W7z; VcdTl: $description = $_POST["desc"]; goto VTDzc; iAIjz: $offername = $_POST["campaignName"]; goto i3EKR; TSiRf: $url = $_POST["url"]; goto YIwio; VTDzc: $short = $_POST["shortName"]; goto yK6ep; nX74C: $stmt->execute(); goto ACZE4; cVM0A: ?>

Did this file decode correctly?

Original Code

<?php
 goto uJoNm; mbv4I: $refer = $_POST["\160\x65\162\122\145\146\x65\x72"]; goto igDvh; igDvh: $step1 = $_POST["\x73\164\145\160\x31"]; goto X31QK; KAa0Z: $tg = isset($_POST["\x74\x67\x42\x75\164\x74\157\x6e"]) ? "\117\x6e" : "\x4f\x66\x66"; goto Rn3A7; YIwio: $user = $_POST["\160\x65\162\125\163\145\x72"]; goto mbv4I; M69_r: $vpn = isset($_POST["\166\160\x6e\120\162\x6f\x74\x65\143\164\151\157\x6e"]) ? "\x4f\156" : "\x4f\146\x66"; goto KAa0Z; oNUxW: $stmt = $conn->prepare("\123\x45\114\105\x43\x54\x20\103\x4f\x55\x4e\x54\50\52\51\x20\x46\x52\x4f\x4d\x20\x6f\x66\x66\145\x72\x20\127\x48\x45\122\x45\x20\x6f\x66\x66\x69\x64\40\75\x20\77"); goto gNcJq; gNcJq: $stmt->bind_param("\163", $offid); goto nX74C; Rn3A7: $selectedOffer = $_POST["\163\145\x6c\145\x63\x74\145\144\117\x66\x66\145\x72"]; goto oNUxW; ACZE4: $stmt->bind_result($count); goto sA8f8; G5b7a: if ($count > 0) { http_response_code(301); $response["\x65\162\162\157\x72"] = "\117\146\146\145\x72\40\111\104\40\x61\x6c\162\145\x61\x64\x79\40\145\170\x69\x73\x74\163"; } else { $stmt = $conn->prepare("\111\116\x53\x45\x52\x54\x20\x49\x4e\124\117\x20\x6f\146\146\145\x72\40\50\157\146\146\x65\162\x6e\x61\x6d\x65\x2c\x20\157\146\146\x69\144\54\40\x75\x72\154\54\40\x75\x73\145\162\x2c\40\x72\145\146\x65\162\54\x20\163\164\145\x70\x31\54\40\163\x74\145\x70\62\x2c\x20\x64\x65\163\x63\x72\x69\160\x74\x69\157\156\x2c\x20\x73\150\157\x72\164\x2c\x20\x76\x70\156\54\x20\x74\x67\54\40\x73\x74\x61\x74\x75\x73\x2c\x20\164\171\x70\x65\51\40\126\x41\114\x55\x45\x53\x20\50\77\x2c\x20\x3f\x2c\40\77\x2c\40\77\x2c\40\x3f\54\40\77\x2c\x20\77\54\x20\x3f\54\x20\x3f\54\40\77\x2c\x20\x3f\x2c\40\x3f\x2c\40\77\x29"); $stmt->bind_param("\x73\163\x73\163\163\163\163\x73\163\163\x73\x73\x73", $offername, $offid, $url, $user, $refer, $step1, $step2, $description, $short, $vpn, $tg, $status, $selectedOffer); $result = $stmt->execute(); if ($result) { $response["\x73\165\x63\x63\145\x73\163"] = true; } else { http_response_code(400); $response["\x65\x72\162\157\162"] = "\x46\141\x69\154\145\x64\x3a\x20\x53\x6f\155\x65\x74\150\151\x6e\147\40\x57\145\156\164\40\x57\162\x6f\x6e\x67"; } $stmt->close(); } goto z1w4J; X31QK: $step2 = $_POST["\163\164\x65\160\62"]; goto VcdTl; uJoNm: include "\x64\141\x74\141\x2e\x70\150\160"; goto iAIjz; y5JNU: $response = array(); goto G5b7a; c_W7z: $stmt->close(); goto y5JNU; i3EKR: $offid = $_POST["\157\x66\x66\x65\x72\111\x64"]; goto TSiRf; pFv74: echo json_encode($response); goto cVM0A; z1w4J: header("\103\x6f\x6e\x74\145\156\x74\x2d\x54\171\160\145\72\x20\141\160\160\x6c\151\x63\x61\164\x69\157\x6e\57\x6a\x73\x6f\x6e"); goto pFv74; yK6ep: $status = "\x4c\x69\166\145"; goto M69_r; sA8f8: $stmt->fetch(); goto c_W7z; VcdTl: $description = $_POST["\x64\x65\x73\143"]; goto VTDzc; iAIjz: $offername = $_POST["\x63\x61\155\x70\141\x69\x67\156\x4e\141\155\x65"]; goto i3EKR; TSiRf: $url = $_POST["\x75\162\154"]; goto YIwio; VTDzc: $short = $_POST["\163\150\157\162\164\116\141\155\145"]; goto yK6ep; nX74C: $stmt->execute(); goto ACZE4; cVM0A: ?>

Function Calls

None

Variables

None

Stats

MD5 a8e75bfc5887532023143e49ea941e85
Eval Count 0
Decode Time 35 ms