Skip to content

Commit

Permalink
fix spelling in plugins folder
Browse files Browse the repository at this point in the history
  • Loading branch information
h00die committed Jan 7, 2024
1 parent ee3b8b4 commit 89d6c8c
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion plugins/aggregator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ def initialize(framework, opts)
begin
require 'metasploit/aggregator'
rescue LoadError
raise 'WARNING: metasploit/aggregator is not avaiable for now.'
raise 'WARNING: metasploit/aggregator is not available for now.'
end

add_console_dispatcher(AggregatorCommandDispatcher)
Expand Down
6 changes: 3 additions & 3 deletions plugins/besecure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def cmd_besecure_version
end

if body['error']
print_error("#{@hostname} - An error occured:")
print_error("#{@hostname} - An error occurred:")
print_error(body)
return ''
end
Expand Down Expand Up @@ -207,7 +207,7 @@ def cmd_besecure_report_list(*_args)
end

if body['error']
print_error("#{@hostname} - An error occured:")
print_error("#{@hostname} - An error occurred:")
print_error(body)
return ''
end
Expand Down Expand Up @@ -257,7 +257,7 @@ def cmd_besecure_report_download(*args)
end

if body['error']
print_error("#{@hostname} - An error occured:")
print_error("#{@hostname} - An error occurred:")
print_error(body)
return ''
end
Expand Down
2 changes: 1 addition & 1 deletion plugins/libnotify.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def on_session_fail(reason = '')

def on_db_host(host)
notify_send('normal', 'New host',
"Addess: #{host.address}\nOS: #{host.os_name}")
"Address: #{host.address}\nOS: #{host.os_name}")
end

def on_db_host_state(host, _ostate)
Expand Down
8 changes: 4 additions & 4 deletions plugins/nessus.rb
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ def cmd_nessus_report_host_ports(*args)
print_good "\n"
print_line tbl.to_s
print_status('You can:')
print_status('Get detailed scan infromation about a specfic port: nessus_report_host_detail <hostname> <port> <protocol> <report id>')
print_status('Get detailed scan information about a specific port: nessus_report_host_detail <hostname> <port> <protocol> <report id>')
end

def cmd_nessus_report_del(*args)
Expand Down Expand Up @@ -1792,7 +1792,7 @@ def cmd_nessus_user_del(*args)
elsif status == '500'
print_error("The server failed to delete the user account having user ID #{user_id}")
else
print_error("Unknown problem occured by deleting the user account having user ID #{user_id}.")
print_error("Unknown problem occurred by deleting the user account having user ID #{user_id}.")
end
end

Expand Down Expand Up @@ -1835,7 +1835,7 @@ def cmd_nessus_user_passwd(*args)
elsif status == '500'
print_error('Nessus server failed to changed the user password')
else
print_error('Unknown problem occured while changing the user password')
print_error('Unknown problem occurred while changing the user password')
end
end

Expand Down Expand Up @@ -1913,7 +1913,7 @@ def cmd_nessus_policy_del(*args)
elsif status == '405'
print_error("Policy ID #{policy_id} is currently in use and cannot be deleted")
else
print_error("Unknown problem occured by deleting the user account having user ID #{user_id}.")
print_error("Unknown problem occurred by deleting the user account having user ID #{user_id}.")
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion plugins/nexpose.rb
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ def cmd_nexpose_scan(*args)
print_status(" >> Scan has been completed with ID ##{sid}") if opt_verbose
rescue ::Interrupt
rep = false
print_status(" >> Terminating scan ID ##{sid} due to console interupt") if opt_verbose
print_status(" >> Terminating scan ID ##{sid} due to console interrupt") if opt_verbose
@nsc.stop_scan(sid)
break
end
Expand Down
4 changes: 2 additions & 2 deletions plugins/request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def parse_args_http(args = [], _type = 'http')
[options, opt_parser]
end

# Perform an HTTPS request based on the user specifed options.
# Perform an HTTPS request based on the user specified options.
#
# @param opts [Hash] The options to use for making the HTTPS request.
# @option opts [String] :auth_username An optional username to use with
Expand Down Expand Up @@ -226,7 +226,7 @@ def handle_request_https(opts, opt_parser)
handle_request_http(opts, opt_parser)
end

# Perform an HTTP request based on the user specifed options.
# Perform an HTTP request based on the user specified options.
#
# @param opts [Hash] The options to use for making the HTTP request.
# @option opts [String] :auth_username An optional username to use with
Expand Down
4 changes: 2 additions & 2 deletions plugins/session_notifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def send_text_to_dingtalk(session)
request.body = json_post_data
res = http.request(request)
if res.nil? || res.body.blank?
print_error('No response recieved from the DingTalk server!')
print_error('No response received from the DingTalk server!')
return nil
end
begin
Expand Down Expand Up @@ -309,7 +309,7 @@ def send_text_to_gotify(session)
request.body = json_post_data
res = http.request(request)
if res.nil? || res.body.blank?
print_error('No response recieved from the Gotify server!')
print_error('No response received from the Gotify server!')
return nil
end
begin
Expand Down
4 changes: 2 additions & 2 deletions plugins/wiki.rb
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ def vulns_to_table(opts = {})
# Converts a value to a wiki link
# @param [String] text value to convert to a link
# @param [String] namespace optional namespace to set for the link
# @return [String] the formated wiki link
# @return [String] the formatted wiki link
def to_wikilink(text, namespace = '')
return '[[' + namespace + text + ']]'
end
Expand Down Expand Up @@ -537,7 +537,7 @@ def to_mediawiki
end
# Setup the table with some standard formatting options
str << "{|class=\"wikitable\"\n"
# Output formated column names as the first row
# Output formatted column names as the first row
unless columns.count.eql? 0
str << '!'
str << columns.join('!!')
Expand Down
6 changes: 3 additions & 3 deletions plugins/wmap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ def cmd_wmap_run(*args)
self.nmaxdisplay = false
self.runlocal = false

# Formating
# Formatting
sizeline = 60

wmap_show = 2**0
Expand Down Expand Up @@ -1091,7 +1091,7 @@ def cmd_wmap_run(*args)

#
# Handle modules that need to be after all tests, once.
# Good place to have modules that analize the test results and/or
# Good place to have modules that analyze the test results and/or
# launch exploits.
# :wmap_generic
#
Expand Down Expand Up @@ -1409,7 +1409,7 @@ def process_urls(urlstr)
sites = serv.web_sites.where('vhost = ? and service_id = ?', vhost, serv.id)

sites.each do |site|
# Initial defaul path
# Initial default path
inipath = target.path
if target.path.empty?
inipath = '/'
Expand Down

0 comments on commit 89d6c8c

Please sign in to comment.