> For the complete documentation index, see [llms.txt](https://michel-disbergen.gitbook.io/hack-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://michel-disbergen.gitbook.io/hack-notes/services/x-general-checks.md).

# X - General checks

### Unknown port (x)

* [ ] **1. general checks unknown ports**

```bash
# 1. 'nmap' and 'nc'
nmap -sC -sV -p x {{RHOST}}
nc -vn {{RHOST}} x

# 2. after connecting with netcat, try common commands like:
help
?
ls
info
```
