Files
metasploit-gs/documentation/modules/exploit
Chocapikk 39a5d710aa Refactor module: modularization, session-path leak, randomized key, improved check
- Centralized fetch_cookies_and_csrf and execute_via_session methods for clarity
- Added leak_session_path() to call send_transform("phpinfo") and parse session.save_path via XPath
- In check(): first try to leak the PHP session directory (report vulnerable if successful), then perform a simple RCE check by summing two 4-digit random numbers with print_r()
- Stub injection now happens once in fetch_cookies_and_csrf; execute_via_session only needs the payload
- Randomized the "as hack" key in send_transform
- Simplified exploit() to reuse execute_via_session with a Base64-encoded payload
- Big thanks to @jvoisin for the suggestions!
2025-04-30 00:24:25 +02:00
..
2023-10-10 14:46:18 -04:00
2023-10-10 14:46:18 -04:00
2020-08-14 14:14:08 +07:00
2024-06-14 11:02:31 -07:00
2023-10-10 14:46:18 -04:00
2025-04-14 08:24:44 +02:00
2023-10-10 14:46:18 -04:00
2025-04-16 17:59:53 -07:00