Skip to content

Commit f667179

Browse files
committed
Removing execution of LINQPad file due to module recategorisation to persistence
1 parent 712b47b commit f667179

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

modules/exploits/windows/local/linqpad_deserialization_persistence.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,6 @@ def exploit
8080
# try to overwrite cache file
8181
fail_with(Failure::PayloadFailed, 'Writing payload to cache file failed') unless write_file(datastore['CACHE_PATH'] + '/AutoRefCache46.1.dat', dotnet_payload)
8282

83-
# run LINQPad and trigger deserialization
84-
fail_with(Failure::PayloadFailed, 'Running LINQPad failed') unless cmd_exec(datastore['LINQPAD_PATH'])
85-
8683
# add cleanup option
8784
register_file_for_cleanup(datastore['CACHE_PATH']) if datastore['CLEANUP']
8885
end

0 commit comments

Comments
 (0)