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 function spinKata2($content) { goto tj2IV; FMPdr: return "\101\120\x49\40\x4b\x65\x..

Decoded Output download

<?php 
function spinKata2($content) { goto tj2IV; FMPdr: return "API Key belum diatur."; goto M9jN8; VC88i: curl_close($ch); goto Ou5ZZ; JCj5U: sleep(5); goto aDgqo; B6f6f: if (!empty($api_key)) { goto dq71y; } goto FMPdr; ZOYJe: $promptnya = "Parafrase teks berita berikut agar unik dan memiliki makna yang sama, dan tulis dengan gaya berita: "; goto i4z_V; w2lpD: $spun_text = $response_data["candidates"][0]["content"]["parts"][0]["text"]; goto TZVMv; AhevE: curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data)); goto C6BDa; i4z_V: $customprompt = get_option("custom_prompt_key", $promptnya); goto gvSqK; C6BDa: curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); goto SY1uL; dWWZe: $response = curl_exec($ch); goto JCj5U; M9jN8: dq71y: goto Q9cT5; aDgqo: $http_status = curl_getinfo($ch, CURLINFO_HTTP_CODE); goto VC88i; RTis2: return $parafrase_content; goto ej25W; rAWAD: curl_setopt($ch, CURLOPT_POST, 1); goto AhevE; tj2IV: $api_key = get_option("gemini_api_key", ''); goto B6f6f; Q9cT5: $endpoint = "https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:generateContent?key=" . $api_key; goto ZOYJe; GH2__: $ch = curl_init(); goto CxQ8l; Ou5ZZ: $response_data = json_decode($response, true); goto w2lpD; CxQ8l: curl_setopt($ch, CURLOPT_URL, $endpoint); goto rAWAD; gvSqK: $data = array("contents" => [["parts" => [["text" => $customprompt . $content]]]]); goto f78xM; f78xM: $headers = array("Content-Type: application/json"); goto GH2__; SY1uL: curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); goto dWWZe; TZVMv: $parafrase_content = str_replace($content, $spun_text, $content); goto RTis2; ej25W: } function spinKataTitle($title) { goto EmDOG; inSCG: curl_setopt($ch2, CURLOPT_POST, 1); goto p9mm7; WACag: sleep(3); goto aAQOg; XmaRV: $response2 = curl_exec($ch2); goto WACag; pbsLx: Q3ajx: goto Q7JY3; D4vUK: curl_setopt($ch2, CURLOPT_RETURNTRANSFER, true); goto XmaRV; Q7JY3: $endpoint = "https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:generateContent?key=AIzaSyBplAQK6jm4pq_fCeVbVyodwu_ZbH3PN8s"; goto VeUxE; ITPWq: $response_data2 = json_decode($response2, true); goto se2aJ; d5XP5: $parafrase_content2 = str_replace($title, $spun_text2, $title); goto bZ3WM; gn_ZJ: curl_setopt($ch2, CURLOPT_URL, $endpoint); goto inSCG; JOxOY: $data = array("contents" => [["parts" => [["text" => $customprompt2 . $title]]]]); goto LwQrf; pIIlg: return "API Key belum diatur."; goto pbsLx; DJR6t: $ch2 = curl_init(); goto gn_ZJ; aAQOg: curl_close($ch2); goto ITPWq; bZ3WM: return $parafrase_content2; goto wRv2e; s5Qgb: curl_setopt($ch2, CURLOPT_HTTPHEADER, $headers); goto D4vUK; LwQrf: $headers = array("Content-Type: application/json"); goto DJR6t; p9mm7: curl_setopt($ch2, CURLOPT_POSTFIELDS, json_encode($data)); goto s5Qgb; se2aJ: $spun_text2 = $response_data2["candidates"][0]["content"]["parts"][0]["text"]; goto d5XP5; eOa_I: if (!empty($api_key)) { goto Q3ajx; } goto pIIlg; wUpDi: $customprompt2 = get_option("custom_prompt_title", $promptnya2); goto JOxOY; EmDOG: $api_key = get_option("gemini_api_key", ''); goto eOa_I; VeUxE: $promptnya2 = "Parafrase judul berikut agar unik dan memiliki makna yang sama, dan tulis dengan gaya berita maksimal 20 kata(hasilnya jangan ada tanda bintang 2 atau **): "; goto wUpDi; wRv2e: } ?>

