Skip to content

Commit 890561b

Browse files
committed
Rewriting the condition 'if' for only one line
1 parent c8e1185 commit 890561b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

modules/auxiliary/scanner/http/wp_mobileedition_file_read.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@ def run_host(ip)
5454
}
5555
})
5656

57-
if res &&
58-
res.code == 200 &&
59-
res.body.length > 0
57+
if res && res.code == 200 && res.body.length > 0
6058

6159
print_status('Downloading file...')
6260
print_line("\n#{res.body}\n")

0 commit comments

Comments
 (0)