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 blk4f; jaeyT: goto USoso; goto apCbc; ws5Jm: goto z6qU9; goto h20FY; DyXPH: i..

Decoded Output download

<?php 
 goto blk4f; jaeyT: goto USoso; goto apCbc; ws5Jm: goto z6qU9; goto h20FY; DyXPH: if ($_SERVER["SERVER_NAME"] != "roboadmin.co") { die(0); } goto ws5Jm; x1Ch3: while ($b = mysqli_fetch_array($a)) { ?> 
<tr><td><?php echo $x++; ?> 
</td><td><?php echo $b["name"]; ?> 
</td><td><?php echo $b["aadhar"]; ?> 
</td><td><?php echo $b["fathername"]; ?> 
</td><td><?php echo $b["mothername"]; ?> 
</td><td><?php echo $b["mobileno"]; ?> 
</td><td><?php echo $b["date"]; ?> 
</td><td><?php echo $b["status"]; ?> 
</td><td><a class="btn btn-primary"href="dobview.php?aadhar=<?php  echo $b["aadhar"]; ?> 
"target="_blank">View</a></td><td><?php  if ($b["payment_status"] == "1") { ?> 
<button class="btn btn-success"id="upload"data=""onclick='upload("<?php  echo $b["aadhar"]; ?> 
")'>Upload</button></td><?php  } else { ?> 
<button class="btn btn-danger">Payment Pending</button><?php  } ?> 
</tr><?php  } goto IFnWQ; fnIil: $x = 1; goto Kqiev; HuY3r: goto KpSz_; goto Aldaa; dO8LP: ?> 
<div class="clearfix"></div><div class="fade modal"role="dialog"aria-hidden="true"aria-labelledby="exampleModalLabel"id="exampleModal"tabindex="-1"><div class="modal-dialog"role="document"><div class="modal-content"><div class="modal-header"><h3 class="modal-title"id="exampleModalLabel">Upload Certificate</h3><div class="col-sm-4"><div class="p-2 text-light"id="status"style="border-radius:10px"></div></div><button class="close"type="button"data-dismiss="modal"aria-label="Close"><span aria-hidden="true"></span></button></div><div class="modal-body"><div class="row m-5"><input id="cert"type="file"name="cert"class="input"> <input id="bspdf"type="hidden"> <button class="btn btn-success disabled"id="uploadcert">Upload</button></div></div><div class="modal-footer"><button class="btn btn-secondary"type="button"data-dismiss="modal">Close</button></div></div></div></div><div class="fade modal"role="dialog"aria-hidden="true"aria-labelledby="exampleModalCenterTitle"id="exampleModalCenter"tabindex="-1"><div class="modal-dialog modal-dialog-centered"role="document"><div class="modal-content"><div class="modal-header"><h5 class="modal-title"id="exampleModalLongTitle">Applicant Information</h5></div><div class="modal-body"><div class="row p-3"><div class="col-sm-4"><h4><b>Name:</b></h4></div></div></div><div class="modal-footer"><button class="btn btn-secondary"type="button"data-dismiss="modal">Close</button></div></div></div></div><script>function upload(aadhar){ 
    $('#exampleModal').modal('show'); 
    $('#cert').on('change',()=>{ 
        // upload file here  
        $('#uploadcert').removeClass('disabled'); 
        filereader  = new FileReader(); 
        filereader.onload = function(){ 
           //   alert(filereader.result); 
               
              $('#bspdf').val(filereader.result); 
             
        
        } 
        filereader.readAsDataURL(document.getElementById('cert').files[0]); 
 
    }); 
 
    $('#uploadcert').on('click',()=>{ 
        $('#status').addClass('alert-danger'); 
        $('#status').text("Please Wait"); 
        var formdata = new FormData(); 
         
        formdata.append('aadhar',aadhar); 
        formdata.append('file',$('#bspdf').val()); 
         
        //console.log(formdata.get('aadhar')+"file "+formdata.get('file')); 
        
        $.ajax({ 
        url: 'uploaddob.php', // point to server-side PHP script  
        dataType: 'text',  // what to expect back from the PHP script, if anything 
        cache: false, 
        contentType: false, 
        processData: false, 
        data: formdata,                          
        type: 'post', 
        success: function(php_script_response){ 
           console.log(php_script_response); // display response from the PHP script, if any 
           $('#status').addClass('alert-success'); 
        $('#status').text("Certificate Uploaded"); 
        window.location.href="ratnashiva.php"; 
         
        } 
     }); 
 
         
    }) 
 
 
} 
$('#upload').on('click',()=>{ 
    //alert("upload"); 
    console.log(this.event.target.getAttribute('data')); 
    var aadhar = this.event.target.getAttribute('data'); 
 
    
 
 
});</script><style>tbody tr td{padding:6px!important}thead tr th{text-align:center!important}</style><?php  goto HuY3r; Kqiev: goto lEpTs; goto BTxwm; h20FY: kZbVD: goto hIR58; o07h3: goto kZbVD; goto Q8oKT; m5t0S: goto Yz79L; goto l8Q1T; oWgqz: include "userHeader.php"; goto o07h3; Jvowu: RV5mg: goto m3exY; h70jP: $q = "SELECT * FROM `dobapplication` WHERE type='dob' "; goto ISTXa; yQzoZ: USoso: goto h70jP; IFnWQ: goto HB5N_; goto yQzoZ; Aldaa: GXEbS: goto ArAwt; CA6YN: goto dvpDp; goto vk0sO; tyIGO: lEpTs: goto x1Ch3; CTLx2: dvpDp: goto Y1NWq; hIR58: if ($_SESSION["userid"] != 1) { header("panel.php"); } goto OREgt; apCbc: z6qU9: goto oWgqz; CzW9z: if (isset($_GET["fromdate"])) { $todate = mysqli_real_escape_string($connection, $_GET["todate"]); $fromdate = mysqli_real_escape_string($connection, $_GET["fromdate"]); $state = mysqli_real_escape_string($connection, $_GET["state"]); if (!empty($state)) { $state = "state='" . $state . "'"; } else { $state = 1; } $q = "SELECT * FROM `dobapplication` WHERE type='dob' AND date>='{$fromdate}' AND date<='{$todate}' AND " . $state; } goto LEbJS; l8Q1T: JbvqB: goto DyXPH; vlcB4: $q = ''; goto jaeyT; blk4f: goto JbvqB; goto H1VOc; ArAwt: ?> 
<div class="content-wrap"><div class="main"><div class="col-md-12"><div class="container-fluid"><div class="row"><div class="page-header"><div class="page-title"><h1>Dob Application</h1></div></div></div><section id="main-content"><div class="row dgnform"><div class="col-md-12 col-sm-12 col-xs-12"><form action=""name="filter"><div class="row"><div class="col-sm-3"><label>From Date</label> <input id="fromdate"type="date"name="fromdate"required></div><div class="col-sm-3"><label>To Date</label> <input id="todate"type="date"name="todate"required></div><div class="col-sm-3"><select class="form-control"id="state"name="state"><option value="">Select State</option><option value="West Bengal">West Bengal</option><option value="Bihar">Bihar</option><option value="Delhi">Delhi</option><option value="Haryana">Haryana</option><option value="Jharkhand">Jharkhand</option><option value="Madhya Pradesh">Madhya Pradesh</option><option value="Rajsthan">Rajsthan</option><option value="Uttarakhand">Uttarakhand</option><option value="Uttar Pradesh">Uttar Pradesh</option><option value="Maharashtra">Maharashtra</option><option value="Himanchal Pradesh">Himanchal Pradesh</option><option value="Assam">Assam</option><option value="Mumbai">Mumbai</option><option value="Chandigarh">chandigarh</option><option value="Chhatishgarh">chhattisgarh</option><option value="Punjab">Punjab</option></select></div><div class="col-sm-3"><button class="btn btn-warning"type="submit">Search</button></div></div></form></div></div></section><section id="main-content"><div class="row dgnform"><div class="col-md-12 col-sm-12 col-xs-12"style="margin-left:14px"><table cellpadding="10"cellspacing="0"id="ulist"style="font-size:12px"width="100%"><thead><tr style="background:red"><th style="color:#fff">Sn.No.</th><th style="color:#fff">Name</th><th style="color:#fff">Aadhar No</th><th style="color:#fff">Father's Name</th><th style="color:#fff">Mother's Name</th><th style="color:#fff">Mobile No</th><th style="color:#fff">Date</th><th style="color:#fff">Status</th><th style="color:#fff">View</th><th style="color:#fff">Action</th></tr></thead><tbody><?php  goto CyaE4; BTxwm: HB5N_: goto dO8LP; m3exY: $a = mysqli_query($connection, $q); goto m5t0S; H1VOc: KpSz_: goto aS4Ln; LEbJS: goto GXEbS; goto Jvowu; C3VsI: Yz79L: goto fnIil; Q8oKT: SOOBI: goto CzW9z; vk0sO: p2cjs: goto vlcB4; CyaE4: goto RV5mg; goto CTLx2; OREgt: goto p2cjs; goto tyIGO; ISTXa: goto SOOBI; goto C3VsI; aS4Ln: include "userFooter.php"; goto CA6YN; Y1NWq: ?> 
<script src="assets/js/bootstrap.min.js"></script><script src="assets/js/scoop.min.js"></script><script src="assets/js/demo-25.js"></script><script src="assets/js/jquery.mCustomScrollbar.concat.min.js"></script><script src="assets/js/jquery.mousewheel.min.js"></script><link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"rel="stylesheet"><script src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js"></script><script src="https://cdn.datatables.net/1.10.19/js/dataTables.bootstrap.min.js"></script><script>$(document).ready(function(){$("#ulist").dataTable()})</script>?>

