# eJPT Preparation Course - PHD Security

### Zone Transfer

```
dig axfr @10.10.10.123 friendzone.red > zone
```

<figure><img src="https://1800769471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMONa7zk7kp6ZcSypVELv%2Fuploads%2Fef27IE4ByOgueEABxQq0%2Fimage.png?alt=media&#x26;token=271b9d37-08fd-4553-aae0-ba9e7d349397" alt=""><figcaption></figcaption></figure>

```
cat zone | grep friendzone | grep IN | awk '{print $1}' | sort -u
```

<figure><img src="https://1800769471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMONa7zk7kp6ZcSypVELv%2Fuploads%2FpxcrU2nk5J2BGfmwztDz%2Fimage.png?alt=media&#x26;token=e8329517-41e9-403f-806b-c040cca54712" alt=""><figcaption></figcaption></figure>

### WpScan

```
 wpscan --url https://xalgord.in -e ap --plugins-detection aggressive
```

* e - enum
* ap - all plugins
