Clean up wording

This commit is contained in:
g0tmi1k
2018-05-14 13:43:33 +01:00
parent 0e05f77fb7
commit 24e6820a90
3 changed files with 6 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ class WpUsers < WpItems
# @return [ void ]
def output(options = {})
rows = []
headings = ['Id', 'Login', 'Name']
headings = ['ID', 'Login', 'Name']
headings << 'Password' if options[:show_password]
remove_junk_from_display_names

View File

@@ -88,7 +88,7 @@ class DbUpdater
def update(verbose = false)
FILES.each do |filename|
begin
puts "[+] Checking #{filename}" if verbose
puts "[+] Checking: #{filename}" if verbose
db_checksum = remote_file_checksum(filename)
# Checking if the file needs to be updated

View File

@@ -116,10 +116,9 @@ def main
# Check for data.zip
if has_db_zip?
# User prompt
print '[?] Use the latest on-line database? Or use the off-line version? [O]n-line O[f]f-line [A]bort, default: [O] > '
print '[?] Use the latest on-line database? Or use the off-line copy? [O]n-line O[f]f-line [A]bort update, default: [O] > '
if (input = Readline.readline) =~ /^a/i
puts 'Scan aborted'
exit(1)
puts 'Update aborted'
elsif input =~ /^f/i
online_update = false
end
@@ -310,9 +309,11 @@ def main
spacer()
end
# Test to see if MAIN API URL gives anything back
if wp_target.has_api?(wp_target.json_url)
puts info("API exposed: #{wp_target.json_url}")
# Test to see if USER API URL gives anything back
if wp_target.has_api?(wp_target.json_users_url)
puts warning("Users exposed via API: #{wp_target.json_users_url}")