File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -157,18 +157,16 @@ def run
157
157
username : username ,
158
158
} )
159
159
160
- begin
161
- host_login_data = {
162
- address : host_ipaddress ,
163
- service_name : type ,
164
- workspace_id : myworkspace_id ,
165
- protocol : 'tcp' ,
166
- port : 0 , # can be any port, so just set to 0 else the cred api screams
167
- core : credential_core ,
168
- status : Metasploit ::Model ::Login ::Status ::UNTRIED
169
- }
170
- create_credential_login ( host_login_data )
171
- end
160
+ host_login_data = {
161
+ address : host_ipaddress ,
162
+ service_name : type ,
163
+ workspace_id : myworkspace_id ,
164
+ protocol : 'tcp' ,
165
+ port : 0 , # can be any port, so just set to 0 else the cred api screams
166
+ core : credential_core ,
167
+ status : Metasploit ::Model ::Login ::Status ::UNTRIED
168
+ }
169
+ create_credential_login ( host_login_data )
172
170
end
173
171
end
174
172
You can’t perform that action at this time.
0 commit comments