add platform aliases for newer versions of windows.
git-svn-id: file:///home/svn/framework3/trunk@8724 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
de9e944ad9
commit
9fbf2c0c6e
|
@ -255,6 +255,7 @@ class Msf::Module::Platform
|
|||
Aliases = [ "2000", "2K" ]
|
||||
RealName = "2000"
|
||||
class SP0 < W2000
|
||||
Aliases = [ "sp0-4", "sp0-sp4" ]
|
||||
Rank = 100
|
||||
end
|
||||
class SP1 < W2000
|
||||
|
@ -275,6 +276,9 @@ class Msf::Module::Platform
|
|||
class XP < Windows
|
||||
Rank = 300
|
||||
class SP0 < XP
|
||||
# It's not clear whether this should be assigned to the lower
|
||||
# or higher bound of the range.
|
||||
Aliases = [ "sp0-1", "sp0/1", "sp0-sp1", "sp0/sp1", "sp0-2", "sp0-sp2", "sp0-3", "sp0-sp3" ]
|
||||
Rank = 100
|
||||
end
|
||||
class SP1 < XP
|
||||
|
@ -283,6 +287,9 @@ class Msf::Module::Platform
|
|||
class SP2 < XP
|
||||
Rank = 300
|
||||
end
|
||||
class SP3 < XP
|
||||
Rank = 400
|
||||
end
|
||||
end
|
||||
|
||||
# Windows 2003 Server
|
||||
|
@ -297,6 +304,22 @@ class Msf::Module::Platform
|
|||
Rank = 200
|
||||
end
|
||||
end
|
||||
|
||||
class Vista < Windows
|
||||
Rank = 500
|
||||
class SP0 < Vista
|
||||
Aliases = [ "sp0-1", "sp0/1", "sp0-sp1", "sp0/sp1" ]
|
||||
Rank = 100
|
||||
end
|
||||
class SP1 < Vista
|
||||
Rank = 200
|
||||
end
|
||||
end
|
||||
|
||||
class W7 < Windows
|
||||
Rank = 600
|
||||
RealName = "7"
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue