Skip to content

Commit

Permalink
Addressing some issues
Browse files Browse the repository at this point in the history
  • Loading branch information
msutovsky-r7 committed Jan 10, 2025
1 parent 2f351ea commit 689e44f
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ def initialize(info = {})
)
)
register_options([
OptString.new('LINQPAD_FILE', [true, 'Path to LINQPad executable on target\'s machine']),
OptString.new('CACHE_PATH', [true, 'Path to cache file directory containing deserialized data']),
OptBool.new('CLEANUP', [false, 'Restore original cache file when exploit finish'])
OptString.new('LINQPAD_FILE', [true, 'Path to LINQPad executable on target\'s machine']),
OptString.new('CACHE_PATH', [true, 'Path to cache file directory containing deserialized data']),
OptBool.new('CLEANUP', [false, 'Restore original cache file when exploit finish'])
])
end

Expand Down Expand Up @@ -85,6 +85,5 @@ def exploit

# add cleanup option
register_file_for_cleanup(datastore['CACHE_PATH']) if datastore['CLEANUP']

end
end

0 comments on commit 689e44f

Please sign in to comment.