!C99Shell v. 1.0 pre-release build #13!

Software: Apache. PHP/5.5.15 

uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 

SYSTEM 

Safe-mode: OFF (not secure)

C:\Program Files (x86)\WebLog Expert\WebServer\WebApp\Files\   drwxrwxrwx
Free 4.1 GB of 39.52 GB (10.37%)
Detected drives: [ a ] [ c ] [ d ] [ e ] [ f ]
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     TreeViewFix.js (3.88 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
var OriginalTreeView_ToggleNode = TreeView_ToggleNode;
var OriginalTreeView_SelectNode = TreeView_SelectNode;

function MyTreeView_ToggleNode(data, index, node, lineType, children) {
    var st = node.id;
    var iNum = -1;
    for (var i = st.length - 1; i >= 0; i--) {
        if ((st.charAt(i) >= '0') && (st.charAt(i) <= '9'))
            iNum = i;
        else
            break;
    }

    if (iNum >= 0) {
        var iNode = parseInt(st.substr(iNum, st.length - iNum));
        st = st.substr(0, iNum - 1);
        if (document.getElementById(st + 'n' + iNode + 'Nodes') != null) //Folder
        {
            //Collapse all nodes except this one
            i = 0;
            while (document.getElementById(st + 't' + i) != null) {
                if (i != iNode) {
                    var nodes = document.getElementById(st + 'n' + i + 'Nodes');
                    if ((nodes != null) && (nodes.style.display == "block"))
                        OriginalTreeView_ToggleNode(data, i, document.getElementById(st + 'n' + i), '', document.getElementById(st + 'n' + i + 'Nodes'));
                }
                i++;
            }

            //Expand/collapse this node
            OriginalTreeView_ToggleNode(data, iNode, document.getElementById(st + 'n' + iNode), '', document.getElementById(st + 'n' + iNode + 'Nodes'));
        }
    }
}

function MyTreeView_SelectNode(data, node, nodeId) {
    var st = node.id;
    var iNum = -1;
    for (var i = st.length - 1; i >= 0; i--) {
        if ((st.charAt(i) >= '0') && (st.charAt(i) <= '9'))
            iNum = i;
        else
            break;
    }

    if (iNum >= 0) {
        var iNode = parseInt(st.substr(iNum, st.length - iNum));
        st = st.substr(0, iNum - 1);
        if (document.getElementById(st + 'n' + iNode + 'Nodes') != null) //Folder
        {
            //Collapse all nodes except this one
            i = 0;
            while (document.getElementById(st + 't' + i) != null) {
                if (i != iNode)
                {
                    var nodes = document.getElementById(st + 'n' + i + 'Nodes');
                    if ((nodes != null) && (nodes.style.display == "block"))
                        OriginalTreeView_ToggleNode(data, i, document.getElementById(st + 'n' + i), '', document.getElementById(st + 'n' + i + 'Nodes'));
                }
                i++;
            }

            //Expand this node
            if (document.getElementById(st + 'n' + iNode + 'Nodes').style.display == "none")
                OriginalTreeView_ToggleNode(data, iNode, document.getElementById(st + 'n' + iNode), '', document.getElementById(st + 'n' + iNode + 'Nodes'));
        }
    }

    OriginalTreeView_SelectNode(data, node, nodeId);
}

function MyTreeView_SelectNodeByData(treeId, data, run) {
    i = 0;
    var folderId = -1;
    var node;
    while ((node = document.getElementById(treeId + 't' + i)) != null) {
        if (document.getElementById(treeId + 'n' + i + 'Nodes') != null)
            folderId = i;
        else {
            st = node.href;
            if (st != null)
                if (st.indexOf(data) != -1) {
                    var nodes = document.getElementById(treeId + 'n' + folderId + 'Nodes');
                    if ((nodes != null) && (nodes.style.display == "none"))
                        MyTreeView_ToggleNode(eval(treeId + "_Data"), folderId, document.getElementById(treeId + 'n' + folderId), '', document.getElementById(treeId + 'n' + folderId + 'Nodes'));
                    if (run) {
                        if (st.indexOf("javascript:") == 0)
                            st = st.substr(11);
                        eval(decodeURI(st));
                    }
                    return;
                }
        }
        i++;
    }
}

TreeView_ToggleNode = MyTreeView_ToggleNode;
TreeView_SelectNode = MyTreeView_SelectNode;

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0312 ]--