Skip to content

Commit 2f34f84

Browse files
author
Tod Beardsley
committed
Downcase chargen service name
1 parent 35c847d commit 2f34f84

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

modules/auxiliary/scanner/discovery/udp_probe.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def parse_reply(pkt)
205205
case pkt[2]
206206

207207
when 19
208-
app = 'Chargen'
208+
app = 'chargen'
209209
return unless chargen_parse(pkt[0])
210210
@results[hkey] = true
211211

@@ -368,7 +368,7 @@ def db2disco_parse(data)
368368
end
369369

370370
#
371-
# Validate a Chargen packet.
371+
# Validate a chargen packet.
372372
#
373373
def chargen_parse(data)
374374
data =~ /ABCDEFGHIJKLMNOPQRSTUVWXYZ|0123456789/i

modules/auxiliary/scanner/discovery/udp_sweep.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def scanner_process(data, shost, sport)
154154
case sport
155155

156156
when 19
157-
app = 'Chargen'
157+
app = 'chargen'
158158
ver = nil
159159
return unless chargen_parse(data)
160160
@results[hkey] = true
@@ -313,7 +313,7 @@ def scanner_process(data, shost, sport)
313313
end
314314

315315
#
316-
# Parse a Chargen packet.
316+
# Validate a chargen packet.
317317
#
318318
def chargen_parse(data)
319319
data =~ /ABCDEFGHIJKLMNOPQRSTUVWXYZ|0123456789/i

0 commit comments

Comments
 (0)