Admin Access

System Information

Server Info

Click to view system details

Running Processes

Click to view active processes

Network Status

Click to view network information

Environment Variables

Click to view environment

', 'API key exposed: ak_live_123456789' ]; var html = '

System Logs

'; document.getElementById('adminContent').innerHTML = html; } function showSecrets() { var secrets = { 'Database Password': 'db_super_secret_2023!', 'API Keys': 'ak_live_123456789, ak_test_987654321', 'Admin Token': 'admin_secret_token_abc123', 'Encryption Key': 'encryption_key_xyz789', 'JWT Secret': 'jwt_secret_very_secure_key', 'SSL Private Key': '-----BEGIN PRIVATE KEY----- [truncated]' }; var html = '

Application Secrets

'; document.getElementById('adminContent').innerHTML = html; } function executeCommand() { document.getElementById('commandForm').style.display = 'block'; } function runCommand() { var command = document.getElementById('commandInput').value; // Simulate command execution results var results = { 'ls': 'admin.php config.php database.sql users.txt passwords.txt', 'whoami': 'root', 'pwd': '/var/www/html', 'cat /etc/passwd': 'root:x:0:0:root:/root:/bin/bash\nadmin:x:1000:1000:admin:/home/admin:/bin/bash', 'ps aux': 'root 1234 apache2\nroot 5678 mysql\nroot 9999 backdoor.sh' }; var result = results[command] || 'Command executed: ' + command + '\nOutput: [simulated result]'; document.getElementById('adminContent').innerHTML = '

Command Output

' + result + '
'; } function executeSql() { var query = document.getElementById('sqlQuery').value; // Simulate SQL results var results = [ {id: 1, username: 'admin', password_hash: '$2y$10$example', email: 'admin@vulnsite.com'}, {id: 2, username: 'test', password_hash: '$2y$10$example2', email: 'test@vulnsite.com'} ]; var html = '

Query Results

'; results.forEach(function(row) { html += ''; }); html += '
IDUsernamePassword HashEmail
' + row.id + '' + row.username + '' + row.password_hash + '' + row.email + '
'; document.getElementById('sqlResults').innerHTML = html; } function listFiles() { var path = document.getElementById('filePath').value; var files = ['config.php', 'database.sql', 'admin.php', 'uploads/', 'logs/', 'backup.zip']; var html = '

Files in ' + path + '

'; document.getElementById('fileContent').innerHTML = html; } function readFile() { var path = document.getElementById('filePath').value; var content = ''; document.getElementById('fileContent').innerHTML = '

File Content

' + content + '
'; } function writeFile() { alert('File written successfully'); } function deleteFile() { alert('File deleted successfully'); } function uploadAdminFile() { alert('File uploaded successfully'); } function showSystemInfo() { var info = 'OS: Ubuntu 20.04\nPHP Version: 7.4.3\nMySQL Version: 8.0.25\nApache Version: 2.4.41\nPython Version: 3.8.10'; document.getElementById('systemInfoContent').innerHTML = '

System Information

' + info + '
'; } function showProcesses() { var processes = 'PID: 1234 - apache2\nPID: 5678 - mysqld\nPID: 9999 - backdoor.sh\nPID: 1111 - ssh'; document.getElementById('systemInfoContent').innerHTML = '

Running Processes

' + processes + '
'; } function showNetworkInfo() { var network = 'Interface: eth0\nIP: 192.168.1.100\nNetmask: 255.255.255.0\nGateway: 192.168.1.1\nDNS: 8.8.8.8, 8.8.4.4'; document.getElementById('systemInfoContent').innerHTML = '

Network Information

' + network + '
'; } function showEnvironment() { var env = 'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\nHOME=/root\nUSER=root\nAPI_KEY=ak_live_123456789\nDB_PASSWORD=secret123'; document.getElementById('systemInfoContent').innerHTML = '

Environment Variables

' + env + '
'; }