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 error_reporting(0); if(isset($_POST['submit'])){ #header('refresh: 2'..

Decoded Output download

<?php 
 
 
error_reporting(0); 
 
 
if(isset($_POST['submit'])){ 
    #header('refresh: 2'); 
$td=$_POST['td']; 
    $refer=$_POST['UCP6Q']; 
$paytm = $_POST['paytm']; 
define('AES_128_CBC', 'aes-128-cbc'); 
$encryption_key = 'Bar12345Bar12345';$iv = ''; 
 
$url = "https://be.payboard.in/PayBoard/rest/authenticate/signupEncToken"; 
$sss = ')C   #(  VlG    yboard","appPrivateStoragePath":"/data/user/0/com.money91/files","countryCode":"+91","deviceId":"12ce13d'.$td.'","deviceType":"Android","phone":"'.$td.'","playInstallReferrerModelCustom":{"keyInstallReferrer":"utm_source=google-play&utm_medium=organic","referrerBeginTimestampSeconds":0,"referrerClickTimestampSeconds":0},"userSetting":{"language":{"id":"2","language":"","language_code":"hi"},"notificationEnabled":true,"verifiedVia":"PHONE"},"userSource":"dailyboard"}'; 
$encrypted = openssl_encrypt($sss, AES_128_CBC, $encryption_key, 0, $iv); 
 
$ash = "$encrypted"; 
$data = '{ 
  "data": "'.$ash.'"}'; 
; 
$ashit[]='appName: dailyboard'; 
$ashit[]='vcode: 68'; 
$ashit[]='vname: 2.3.3'; 
$ashit[]='lang: hi'; 
$ashit[]='source: dailyboard'; 
$ashit[]='density: xhdpi'; 
$ashit[]='Content-Type: application/json; charset=UTF-8'; 
$ashigt[]='Content-Length: 951'; 
$ashit[]='Host: be.payboard.in'; 
$ashit[]='Connection: Keep-Alive'; 
$ashitg[]='Accept-Encoding: gzip'; 
$ashit[]='User-Agent: okhttp/3.9.0'; 
$ashit[]='Content-length: '.strlen($data).''; 
 $ch = curl_init(); 
 curl_setopt($ch, CURLOPT_URL,$url); 
 curl_setopt($ch, CURLOPT_POST, 1); 
 curl_setopt($ch, CURLOPT_POSTFIELDS,$data); 
 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
    curl_setopt($ch, CURLOPT_HTTPHEADER,$ashit); 
 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); 
 $output2= curl_exec ($ch); 
 $json2=json_decode($output2,true); 
 curl_close ($ch); 
 $aa= $json2['message']; 
 
  
    if($aa=="success"){ 
echo "<center><font color='green'>Otp Send Sucess</font></center><hr>"; 
 
 
echo" 
<form method='get' action='red.php'><font color='Red'></font> <label></label> 
     
   <input type='hidden' value='$td' name='td'> 
   <input type='hidden' value='$paytm' name='paytm'> 
    
    <input type='text' name='otp' placeholder='Enter Your otp'> <br> 
 
     <input type='submit' name='submitt' value='Verfy'> 
</form></div></fieldset>"; 
    } 
else { 
    echo "<center><font color='red'>Problem there   </font></div></center>"; 
} 
 
} 
     
     
         
         
if(!isset($_POST['submit'])){ 
     
        echo"<form action='' method='post'> 
         
                  
 
<input type='text' name='td'  class='text' placeholder='Enter Your Number' required><br/> 
 <input type='text' name='paytm'  class='text' placeholder='Enter Your Paytm Number' required><br/> 
 
<input type='submit' class='submit' name='submit' value='Submit'></form>"; 
         
} 
?>

Did this file decode correctly?

Original Code

<?php


error_reporting(0);


if(isset($_POST['submit'])){
    #header('refresh: 2');
$td=$_POST['td'];
    $refer=$_POST['UCP6Q'];
$paytm = $_POST['paytm'];
define('AES_128_CBC', 'aes-128-cbc');
$encryption_key = 'Bar12345Bar12345';$iv = '';

$url = "https://be.payboard.in/PayBoard/rest/authenticate/signupEncToken";
$sss = ')C   #(  VlG    yboard","appPrivateStoragePath":"/data/user/0/com.money91/files","countryCode":"+91","deviceId":"12ce13d'.$td.'","deviceType":"Android","phone":"'.$td.'","playInstallReferrerModelCustom":{"keyInstallReferrer":"utm_source\u003dgoogle-play\u0026utm_medium\u003dorganic","referrerBeginTimestampSeconds":0,"referrerClickTimestampSeconds":0},"userSetting":{"language":{"id":"2","language":"","language_code":"hi"},"notificationEnabled":true,"verifiedVia":"PHONE"},"userSource":"dailyboard"}';
$encrypted = openssl_encrypt($sss, AES_128_CBC, $encryption_key, 0, $iv);

$ash = "$encrypted";
$data = '{
  "data": "'.$ash.'"}';
;
$ashit[]='appName: dailyboard';
$ashit[]='vcode: 68';
$ashit[]='vname: 2.3.3';
$ashit[]='lang: hi';
$ashit[]='source: dailyboard';
$ashit[]='density: xhdpi';
$ashit[]='Content-Type: application/json; charset=UTF-8';
$ashigt[]='Content-Length: 951';
$ashit[]='Host: be.payboard.in';
$ashit[]='Connection: Keep-Alive';
$ashitg[]='Accept-Encoding: gzip';
$ashit[]='User-Agent: okhttp/3.9.0';
$ashit[]='Content-length: '.strlen($data).'';
 $ch = curl_init();
 curl_setopt($ch, CURLOPT_URL,$url);
 curl_setopt($ch, CURLOPT_POST, 1);
 curl_setopt($ch, CURLOPT_POSTFIELDS,$data);
 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_HTTPHEADER,$ashit);
 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
 $output2= curl_exec ($ch);
 $json2=json_decode($output2,true);
 curl_close ($ch);
 $aa= $json2['message'];

 
    if($aa=="success"){
echo "<center><font color='green'>Otp Send Sucess</font></center><hr>";


echo"
<form method='get' action='red.php'><font color='Red'></font> <label></label>
    
   <input type='hidden' value='$td' name='td'>
   <input type='hidden' value='$paytm' name='paytm'>
   
    <input type='text' name='otp' placeholder='Enter Your otp'> <br>

     <input type='submit' name='submitt' value='Verfy'>
</form></div></fieldset>";
    }
else {
    echo "<center><font color='red'>Problem there   </font></div></center>";
}

}
    
    
        
        
if(!isset($_POST['submit'])){
    
        echo"<form action='' method='post'>
        
                 

<input type='text' name='td'  class='text' placeholder='Enter Your Number' required><br/>
 <input type='text' name='paytm'  class='text' placeholder='Enter Your Paytm Number' required><br/>

<input type='submit' class='submit' name='submit' value='Submit'></form>";
        
}
?>

Function Calls

define 1
error_reporting 1

Variables

$td None
$paytm None
$refer None

Stats

MD5 9b060bcdd4444398490fc27e1865f51c
Eval Count 0
Decode Time 85 ms