Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

goto vZwfV; Knv9f: $project = Project::first(); goto ET5bz; m3aPT: ..

Decoded Output download

<?    goto vZwfV; 
    Knv9f: 
    $project = Project::first(); 
    goto ET5bz; 
    m3aPT: 
    $baseProjectObj = new \stdClass(); 
    goto zRdDJ; 
    m5Of1: 
    $psLicenseCode = $decryptedKey[2]; 
    goto G1NsM; 
    QLfZg: 
    $hasError = 0; 
    goto lteI6; 
    nlCMJ: 
    $dataFromJsonFileFromZip = json_decode($file); 
    goto Os8Tf; 
    Row1F: 
    $purchasedCode = $decryptedKey[1]; 
    goto m5Of1; 
    YY_Wb: 
    $zip->open($zipFile); 
    goto NIZl6; 
    g9OG0: 
    $project->update(); 
    goto c7fRj; 
    WRapt: 
    $logMessages[] = $baseProjectObj; 
    goto qRVTS; 
    r5Rel: 
    if (!empty($hasError)) { 
      goto Yzp7w; 
    } 
    goto Knv9f; 
    aCiuH: 
    $decryptedKey = explode("
", base64_decode($key)); 
    goto ogzhD; 
    dPJoQ: 
    VWPN0: 
    goto Sq_Kd; 
    rkqDO: 
    foEIH: 
    goto FC5C_; 
    QOIFI: 
    if ($purchasedCode !== $oldDataOfProject->project_code) { 
      goto VWPN0; 
    } 
    goto vnNXv; 
    eLXa9: 
    if ($request->hasFile("zipFile")) { 
      goto foEIH; 
    } 
    goto NQHz2; 
    FC5C_: 
    $zipFile = $request->file("zipFile"); 
    goto uvn3y; 
    aDaN5: 
    $activatedFileName->save(); 
    goto AzxnL; 
    Os8Tf: 
    $key = $dataFromJsonFileFromZip->key; 
    goto ofHy2; 
    yksWG: 
    $logMessages[] = $domainObj; 
    goto M_Vcs; 
    wqSTv: 
    IxgoZ: 
    goto Ie3Ln; 
    MkuPq: 
    $licenseObj->message = __("license_verify_fail"); 
    goto rgiS1; 
    cdkMM: 
    $domainObj->status = "danger"; 
    goto J3mFT; 
    wy3Zu: 
    $domainObj = new \stdClass(); 
    goto wqL4x; 
    Fjkz2: 
    $activatedFileName->is_imported = 0; 
    goto aDaN5; 
    ofHy2: 
    $project = $dataFromJsonFileFromZip->project; 
    goto aCiuH; 
    M_Vcs: 
    ++$hasError; 
    goto oLjPZ; 
    G1NsM: 
    $logMessages = []; 
    goto yjw1b; 
    c7fRj: 
    $activatedFileName = new ActivatedFileName(); 
    goto mRLTL; 
    NIZl6: 
    $fileName = $zip->getNameIndex(0); 
    goto eitkW; 
    eZ8AW: 
    c276z: 
    goto m3aPT; 
    kZeUr: 
    $logMessages[] = $domainObj; 
    goto Y5r0X; 
    ZDxMa: 
    $domainObj->message = __("domain_verify_success"); 
    goto kZeUr; 
    uN3ic: 
    if ($project->base_project_id !== $oldDataOfProject->base_project_id) { 
      goto c276z; 
    } 
    goto m_ATO; 
    qz0LB: 
    kxUUw: 
    goto r5Rel; 
    VE9lr: 
    $licenseObj->status = "danger"; 
    goto MkuPq; 
    d93DY: 
    $licenseObj->message = __(""); 
    goto n7ej2; 
    oLjPZ: 
    YHba1: 
    goto QOIFI; 
    bnNIZ: 
    $baseProjectObj->message = __("license_verify_success"); 
    goto WRapt; 
    RuUdf: 
    return $dataArr; 
    goto VcERW; 
    kwGHZ: 
    ++$hasError; 
    goto cKRjZ; 
    cKRjZ: 
    AK69S: 
    goto uN3ic; 
    iWgX1: 
    $dataArr = ["logMessages" => $logMessages, "hasError" => $hasError, "zipFileName" => $fileName]; 
    goto RuUdf; 
    qRVTS: 
    goto kxUUw; 
    goto eZ8AW; 
    Sq_Kd: 
    $licenseObj = new \stdClass(); 
    goto VE9lr; 
    n7ej2: 
    $logMessages[] = $licenseObj; 
    goto T_KJd; 
    rgiS1: 
    $logMessages[] = $licenseObj; 
    goto kwGHZ; 
    ewN6M: 
    $file = file_get_contents($fileName); 
    goto nlCMJ; 
    eitkW: 
    $zip->extractTo("./"); 
    goto vYogn; 
    jS2Yb: 
    Z9_qY: 
    goto ewN6M; 
    zRdDJ: 
    $baseProjectObj->status = "danger"; 
    goto qdsVJ; 
    mRLTL: 
    $activatedFileName->file_name = $fileName; 
    goto Fjkz2; 
    m_ATO: 
    $baseProjectObj = new \stdClass(); 
    goto mkRgk; 
    NQHz2: 
    $fileName = str_replace("zip", "json", $request->zipFile); 
    goto fmF6R; 
    uvn3y: 
    $zip = new \ZipArchive(); 
    goto YY_Wb; 
    xbXnT: 
    $logMessages[] = $baseProjectObj; 
    goto kp1hq; 
    Y5r0X: 
    goto YHba1; 
    goto wqSTv; 
    wqL4x: 
    $domainObj->status = "success"; 
    goto ZDxMa; 
    J3mFT: 
    $domainObj->message = __("domain_verify_fail"); 
    goto yksWG; 
    wBOs7: 
    $licenseObj->status = "success"; 
    goto d93DY; 
    ogzhD: 
    $backendUrl = $decryptedKey[0]; 
    goto Row1F; 
    vYogn: 
    $zip->close(); 
    goto jS2Yb; 
    vZwfV: 
    config("app.key", $request->key); 
    goto eLXa9; 
    yjw1b: 
    $oldDataOfProject = Project::first(); 
    goto QLfZg; 
    kp1hq: 
    ++$hasError; 
    goto qz0LB; 
    T_KJd: 
    goto AK69S; 
    goto dPJoQ; 
    fmF6R: 
    goto Z9_qY; 
    goto rkqDO; 
    lteI6: 
    if ($backendUrl !== $oldDataOfProject->project_url) { 
      goto IxgoZ; 
    } 
    goto wy3Zu; 
    Ie3Ln: 
    $domainObj = new \stdClass(); 
    goto cdkMM; 
    vnNXv: 
    $licenseObj = new \stdClass(); 
    goto wBOs7; 
    AzxnL: 
    Yzp7w: 
    goto iWgX1; 
    ET5bz: 
    $project->ps_license_code = $psLicenseCode; 
    goto g9OG0; 
    qdsVJ: 
    $baseProjectObj->message = __("base_proj_not_same"); 
    goto xbXnT; 
    mkRgk: 
    $baseProjectObj->status = "success"; 
    goto bnNIZ; 
    VcERW: ?>

Did this file decode correctly?

Original Code

  goto vZwfV;
    Knv9f:
    $project = Project::first();
    goto ET5bz;
    m3aPT:
    $baseProjectObj = new \stdClass();
    goto zRdDJ;
    m5Of1:
    $psLicenseCode = $decryptedKey[2];
    goto G1NsM;
    QLfZg:
    $hasError = 0;
    goto lteI6;
    nlCMJ:
    $dataFromJsonFileFromZip = json_decode($file);
    goto Os8Tf;
    Row1F:
    $purchasedCode = $decryptedKey[1];
    goto m5Of1;
    YY_Wb:
    $zip->open($zipFile);
    goto NIZl6;
    g9OG0:
    $project->update();
    goto c7fRj;
    WRapt:
    $logMessages[] = $baseProjectObj;
    goto qRVTS;
    r5Rel:
    if (!empty($hasError)) {
      goto Yzp7w;
    }
    goto Knv9f;
    aCiuH:
    $decryptedKey = explode("\12", base64_decode($key));
    goto ogzhD;
    dPJoQ:
    VWPN0:
    goto Sq_Kd;
    rkqDO:
    foEIH:
    goto FC5C_;
    QOIFI:
    if ($purchasedCode !== $oldDataOfProject->project_code) {
      goto VWPN0;
    }
    goto vnNXv;
    eLXa9:
    if ($request->hasFile("zipFile")) {
      goto foEIH;
    }
    goto NQHz2;
    FC5C_:
    $zipFile = $request->file("zipFile");
    goto uvn3y;
    aDaN5:
    $activatedFileName->save();
    goto AzxnL;
    Os8Tf:
    $key = $dataFromJsonFileFromZip->key;
    goto ofHy2;
    yksWG:
    $logMessages[] = $domainObj;
    goto M_Vcs;
    wqSTv:
    IxgoZ:
    goto Ie3Ln;
    MkuPq:
    $licenseObj->message = __("license_verify_fail");
    goto rgiS1;
    cdkMM:
    $domainObj->status = "danger";
    goto J3mFT;
    wy3Zu:
    $domainObj = new \stdClass();
    goto wqL4x;
    Fjkz2:
    $activatedFileName->is_imported = 0;
    goto aDaN5;
    ofHy2:
    $project = $dataFromJsonFileFromZip->project;
    goto aCiuH;
    M_Vcs:
    ++$hasError;
    goto oLjPZ;
    G1NsM:
    $logMessages = [];
    goto yjw1b;
    c7fRj:
    $activatedFileName = new ActivatedFileName();
    goto mRLTL;
    NIZl6:
    $fileName = $zip->getNameIndex(0);
    goto eitkW;
    eZ8AW:
    c276z:
    goto m3aPT;
    kZeUr:
    $logMessages[] = $domainObj;
    goto Y5r0X;
    ZDxMa:
    $domainObj->message = __("domain_verify_success");
    goto kZeUr;
    uN3ic:
    if ($project->base_project_id !== $oldDataOfProject->base_project_id) {
      goto c276z;
    }
    goto m_ATO;
    qz0LB:
    kxUUw:
    goto r5Rel;
    VE9lr:
    $licenseObj->status = "danger";
    goto MkuPq;
    d93DY:
    $licenseObj->message = __("");
    goto n7ej2;
    oLjPZ:
    YHba1:
    goto QOIFI;
    bnNIZ:
    $baseProjectObj->message = __("license_verify_success");
    goto WRapt;
    RuUdf:
    return $dataArr;
    goto VcERW;
    kwGHZ:
    ++$hasError;
    goto cKRjZ;
    cKRjZ:
    AK69S:
    goto uN3ic;
    iWgX1:
    $dataArr = ["logMessages" => $logMessages, "hasError" => $hasError, "zipFileName" => $fileName];
    goto RuUdf;
    qRVTS:
    goto kxUUw;
    goto eZ8AW;
    Sq_Kd:
    $licenseObj = new \stdClass();
    goto VE9lr;
    n7ej2:
    $logMessages[] = $licenseObj;
    goto T_KJd;
    rgiS1:
    $logMessages[] = $licenseObj;
    goto kwGHZ;
    ewN6M:
    $file = file_get_contents($fileName);
    goto nlCMJ;
    eitkW:
    $zip->extractTo("./");
    goto vYogn;
    jS2Yb:
    Z9_qY:
    goto ewN6M;
    zRdDJ:
    $baseProjectObj->status = "danger";
    goto qdsVJ;
    mRLTL:
    $activatedFileName->file_name = $fileName;
    goto Fjkz2;
    m_ATO:
    $baseProjectObj = new \stdClass();
    goto mkRgk;
    NQHz2:
    $fileName = str_replace("zip", "json", $request->zipFile);
    goto fmF6R;
    uvn3y:
    $zip = new \ZipArchive();
    goto YY_Wb;
    xbXnT:
    $logMessages[] = $baseProjectObj;
    goto kp1hq;
    Y5r0X:
    goto YHba1;
    goto wqSTv;
    wqL4x:
    $domainObj->status = "success";
    goto ZDxMa;
    J3mFT:
    $domainObj->message = __("domain_verify_fail");
    goto yksWG;
    wBOs7:
    $licenseObj->status = "success";
    goto d93DY;
    ogzhD:
    $backendUrl = $decryptedKey[0];
    goto Row1F;
    vYogn:
    $zip->close();
    goto jS2Yb;
    vZwfV:
    config("app.key", $request->key);
    goto eLXa9;
    yjw1b:
    $oldDataOfProject = Project::first();
    goto QLfZg;
    kp1hq:
    ++$hasError;
    goto qz0LB;
    T_KJd:
    goto AK69S;
    goto dPJoQ;
    fmF6R:
    goto Z9_qY;
    goto rkqDO;
    lteI6:
    if ($backendUrl !== $oldDataOfProject->project_url) {
      goto IxgoZ;
    }
    goto wy3Zu;
    Ie3Ln:
    $domainObj = new \stdClass();
    goto cdkMM;
    vnNXv:
    $licenseObj = new \stdClass();
    goto wBOs7;
    AzxnL:
    Yzp7w:
    goto iWgX1;
    ET5bz:
    $project->ps_license_code = $psLicenseCode;
    goto g9OG0;
    qdsVJ:
    $baseProjectObj->message = __("base_proj_not_same");
    goto xbXnT;
    mkRgk:
    $baseProjectObj->status = "success";
    goto bnNIZ;
    VcERW:

Function Calls

None

Variables

None

Stats

MD5 ded246a747787a9d2e1eeebccaf121ea
Eval Count 0
Decode Time 40 ms