Files
metasploit-gs/modules/exploits/linux/http
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-08-28 17:39:02 -04:00
2021-04-30 23:29:24 -05:00
2024-05-13 16:55:43 -04:00
2023-01-25 13:45:18 -05:00
2025-01-15 09:22:44 -08:00
2025-03-20 20:46:38 +01:00
2023-08-08 17:15:22 -04:00
2023-02-08 15:46:07 +00:00
2023-04-04 10:24:09 +01:00
2023-09-06 15:47:54 -04:00
2023-02-08 15:46:07 +00:00
2024-11-13 03:40:22 +00:00
2025-02-28 10:30:14 +00:00
2024-03-20 11:39:19 -07:00
2024-11-12 15:15:15 +00:00
2023-02-08 15:46:07 +00:00
2022-10-03 19:50:04 -04:00
2024-11-14 12:47:35 -08:00
2023-02-15 16:29:42 -05:00
2023-06-13 17:05:30 -05:00
2024-09-05 08:49:32 -07:00
2025-02-28 10:30:14 +00:00
2019-04-01 17:21:23 -05:00
2022-05-13 15:32:12 -05:00