Skip to content

Commit a251694

Browse files
blue0x1msutovsky-r7
andcommitted
Update modules/exploits/osx/misc/remote_for_mac_udp_rce.rb
Co-authored-by: msutovsky-r7 <[email protected]>
1 parent eda79be commit a251694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/osx/misc/remote_for_mac_udp_rce.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def check_auth_disabled?
6262
'rhost' => datastore['RHOSTS']
6363
})
6464

65-
if res && res.code == 200
65+
if res&.code == 200
6666
json = JSON.parse(res.body)
6767
if json['requires.auth'] == false
6868
print_good('Authentication is disabled. Target is vulnerable.')

0 commit comments

Comments
 (0)