Skip to content

Commit 4a49041

Browse files
committed
ruby conditional operator -> expression
1 parent 4a3ab9d commit 4a49041

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/linux/misc/netcore_udp_53413_backdoor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def vuln_version?
7878
end
7979
disconnect_udp
8080
resp_str = resp.join(',')
81-
true ? resp.length >= 1 && resp_str.include?("\x00\x00\x00\x05") : false
81+
resp.length >= 1 && resp_str.include?("\x00\x00\x00\x05")
8282
end
8383

8484
def check

0 commit comments

Comments
 (0)