# Linux commands

**add a route**

ip route add 192.168.222.0/24 via 10.175.34.1

**enumerate Virtual Hosts:**

gobuster vhost -u <https://mysite.com> -w common-vhosts.txt

AWS S3:\
**aws s3 cp s3://$bucketnameOrURI/file $localpath**

## [How do I find all files containing specific text on Linux](https://stackoverflow.com/questions/16956810/how-do-i-find-all-files-containing-specific-text-on-linux)

```bash
grep -rnw '/path/to/somewhere/' -e 'pattern'
```

**Zone transfer**

```
dig axfr zonetransfer.me @nsztm1.digi.ninja
```

\
**Some Wordlists** :thumbsup:

{% embed url="<https://raw.githubusercontent.com/danielmiessler/SecLists/master/Discovery/Web-Content/Common-PHP-Filenames.txt>" %}

{% embed url="<https://github.com/v0re/dirb/blob/master/wordlists/common.txt>" %}
