Skip to content

Commit c175367

Browse files
committed
Delete file_contents initialization
1 parent fb300ff commit c175367

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

modules/exploits/windows/smb/group_policy_startup.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ def initialize(info={})
6363
def setup
6464
super
6565
self.file_name = datastore['FILE_NAME'] || "#{Rex::Text.rand_text_alpha(4 + rand(3))}.vbs"
66-
exe = payload.encoded_exe
67-
self.file_contents = Msf::Util::EXE.to_exe_vbs(exe)
6866
@custom_payloads = {}
6967
print_status("File available on #{unc}...")
7068
end

0 commit comments

Comments
 (0)