Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix samples/ntcall.py for new no-kALSR leak returned value in windows
  • Loading branch information
hakril committed Aug 14, 2025
commit 650c67262529e0f486dcfec816a09ccf955845ce
5 changes: 4 additions & 1 deletion samples/ntcall.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,10 @@ def do_ntcall_from_args(args, subcall=False):
hinfo = [x for x in windows.current_process.handles if x.value == handle][0]
print(" * Name: {0}".format(hinfo.name))
print(" * Type: {0}".format(hinfo.type))
print(" * Addr: {0:#x}".format(hinfo.pAddress))
if hinfo.pAddress is not None:
print(" * Addr: {0:#x}".format(hinfo.pAddress))
else:
print(" * Addr: None")
return handle


Expand Down