From b90ff36ef4065b05332a754eafd6773e842d8a77 Mon Sep 17 00:00:00 2001 From: Roberto Soares Date: Thu, 16 Apr 2015 09:15:17 -0300 Subject: [PATCH] Rewriting the condition 'if' for only one line --- modules/auxiliary/scanner/http/wp_dukapress_file_read.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/auxiliary/scanner/http/wp_dukapress_file_read.rb b/modules/auxiliary/scanner/http/wp_dukapress_file_read.rb index 27436dee6b..2d9488a6f5 100644 --- a/modules/auxiliary/scanner/http/wp_dukapress_file_read.rb +++ b/modules/auxiliary/scanner/http/wp_dukapress_file_read.rb @@ -56,9 +56,7 @@ class Metasploit3 < Msf::Auxiliary } }) - if res && - res.code == 200 && - res.body.length > 0 + if res && res.code == 200 && res.body.length > 0 print_status('Downloading file...') print_line("\n#{res.body}")