Files
metasploit-gs/documentation/modules/exploit/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-10-10 14:46:18 -04:00
2023-08-08 17:44:35 -04:00
2018-02-20 19:35:10 +00:00
2020-06-12 10:46:44 -04:00
2024-11-11 12:40:56 -08:00
2024-05-13 16:55:43 -04:00
2023-10-10 14:46:18 -04:00
2020-01-20 21:26:59 -05:00
2023-01-25 13:45:18 -05:00
2025-01-15 09:22:44 -08:00
2020-01-16 11:41:12 -05:00
2023-10-10 14:46:18 -04:00
2017-11-10 18:15:22 -06:00
2024-07-31 15:43:03 +09:00
2021-03-31 14:02:32 -05:00
2023-10-10 14:46:18 -04:00
2023-10-10 14:46:18 -04:00
2024-04-15 11:06:50 +08:00
2023-08-08 17:15:22 -04:00
2020-06-26 11:29:59 +07:00
2018-07-10 11:51:57 -05:00
2025-02-17 20:32:43 +09:00
2016-05-30 06:33:48 -04:00
2021-06-10 09:35:42 -05:00
2016-05-30 10:25:49 -04:00
2020-06-10 02:13:38 +03:00
2022-11-23 13:26:19 -06:00
2019-01-08 13:25:13 -06:00
2021-01-22 01:06:14 -06:00
2024-09-01 23:26:11 +01:00
2017-02-23 07:44:45 +00:00
2018-02-02 20:08:38 -05:00
2024-12-17 17:26:20 +00:00
2022-09-13 12:40:59 -04:00
2018-05-06 22:32:26 -05:00
2019-01-18 19:38:30 -05:00
2019-11-12 02:46:18 -06:00
2023-02-15 16:29:42 -05:00
2020-01-16 11:41:12 -05:00
2024-08-20 12:59:52 +09:00
2020-11-11 15:57:38 -06:00
2020-01-16 10:49:22 -05:00
2024-08-23 23:21:49 +01:00
2018-09-10 21:08:30 -04:00
2023-11-21 18:28:28 +01:00
2021-07-12 20:54:54 -05:00
2023-10-10 14:46:18 -04:00
2019-04-01 17:21:23 -05:00
2022-05-13 13:41:05 -07:00