Bug #2485
Meterpreter scripts need platform checks
| Status: | Closed | Start date: | 09/02/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | Carlos Perez | % Done: | 0% |
|
| Category: | meterpreter - win32 | |||
| Target version: | Open Backlog | |||
| Resolution: | Release Note: |
Description
Many meterpreter scripts are currently windows only. These will fail spectacularly when run on PHP / java meterpreter. Platform checks need to be included to ensure that scripts will only run in cases where they can succeed.
History
Updated by Carlos Perez over 1 year ago
- Assignee changed from HD Moore to Carlos Perez
I will test and set the proper checks for platform and os
Updated by philip sanderson over 1 year ago
related to feature #2453
Updated by Carlos Perez over 1 year ago
- Status changed from New to Closed
All scripts perform this check now
if client.platform =~ /win32|win64/
........
else
print_error("This version of Meterpreter is not supported with this Script!")
raise Rex::Script::Completed
end