Skip to content

Commit 0da79ed

Browse files
committed
Add a print_status to let the user know the module is over
If I have to run the module as a job, sometimes I can't tell if the module has finished running or not.
1 parent b634bde commit 0da79ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/exploits/windows/local/powershell_remoting.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ def exploit
131131

132132
Rex.sleep(1)
133133
end
134+
135+
print_status("Completed")
134136
end
135137

136138
def generate_credentials(domain = datastore['SMBDomain'], user = datastore['SMBUser'], pass = datastore['SMBPass'])

0 commit comments

Comments
 (0)