Skip to content

Commit 524373b

Browse files
committed
OCD - Removed un-needed full stop
1 parent 772bec2 commit 524373b

24 files changed

+34
-34
lines changed

modules/auxiliary/admin/http/dlink_dir_300_600_exec_noauth.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def run
6464
print_line("#{rhost}:#{rport} - Command: #{datastore['CMD']}\n")
6565
print_line("#{rhost}:#{rport} - Output: #{res.body}")
6666
else
67-
print_error("#{rhost}:#{rport} - Exploit failed.")
67+
print_error("#{rhost}:#{rport} - Exploit failed")
6868
end
6969
end
7070
end

modules/auxiliary/admin/http/netgear_wnr2000_pass_recovery.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def run
249249
start_time -= datastore['TIME_OFFSET']
250250
if start_time < 0
251251
if end_time <= datastore['TIME_OFFSET']
252-
fail_with(Failure::Unknown, "#{peer} - Exploit failed.")
252+
fail_with(Failure::Unknown, "#{peer} - Exploit failed")
253253
end
254254
start_time = 0
255255
end

modules/auxiliary/admin/http/scadabr_credential_dump.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def export_data
9595
end
9696

9797
unless res.body =~ /dwr.engine._remoteHandleCallback/
98-
fail_with Failure::UnexpectedReply, "#{peer} Export failed."
98+
fail_with Failure::UnexpectedReply, "#{peer} Export failed"
9999
end
100100

101101
config_data = res.body.scan(/dwr.engine._remoteHandleCallback\('\d*','\d*',"(.+)"\);/).flatten.first

modules/auxiliary/admin/sap/sap_configservlet_exec_noauth.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def run
4848
'query' => 'param=com.sap.ctc.util.FileSystemConfig;EXECUTE_CMD;CMDLINE=' + Rex::Text::uri_encode(datastore['CMD'])
4949
})
5050
if !res or res.code != 200
51-
print_error("#{rhost}:#{rport} - Exploit failed.")
51+
print_error("#{rhost}:#{rport} - Exploit failed")
5252
return
5353
end
5454
rescue ::Rex::ConnectionError
@@ -61,7 +61,7 @@ def run
6161
print_line("#{rhost}:#{rport} - Command: #{datastore['CMD']}\n")
6262
print_line("#{rhost}:#{rport} - Output: #{res.body}")
6363
else
64-
print_error("#{rhost}:#{rport} - Exploit failed.")
64+
print_error("#{rhost}:#{rport} - Exploit failed")
6565
vprint_error("#{rhost}:#{rport} - Output: #{res.body}")
6666
end
6767
end

modules/auxiliary/gather/apache_rave_creds.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def run
155155
print_status("#{rhost}:#{rport} - Login with the provided credentials...")
156156
cookie = login(datastore["USERNAME"], datastore["PASSWORD"])
157157
if cookie.nil?
158-
print_error("#{rhost}:#{rport} - Login failed.")
158+
print_error("#{rhost}:#{rport} - Login failed")
159159
else
160160
print_good("#{rhost}:#{rport} - Login Successful. Proceeding...")
161161
end

modules/auxiliary/gather/konica_minolta_pwd_extract.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def version
142142
end
143143

144144
rescue ::Rex::ConnectionError
145-
print_error("Version check Connection failed.")
145+
print_error("Version check Connection failed")
146146
end
147147

148148
# This section logs on and retrieves AuthKey token

modules/auxiliary/gather/xerox_workcentre_5xxx_ldap.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def make_request(page, method, post_data)
264264
}, datastore['TIMEOUT'].to_i)
265265

266266
rescue ::Rex::ConnectionRefused, ::Rex::HostUnreachable, ::Rex::ConnectionTimeout, ::Rex::ConnectionError
267-
print_error("Connection failed.")
267+
print_error("Connection failed")
268268
end
269269

270270
res

modules/auxiliary/scanner/http/http_put.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def run_host(ip)
149149
:exploited_at => Time.now.utc
150150
)
151151
else
152-
print_error("#{ip}: File doesn't seem to exist. The upload probably failed.")
152+
print_error("#{ip}: File doesn't seem to exist. The upload probably failed")
153153
end
154154

155155
when 'DELETE'

modules/auxiliary/voip/cisco_cucdm_call_forward.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def forward_calls
138138
if res && res.body && res.body && res.body.to_s =~ /CFA/
139139
print_good("Call forwarded successfully for #{fintnumber}")
140140
else
141-
print_error("Call forward failed.")
141+
print_error("Call forward failed")
142142
end
143143
end
144144
end

modules/exploits/linux/http/netgear_wnr2000_rce.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def exploit
257257
start_time -= datastore['TIME_OFFSET']
258258
if start_time < 0
259259
if end_time <= datastore['TIME_OFFSET']
260-
fail_with(Failure::Unknown, "#{peer} - Exploit failed.")
260+
fail_with(Failure::Unknown, "#{peer} - Exploit failed")
261261
end
262262
start_time = 0
263263
end

0 commit comments

Comments
 (0)