G00g

Enumeration

http://192.168.145.144

Basic login:
admin:admin

In page source:
<!-- itemir/apache_2fa -->

https://github.com/itemir/apache_2fa

POST /checkpost.php HTTP/1.1
...
job=ps

The response:
HTTP/1.1 302 Found
Location: /index.php?workon=am9iPXBz

am9iPXBz -> Base64 decoded job=ps

View Result -> /spool/viewresult.php?view=192.168.49.145_1639874661.txt

Directory traversal -> view parameter

https://github.com/itemir/apache_2fa/blob/master/tokens.json

Firefox plugin -> https://addons.mozilla.org/en-US/firefox/addon/auth-helper/

Add -> Manual Entry -> Use this secret:"[REDACTED]" to generate code.

Initial Access

PrivEsc

Last updated