Skip to content

Commit ea2b592

Browse files
committed
cleanup
cleanup
1 parent 14e4a11 commit ea2b592

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/auxiliary/admin/http/fortra_filecatalyst_workflow_sqli.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ def run
5353
unless res
5454
fail_with(Failure::Unreachable, 'Failed to receive a reply from the server.')
5555
end
56-
case res.code
57-
when 200
56+
if res.code == 200
5857
print_good('Server reachable.')
5958
else
6059
fail_with(Failure::UnexpectedReply, 'Unexpected reply from the target.')

0 commit comments

Comments
 (0)