01.DISCOVERY

web shells has to be written in the same programming language that runs the web server

#identify what language runs the web application.
#method 1: visit the /index.{ext}
root@oco:~$ BROWSER > {targetSite:port}/index.{ext}
 * swap out ext with various common web extensions, like php, asp, aspx
   to see whether any of them exist.
 * the index page is usually hidden by default
 
#method 2: burp suite extension fuzzing

#method 3: 
root@oco:~$ BROWSER > https://chromewebstore.google.com/category/extensions?utm_source=ext_sidebar&hl=en-US
 search: wappalyzer
 
root@oco:~$ BROWSER > {targetSite:port} > wappalyzer
 technologies: ...
#test whether you can upload a file with the same extension
root@oco:~$ nano test.php
 <?php echo "test";?>
 
root@oco:~$ BROWSER > {targetSite:port} > upload
 * File successfully uploaded
 * this means that the web application has no file validation on the back-end

FUZZ ALLOWABLE EXTENSIONS

FUZZ ALLOWABLE CONTENT

Last updated