Clean up trailing whitespace
git-svn-id: file:///home/svn/framework3/trunk@7987 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
de7cabaed1
commit
0bf2f7dd9e
|
@ -255,31 +255,31 @@ module Exploit::Remote::SMB
|
||||||
sp = '(Build ' + $2 + ')'
|
sp = '(Build ' + $2 + ')'
|
||||||
|
|
||||||
when /Windows Server \(R\) 2008 (([\-\w]+ ){1,4})(\d+) Service Pack (\d+)/
|
when /Windows Server \(R\) 2008 (([\-\w]+ ){1,4})(\d+) Service Pack (\d+)/
|
||||||
os = 'Windows 2008 ' + $1
|
os = 'Windows 2008 ' + $1.strip
|
||||||
sp = 'Service Pack ' + $4
|
sp = 'Service Pack ' + $4
|
||||||
|
|
||||||
when /Windows Server \(R\) 2008 (([\-\w]+ ){1,4})(\d+)/
|
when /Windows Server \(R\) 2008 (([\-\w]+ ){1,4})(\d+)/
|
||||||
os = 'Windows 2008 ' + $1
|
os = 'Windows 2008 ' + $1.strip
|
||||||
sp = '(Build ' + $3 + ')'
|
sp = '(Build ' + $3 + ')'
|
||||||
|
|
||||||
when /Windows \(R\) Storage Server 2008 (([\-\w]+ ){1,4})(\d+) Service Pack (\d+)/
|
when /Windows \(R\) Storage Server 2008 (([\-\w]+ ){1,4})(\d+) Service Pack (\d+)/
|
||||||
os = 'Windows 2008 Storage Server ' + $1
|
os = 'Windows 2008 Storage Server ' + $1.strip
|
||||||
sp = 'Service Pack ' + $4
|
sp = 'Service Pack ' + $4
|
||||||
|
|
||||||
when /Windows \(R\) Storage Server 2008 (([\-\w]+ ){1,4})(\d+)/
|
when /Windows \(R\) Storage Server 2008 (([\-\w]+ ){1,4})(\d+)/
|
||||||
os = 'Windows 2008 Storage Server ' + $1
|
os = 'Windows 2008 Storage Server ' + $1.strip
|
||||||
sp = '(Build ' + $3 + ')'
|
sp = '(Build ' + $3 + ')'
|
||||||
|
|
||||||
when /Windows 7 (([\-\w]+ ){1,4})(\d+)/
|
when /Windows 7 (([\-\w]+ ){1,4})(\d+)/
|
||||||
os = 'Windows 7 ' + $1
|
os = 'Windows 7 ' + $1.strip
|
||||||
sp = '(Build ' + $3 + ')'
|
sp = '(Build ' + $3 + ')'
|
||||||
|
|
||||||
when /^(Windows.*) Service Pack (\d+)/
|
when /^(Windows.*) Service Pack (\d+)/
|
||||||
os = $1
|
os = $1.strip
|
||||||
sp = 'Service Pack ' + $2
|
sp = 'Service Pack ' + $2
|
||||||
|
|
||||||
when /^(Windows.*) (\d+)/
|
when /^(Windows.*) (\d+)/
|
||||||
os = $1
|
os = $1.strip
|
||||||
sp = '(Build ' + $2 + ')'
|
sp = '(Build ' + $2 + ')'
|
||||||
|
|
||||||
when 'Unix'
|
when 'Unix'
|
||||||
|
|
Loading…
Reference in New Issue