Skip to content

Commit 689e44f

Browse files
committed
Addressing some issues
1 parent 2f351ea commit 689e44f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

modules/exploits/windows/local/linqpad_deserialization_persistence.rb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ def initialize(info = {})
4848
)
4949
)
5050
register_options([
51-
OptString.new('LINQPAD_FILE', [true, 'Path to LINQPad executable on target\'s machine']),
52-
OptString.new('CACHE_PATH', [true, 'Path to cache file directory containing deserialized data']),
53-
OptBool.new('CLEANUP', [false, 'Restore original cache file when exploit finish'])
51+
OptString.new('LINQPAD_FILE', [true, 'Path to LINQPad executable on target\'s machine']),
52+
OptString.new('CACHE_PATH', [true, 'Path to cache file directory containing deserialized data']),
53+
OptBool.new('CLEANUP', [false, 'Restore original cache file when exploit finish'])
5454
])
5555
end
5656

@@ -85,6 +85,5 @@ def exploit
8585

8686
# add cleanup option
8787
register_file_for_cleanup(datastore['CACHE_PATH']) if datastore['CLEANUP']
88-
8988
end
9089
end

0 commit comments

Comments
 (0)