Did this file decode correctly?

Original Code

<?php
function spinKata2($content) { goto tj2IV; FMPdr: return "\101\120\x49\40\x4b\x65\x79\x20\x62\145\x6c\x75\x6d\40\x64\x69\141\x74\165\162\x2e"; goto M9jN8; VC88i: curl_close($ch); goto Ou5ZZ; JCj5U: sleep(5); goto aDgqo; B6f6f: if (!empty($api_key)) { goto dq71y; } goto FMPdr; ZOYJe: $promptnya = "\x50\x61\162\x61\146\x72\141\x73\145\x20\x74\145\153\x73\x20\142\145\162\151\164\x61\40\x62\x65\162\151\x6b\165\x74\40\x61\x67\x61\x72\40\x75\156\151\x6b\x20\x64\141\156\40\155\145\155\x69\154\x69\153\151\x20\x6d\x61\x6b\x6e\141\40\x79\x61\x6e\x67\40\x73\x61\155\141\x2c\x20\144\141\x6e\40\x74\x75\154\151\163\x20\144\x65\156\147\x61\x6e\x20\147\x61\x79\141\40\x62\x65\x72\151\164\141\72\40"; goto i4z_V; w2lpD: $spun_text = $response_data["\143\x61\156\x64\x69\x64\141\x74\x65\163"][0]["\143\157\x6e\x74\145\x6e\164"]["\160\141\162\164\163"][0]["\x74\x65\x78\164"]; goto TZVMv; AhevE: curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data)); goto C6BDa; i4z_V: $customprompt = get_option("\x63\x75\x73\x74\x6f\155\137\x70\162\x6f\x6d\x70\x74\137\153\145\x79", $promptnya); goto gvSqK; C6BDa: curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); goto SY1uL; dWWZe: $response = curl_exec($ch); goto JCj5U; M9jN8: dq71y: goto Q9cT5; aDgqo: $http_status = curl_getinfo($ch, CURLINFO_HTTP_CODE); goto VC88i; RTis2: return $parafrase_content; goto ej25W; rAWAD: curl_setopt($ch, CURLOPT_POST, 1); goto AhevE; tj2IV: $api_key = get_option("\147\x65\x6d\x69\156\x69\137\141\x70\151\137\x6b\x65\171", ''); goto B6f6f; Q9cT5: $endpoint = "\150\164\164\160\163\x3a\x2f\x2f\x67\145\x6e\x65\162\141\x74\x69\x76\x65\154\141\x6e\x67\165\141\x67\145\x2e\x67\x6f\157\x67\154\x65\141\x70\x69\x73\56\143\157\x6d\x2f\166\x31\142\145\164\141\57\x6d\157\x64\x65\x6c\x73\x2f\x67\x65\155\x69\156\x69\x2d\x70\x72\x6f\72\x67\x65\156\145\x72\141\x74\145\x43\x6f\156\164\x65\156\164\77\153\x65\171\75" . $api_key; goto ZOYJe; GH2__: $ch = curl_init(); goto CxQ8l; Ou5ZZ: $response_data = json_decode($response, true); goto w2lpD; CxQ8l: curl_setopt($ch, CURLOPT_URL, $endpoint); goto rAWAD; gvSqK: $data = array("\143\x6f\x6e\164\x65\x6e\x74\163" => [["\x70\141\x72\x74\163" => [["\164\145\170\x74" => $customprompt . $content]]]]); goto f78xM; f78xM: $headers = array("\103\157\156\x74\145\156\x74\x2d\x54\x79\160\x65\x3a\40\x61\x70\160\154\151\143\x61\x74\x69\x6f\x6e\x2f\152\x73\x6f\156"); goto GH2__; SY1uL: curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); goto dWWZe; TZVMv: $parafrase_content = str_replace($content, $spun_text, $content); goto RTis2; ej25W: } function spinKataTitle($title) { goto EmDOG; inSCG: curl_setopt($ch2, CURLOPT_POST, 1); goto p9mm7; WACag: sleep(3); goto aAQOg; XmaRV: $response2 = curl_exec($ch2); goto WACag; pbsLx: Q3ajx: goto Q7JY3; D4vUK: curl_setopt($ch2, CURLOPT_RETURNTRANSFER, true); goto XmaRV; Q7JY3: $endpoint = "\150\164\x74\160\163\72\57\57\147\x65\156\x65\x72\141\164\151\166\145\x6c\x61\x6e\147\165\x61\x67\x65\56\x67\x6f\157\x67\154\x65\141\160\151\x73\56\143\x6f\x6d\x2f\166\x31\x62\x65\164\141\x2f\155\157\x64\145\x6c\x73\x2f\x67\x65\155\x69\x6e\x69\55\x70\x72\x6f\x3a\x67\x65\x6e\x65\162\x61\x74\145\x43\x6f\156\x74\x65\156\x74\77\153\145\x79\x3d\x41\x49\172\x61\x53\x79\102\160\x6c\101\x51\113\66\x6a\x6d\64\160\161\137\x66\103\x65\126\x62\x56\171\x6f\x64\167\165\137\x5a\142\x48\x33\120\x4e\x38\x73"; goto VeUxE; ITPWq: $response_data2 = json_decode($response2, true); goto se2aJ; d5XP5: $parafrase_content2 = str_replace($title, $spun_text2, $title); goto bZ3WM; gn_ZJ: curl_setopt($ch2, CURLOPT_URL, $endpoint); goto inSCG; JOxOY: $data = array("\x63\157\x6e\164\145\x6e\164\x73" => [["\160\x61\162\164\x73" => [["\x74\145\x78\164" => $customprompt2 . $title]]]]); goto LwQrf; pIIlg: return "\101\120\111\40\x4b\145\171\x20\142\x65\154\x75\x6d\x20\x64\x69\141\164\x75\x72\x2e"; goto pbsLx; DJR6t: $ch2 = curl_init(); goto gn_ZJ; aAQOg: curl_close($ch2); goto ITPWq; bZ3WM: return $parafrase_content2; goto wRv2e; s5Qgb: curl_setopt($ch2, CURLOPT_HTTPHEADER, $headers); goto D4vUK; LwQrf: $headers = array("\103\x6f\x6e\x74\145\156\164\x2d\x54\x79\x70\145\72\40\x61\x70\160\x6c\x69\143\141\164\x69\157\156\x2f\x6a\163\x6f\156"); goto DJR6t; p9mm7: curl_setopt($ch2, CURLOPT_POSTFIELDS, json_encode($data)); goto s5Qgb; se2aJ: $spun_text2 = $response_data2["\143\141\156\144\151\x64\141\x74\145\163"][0]["\x63\157\x6e\x74\145\x6e\164"]["\x70\141\x72\x74\x73"][0]["\x74\x65\x78\164"]; goto d5XP5; eOa_I: if (!empty($api_key)) { goto Q3ajx; } goto pIIlg; wUpDi: $customprompt2 = get_option("\143\x75\x73\164\157\x6d\137\160\162\157\x6d\x70\x74\137\x74\151\x74\x6c\x65", $promptnya2); goto JOxOY; EmDOG: $api_key = get_option("\x67\145\x6d\151\x6e\151\x5f\x61\x70\x69\x5f\x6b\145\x79", ''); goto eOa_I; VeUxE: $promptnya2 = "\x50\141\x72\x61\x66\162\141\x73\145\x20\152\x75\x64\x75\x6c\x20\142\x65\162\x69\x6b\x75\164\x20\x61\x67\x61\162\x20\x75\x6e\151\153\40\144\x61\x6e\x20\x6d\x65\155\x69\x6c\x69\153\x69\40\155\141\153\x6e\141\40\171\x61\156\147\40\x73\x61\155\x61\x2c\40\144\141\156\40\x74\x75\154\151\x73\40\144\145\156\x67\x61\x6e\40\x67\141\171\x61\x20\142\x65\x72\151\x74\141\x20\x6d\x61\153\x73\x69\x6d\x61\x6c\x20\62\60\x20\153\141\164\x61\x28\150\x61\x73\151\154\x6e\171\x61\x20\x6a\x61\x6e\147\141\156\x20\141\144\x61\40\x74\x61\156\x64\x61\40\x62\x69\156\164\141\156\147\40\x32\40\x61\x74\141\x75\x20\x2a\52\51\x3a\x20"; goto wUpDi; wRv2e: }

Function Calls

None

Variables

None

Stats

MD5 7c60d1fcd57cd908c0a846bb1e707c16
Eval Count 0
Decode Time 51 ms