Swap flavor/name
git-svn-id: file:///home/svn/framework3/trunk@8489 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
352a367857
commit
337e00d57e
|
@ -65,11 +65,11 @@ class Metasploit3 < Msf::Auxiliary
|
|||
res['os'] = 'Unknown'
|
||||
res['sp'] = 'Unknown'
|
||||
when /ubuntu/
|
||||
os = 'Ubuntu'
|
||||
res['os'] = OperatingSystems::LINUX
|
||||
os = OperatingSystems::LINUX
|
||||
res['os'] = Ubuntu
|
||||
when /debian/
|
||||
os = 'Ubuntu'
|
||||
res['os'] = OperatingSystems::LINUX
|
||||
os = OperatingSystems::LINUX
|
||||
res['os'] = Debian
|
||||
else
|
||||
os = OperatingSystems::UNKNOWN
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue