Fix vmmap_load on remote targets

pull/958/head
Disconnect3d 4 years ago
parent 790ba574c0
commit 71291d85ba

@ -115,7 +115,7 @@ parser.add_argument('filename', nargs='?', type=str, help='ELF filename, by defa
@pwndbg.commands.ArgparsedCommand(parser) @pwndbg.commands.ArgparsedCommand(parser)
def vmmap_load(filename): def vmmap_load(filename):
if filename is None: if filename is None:
filename = pwndbg.proc.exe filename = pwndbg.file.get_file(pwndbg.proc.exe)
print('Load "%s" ...' % filename) print('Load "%s" ...' % filename)

Loading…
Cancel
Save