# Enumeration

## Spawn TTY

```
python -c 'import pty; pty.spawn("/bin/sh")'
```

{% embed url="<https://netsec.ws/?p=337>" %}

## NFS

```
# List exposed NFS Shares
nmap -p 111 --script=nfs-ls <host>

# Create dir to link to
mkdir /mnt/remote_nfs

# Mount exposed share and link to local dir 
mount -t nfs <IP>:</exposed/dir> /mnt/remote_nfs -o nolock

# Browse
cd /mnt/remote_nfs
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cheats.philkeeble.com/linux/untitled.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
