mirror of
https://github.com/monoxgas/sRDI
synced 2026-06-06 16:14:36 +00:00
Use the input_rdll argument from argparser
This commit is contained in:
@@ -14,7 +14,7 @@ def main():
|
||||
output_bin = input_rdll.replace('.dll', '.bin')
|
||||
|
||||
print('Creating Shellcode: {}'.format(output_bin))
|
||||
dll = open(sys.argv[1], 'rb').read()
|
||||
dll = open(arguments.input_rdll, 'rb').read()
|
||||
|
||||
converted_dll = ConvertToShellcode(dll, HashFunctionName(arguments.function_name))
|
||||
with open(output_bin, 'wb') as f:
|
||||
|
||||
Reference in New Issue
Block a user