File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
lib/rex/post/meterpreter/ui/console/command_dispatcher Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ def commands
37
37
38
38
def cmd_dump_ram ( *args )
39
39
unless args [ 0 ]
40
- print_error ( "Usage: dump_ram [raw-memory-file ]" )
40
+ print_error ( "Usage: dump_ram [output_file ]" )
41
41
return
42
42
end
43
43
path_raw = args [ 0 ]
@@ -46,16 +46,16 @@ def cmd_dump_ram(*args)
46
46
memory_size , response_code , channel = client . winpmem . dump_ram
47
47
case response_code
48
48
when WINPMEM_ERROR_FAILED_LOAD_DRIVER
49
- print_bad ( "Failed to load the driver" )
49
+ print_error ( "Failed to load the driver" )
50
50
return true
51
51
when WINPMEM_ERROR_FAILED_MEMORY_GEOMETRY
52
- print_bad ( "Failed to get the memory geometry" )
52
+ print_error ( "Failed to get the memory geometry" )
53
53
return true
54
54
when WINPMEM_ERROR_FAILED_ALLOCATE_MEMORY
55
- print_bad ( "Failed to allocate memory" )
55
+ print_error ( "Failed to allocate memory" )
56
56
return true
57
57
when WINPMEM_ERROR_FAILED_METERPRETER_CHANNEL
58
- print_bad ( "Failed to open the meterpreter Channel" )
58
+ print_error ( "Failed to open the meterpreter Channel" )
59
59
return true
60
60
end
61
61
print_good ( "Driver PMEM loaded successfully" )
You can’t perform that action at this time.
0 commit comments