Skip to content

Commit 806f264

Browse files
committed
&& not and
1 parent 6fb2fc8 commit 806f264

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/linux/http/gitlist_exec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def check
6262

6363
res = send_command("echo${IFS}" + chk + "|base64${IFS}--decode")
6464

65-
if res and res.body.include?(Rex::Text.decode_base64(chk))
65+
if res && res.body.include?(Rex::Text.decode_base64(chk))
6666
return Exploit::CheckCode::Vulnerable
6767
end
6868

0 commit comments

Comments
 (0)