File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
modules/auxiliary/scanner/http Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ def check_host(_ip)
66
66
67
67
def run_host ( _ip )
68
68
if !wordpress_and_online?
69
- vprint_error ( "WordPress not detected at #{ full_uri } " )
69
+ print_error ( "WordPress not detected at #{ full_uri } " )
70
70
return
71
71
end
72
72
@@ -82,7 +82,7 @@ def do_list
82
82
posts_to_list = list_posts
83
83
84
84
if posts_to_list . empty?
85
- vprint_status ( "No posts found at #{ full_uri } " )
85
+ print_status ( "No posts found at #{ full_uri } " )
86
86
return
87
87
end
88
88
@@ -113,7 +113,7 @@ def do_update
113
113
end
114
114
115
115
if posts_to_update . empty?
116
- vprint_status ( "No posts to update at #{ full_uri } " )
116
+ print_status ( "No posts to update at #{ full_uri } " )
117
117
return
118
118
end
119
119
@@ -130,8 +130,6 @@ def do_update
130
130
print_good ( "SUCCESS: #{ post_url } (Post updated)" )
131
131
elsif res && ( error = res . get_json_document [ 'message' ] )
132
132
print_error ( "FAILURE: #{ post_url } (#{ error } )" )
133
- else
134
- print_error ( "FAILURE: #{ post_url } (Unknown error)" )
135
133
end
136
134
end
137
135
end
You can’t perform that action at this time.
0 commit comments