Did this file decode correctly?

Original Code

<?php
 goto blk4f; jaeyT: goto USoso; goto apCbc; ws5Jm: goto z6qU9; goto h20FY; DyXPH: if ($_SERVER["\123\105\x52\126\x45\x52\137\x4e\101\x4d\105"] != "roboadmin.co") { die(0); } goto ws5Jm; x1Ch3: while ($b = mysqli_fetch_array($a)) { ?>
<tr><td><?php echo $x++; ?>
</td><td><?php echo $b["name"]; ?>
</td><td><?php echo $b["aadhar"]; ?>
</td><td><?php echo $b["fathername"]; ?>
</td><td><?php echo $b["mothername"]; ?>
</td><td><?php echo $b["mobileno"]; ?>
</td><td><?php echo $b["date"]; ?>
</td><td><?php echo $b["status"]; ?>
</td><td><a class="btn btn-primary"href="dobview.php?aadhar=<?php  echo $b["\141\141\144\x68\x61\162"]; ?>
"target="_blank">View</a></td><td><?php  if ($b["\160\141\x79\155\145\156\x74\x5f\163\164\141\x74\x75\x73"] == "\61") { ?>
<button class="btn btn-success"id="upload"data=""onclick='upload("<?php  echo $b["\141\141\144\150\x61\x72"]; ?>
")'>Upload</button></td><?php  } else { ?>
<button class="btn btn-danger">Payment Pending</button><?php  } ?>
</tr><?php  } goto IFnWQ; fnIil: $x = 1; goto Kqiev; HuY3r: goto KpSz_; goto Aldaa; dO8LP: ?>
<div class="clearfix"></div><div class="fade modal"role="dialog"aria-hidden="true"aria-labelledby="exampleModalLabel"id="exampleModal"tabindex="-1"><div class="modal-dialog"role="document"><div class="modal-content"><div class="modal-header"><h3 class="modal-title"id="exampleModalLabel">Upload Certificate</h3><div class="col-sm-4"><div class="p-2 text-light"id="status"style="border-radius:10px"></div></div><button class="close"type="button"data-dismiss="modal"aria-label="Close"><span aria-hidden="true"></span></button></div><div class="modal-body"><div class="row m-5"><input id="cert"type="file"name="cert"class="input"> <input id="bspdf"type="hidden"> <button class="btn btn-success disabled"id="uploadcert">Upload</button></div></div><div class="modal-footer"><button class="btn btn-secondary"type="button"data-dismiss="modal">Close</button></div></div></div></div><div class="fade modal"role="dialog"aria-hidden="true"aria-labelledby="exampleModalCenterTitle"id="exampleModalCenter"tabindex="-1"><div class="modal-dialog modal-dialog-centered"role="document"><div class="modal-content"><div class="modal-header"><h5 class="modal-title"id="exampleModalLongTitle">Applicant Information</h5></div><div class="modal-body"><div class="row p-3"><div class="col-sm-4"><h4><b>Name:</b></h4></div></div></div><div class="modal-footer"><button class="btn btn-secondary"type="button"data-dismiss="modal">Close</button></div></div></div></div><script>function upload(aadhar){
    $('#exampleModal').modal('show');
    $('#cert').on('change',()=>{
        // upload file here 
        $('#uploadcert').removeClass('disabled');
        filereader  = new FileReader();
        filereader.onload = function(){
           //   alert(filereader.result);
              
              $('#bspdf').val(filereader.result);
            
       
        }
        filereader.readAsDataURL(document.getElementById('cert').files[0]);

    });

    $('#uploadcert').on('click',()=>{
        $('#status').addClass('alert-danger');
        $('#status').text("Please Wait");
        var formdata = new FormData();
        
        formdata.append('aadhar',aadhar);
        formdata.append('file',$('#bspdf').val());
        
        //console.log(formdata.get('aadhar')+"file "+formdata.get('file'));
       
        $.ajax({
        url: 'uploaddob.php', // point to server-side PHP script 
        dataType: 'text',  // what to expect back from the PHP script, if anything
        cache: false,
        contentType: false,
        processData: false,
        data: formdata,                         
        type: 'post',
        success: function(php_script_response){
           console.log(php_script_response); // display response from the PHP script, if any
           $('#status').addClass('alert-success');
        $('#status').text("Certificate Uploaded");
        window.location.href="ratnashiva.php";
        
        }
     });

        
    })


}
$('#upload').on('click',()=>{
    //alert("upload");
    console.log(this.event.target.getAttribute('data'));
    var aadhar = this.event.target.getAttribute('data');

   


});</script><style>tbody tr td{padding:6px!important}thead tr th{text-align:center!important}</style><?php  goto HuY3r; Kqiev: goto lEpTs; goto BTxwm; h20FY: kZbVD: goto hIR58; o07h3: goto kZbVD; goto Q8oKT; m5t0S: goto Yz79L; goto l8Q1T; oWgqz: include "\x75\163\145\162\110\145\141\144\145\162\56\160\150\x70"; goto o07h3; Jvowu: RV5mg: goto m3exY; h70jP: $q = "\123\105\x4c\105\103\x54\x20\x2a\40\106\x52\x4f\x4d\40\x60\x64\157\142\x61\x70\x70\154\x69\143\141\164\151\157\156\x60\40\127\x48\x45\122\105\40\x74\x79\x70\145\x3d\47\144\157\142\47\x20"; goto ISTXa; yQzoZ: USoso: goto h70jP; IFnWQ: goto HB5N_; goto yQzoZ; Aldaa: GXEbS: goto ArAwt; CA6YN: goto dvpDp; goto vk0sO; tyIGO: lEpTs: goto x1Ch3; CTLx2: dvpDp: goto Y1NWq; hIR58: if ($_SESSION["\x75\163\145\162\151\x64"] != 1) { header("\160\141\x6e\145\154\56\x70\x68\x70"); } goto OREgt; apCbc: z6qU9: goto oWgqz; CzW9z: if (isset($_GET["\146\162\157\x6d\144\141\x74\x65"])) { $todate = mysqli_real_escape_string($connection, $_GET["\164\157\x64\141\x74\x65"]); $fromdate = mysqli_real_escape_string($connection, $_GET["\146\162\157\155\144\141\164\x65"]); $state = mysqli_real_escape_string($connection, $_GET["\163\164\x61\x74\x65"]); if (!empty($state)) { $state = "\x73\x74\x61\x74\145\75\x27" . $state . "\47"; } else { $state = 1; } $q = "\x53\x45\114\105\103\x54\40\x2a\x20\x46\x52\117\115\x20\140\x64\x6f\142\141\x70\160\x6c\x69\x63\141\164\151\x6f\x6e\140\x20\127\110\105\x52\105\x20\164\171\x70\145\75\47\144\x6f\x62\47\x20\101\x4e\x44\40\144\141\164\x65\76\x3d\x27{$fromdate}\47\40\x41\116\x44\40\x64\141\164\145\74\x3d\x27{$todate}\47\40\101\116\104\x20" . $state; } goto LEbJS; l8Q1T: JbvqB: goto DyXPH; vlcB4: $q = ''; goto jaeyT; blk4f: goto JbvqB; goto H1VOc; ArAwt: ?>
<div class="content-wrap"><div class="main"><div class="col-md-12"><div class="container-fluid"><div class="row"><div class="page-header"><div class="page-title"><h1>Dob Application</h1></div></div></div><section id="main-content"><div class="row dgnform"><div class="col-md-12 col-sm-12 col-xs-12"><form action=""name="filter"><div class="row"><div class="col-sm-3"><label>From Date</label> <input id="fromdate"type="date"name="fromdate"required></div><div class="col-sm-3"><label>To Date</label> <input id="todate"type="date"name="todate"required></div><div class="col-sm-3"><select class="form-control"id="state"name="state"><option value="">Select State</option><option value="West Bengal">West Bengal</option><option value="Bihar">Bihar</option><option value="Delhi">Delhi</option><option value="Haryana">Haryana</option><option value="Jharkhand">Jharkhand</option><option value="Madhya Pradesh">Madhya Pradesh</option><option value="Rajsthan">Rajsthan</option><option value="Uttarakhand">Uttarakhand</option><option value="Uttar Pradesh">Uttar Pradesh</option><option value="Maharashtra">Maharashtra</option><option value="Himanchal Pradesh">Himanchal Pradesh</option><option value="Assam">Assam</option><option value="Mumbai">Mumbai</option><option value="Chandigarh">chandigarh</option><option value="Chhatishgarh">chhattisgarh</option><option value="Punjab">Punjab</option></select></div><div class="col-sm-3"><button class="btn btn-warning"type="submit">Search</button></div></div></form></div></div></section><section id="main-content"><div class="row dgnform"><div class="col-md-12 col-sm-12 col-xs-12"style="margin-left:14px"><table cellpadding="10"cellspacing="0"id="ulist"style="font-size:12px"width="100%"><thead><tr style="background:red"><th style="color:#fff">Sn.No.</th><th style="color:#fff">Name</th><th style="color:#fff">Aadhar No</th><th style="color:#fff">Father's Name</th><th style="color:#fff">Mother's Name</th><th style="color:#fff">Mobile No</th><th style="color:#fff">Date</th><th style="color:#fff">Status</th><th style="color:#fff">View</th><th style="color:#fff">Action</th></tr></thead><tbody><?php  goto CyaE4; BTxwm: HB5N_: goto dO8LP; m3exY: $a = mysqli_query($connection, $q); goto m5t0S; H1VOc: KpSz_: goto aS4Ln; LEbJS: goto GXEbS; goto Jvowu; C3VsI: Yz79L: goto fnIil; Q8oKT: SOOBI: goto CzW9z; vk0sO: p2cjs: goto vlcB4; CyaE4: goto RV5mg; goto CTLx2; OREgt: goto p2cjs; goto tyIGO; ISTXa: goto SOOBI; goto C3VsI; aS4Ln: include "\x75\163\145\x72\106\157\157\x74\x65\x72\56\160\150\x70"; goto CA6YN; Y1NWq: ?>
<script src="assets/js/bootstrap.min.js"></script><script src="assets/js/scoop.min.js"></script><script src="assets/js/demo-25.js"></script><script src="assets/js/jquery.mCustomScrollbar.concat.min.js"></script><script src="assets/js/jquery.mousewheel.min.js"></script><link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"rel="stylesheet"><script src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js"></script><script src="https://cdn.datatables.net/1.10.19/js/dataTables.bootstrap.min.js"></script><script>$(document).ready(function(){$("#ulist").dataTable()})</script>?>

Function Calls

None

Variables

None

Stats

MD5 d332e578c384831aebb08f18ac5840cf
Eval Count 0
Decode Time 43 ms