---
title: "URL discovery"
date: 2024-06-30
draft: false
---

# Subdomains: 
```bash
┌──(root㉿kali)-[~]
└─# ffuf -w /usr/share/wordlists/seclists/SecLists-master/Discovery/DNS/shubs-subdomains.txt -fs 15949 -fl 518 -t 150 -u http://board.htb -H "HOST: FUZZ.board.htb"
```

WHERE: -fs is normal 'size' of response for nothing interesting and likewise -fl for normal linecount 
![](/img/Pasted image 20240527125852.png)

In the scenario where you are getting status 200 regardless of what is actually being returned, you can find what size is being returned and exclude those results. 
`ffuf -u http://siteisup.htb/ -H "Host: FUZZ.siteisup.htb" -w /usr/share/wordlists/seclists/SecLists-master/Discovery/DNS/n0kovo_subdomains.txt -fs 1131`

### fuzzing php parameters in url 
```bash
ffuf -w /opt/seclists/Discovery/Web-Content/burp-parameter-names.txt -u 'https://streamio.htb/admin/?FUZZ=' -b PHPSESSID=hcdd0gnsrol8opisb09o09b9ah --fs 1678
```
