Skip to content

Commit c2a252f

Browse files
author
Tod Beardsley
committed
Land rapid7#5133, grammar/spelling fixes from @void-in
2 parents 1a81938 + c408465 commit c2a252f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+96
-96
lines changed

lib/msf/core/auxiliary.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module Msf
66
###
77
#
88
# The auxiliary class acts as a base class for all modules that perform
9-
# reconnaisance, retrieve data, brute force logins, or any other action
9+
# reconnaissance, retrieve data, brute force logins, or any other action
1010
# that doesn't fit our concept of an 'exploit' (involving payloads and
1111
# targets and whatnot).
1212
#

lib/msf/core/auxiliary/auth_brute.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ def vprint_brute(opts={})
548548
end
549549

550550
# Provides a consistant way to display messages about AuthBrute-mixed modules.
551-
# Acceptable opts are fairly self-explanitory, but :level can be tricky.
551+
# Acceptable opts are fairly self-explanatory, but :level can be tricky.
552552
#
553553
# It can be one of status, good, error, or line (and corresponds to the usual
554554
# print_status, print_good, etc. methods).

lib/msf/core/auxiliary/cisco.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def cisco_ios_config_eater(thost, tport, config)
243243
store_cred(cred)
244244

245245
#
246-
# Various authentication secretss
246+
# Various authentication secrets
247247
#
248248
when /^\s*username ([^\s]+) privilege (\d+) (secret|password) (\d+) ([^\s]+)/i
249249
user = $1

lib/msf/core/auxiliary/login.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module Auxiliary::Login
1616
EOL = CR + LF
1717

1818
#
19-
# Creates an instance of a login negoation module.
19+
# Creates an instance of a login negotiation module.
2020
#
2121
def initialize(info = {})
2222
super

lib/msf/core/auxiliary/report.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ def store_local(ltype=nil, ctype=nil, data=nil, filename=nil)
425425
fname = ctype || "local_#{Time.now.utc.to_i}"
426426
end
427427

428-
# Split by path seperator
428+
# Split by path separator
429429
fname = ::File.split(fname).last
430430

431431
case ctype # Probably could use more cases

lib/msf/core/data_store.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def import_options(options, imported_by = nil, overwrite = false)
8585
def import_options_from_s(option_str, delim = nil)
8686
hash = {}
8787

88-
# Figure out the deliminter, default to space.
88+
# Figure out the delimeter, default to space.
8989
if (delim.nil?)
9090
delim = /\s/
9191

@@ -94,7 +94,7 @@ def import_options_from_s(option_str, delim = nil)
9494
end
9595
end
9696

97-
# Split on the deliminter
97+
# Split on the delimeter
9898
option_str.split(delim).each { |opt|
9999
var, val = opt.split('=')
100100

lib/msf/core/db_manager.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class Msf::DBManager
104104
attr_accessor :usable
105105

106106
#
107-
# iniitialize
107+
# initialize
108108
#
109109

110110
def initialize(framework, opts = {})

lib/msf/core/db_manager/cred.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def report_auth_info(opts={})
9595
ret = {}
9696

9797
# Check to see if the creds already exist. We look also for a downcased username with the
98-
# same password because we can fairly safely assume they are not in fact two seperate creds.
98+
# same password because we can fairly safely assume they are not in fact two separate creds.
9999
# this allows us to hedge against duplication of creds in the DB.
100100

101101
if duplicate_ok
@@ -177,4 +177,4 @@ def report_auth_info(opts={})
177177

178178
alias :report_auth :report_auth_info
179179
alias :report_cred :report_auth_info
180-
end
180+
end

lib/msf/core/db_manager/import/libpcap.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def import_libpcap(args={}, &block)
88
bl = validate_ips(args[:blacklist]) ? args[:blacklist].split : []
99
# seen_hosts is only used for determining when to yield an address. Once we get
1010
# some packet analysis going, the values will have all sorts of info. The plan
11-
# is to ru through all the packets as a first pass and report host and service,
11+
# is to run through all the packets as a first pass and report host and service,
1212
# then, once we have everything parsed, we can reconstruct sessions and ngrep
1313
# out things like authentication sequences, examine ttl's and window sizes, all
1414
# kinds of crazy awesome stuff like that.

lib/msf/core/db_manager/import/metasploit_framework/zip.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def import_msf_collateral(args={}, &block)
6464
end
6565

6666
# Only report loot if we actually have it.
67-
# TODO: Copypasta. Seperate this out.
67+
# TODO: Copypasta. Separate this out.
6868
if ::File.exists? loot_info[:orig_path]
6969
loot_dir = ::File.join(basedir,"loot")
7070
loot_file = ::File.split(loot_info[:orig_path]).last
@@ -114,7 +114,7 @@ def import_msf_collateral(args={}, &block)
114114
task_info[:orig_path].gsub!(/^\./,tmp) if task_info[:orig_path]
115115

116116
# Only report a task if we actually have it.
117-
# TODO: Copypasta. Seperate this out.
117+
# TODO: Copypasta. Separate this out.
118118
if ::File.exists? task_info[:orig_path]
119119
tasks_dir = ::File.join(basedir,"tasks")
120120
task_file = ::File.split(task_info[:orig_path]).last
@@ -168,7 +168,7 @@ def import_msf_zip(args={}, &block)
168168
# Grab the list of unique basedirs over all entries.
169169
@import_filedata[:zip_tmp_subdirs] = @import_filedata[:zip_entry_names].map {|x| ::File.split(x)}.map {|x| x[0]}.uniq.reject {|x| x == "."}
170170

171-
# mkdir all of the base directores we just pulled out, if they don't
171+
# mkdir all of the base directories we just pulled out, if they don't
172172
# already exist
173173
@import_filedata[:zip_tmp_subdirs].each {|sub|
174174
tmp_subdirs = ::File.join(@import_filedata[:zip_tmp],sub)

0 commit comments

Comments
 (0)