|
@@ -34,10 +34,11 @@ public class SMB implements Protocol {
|
|
|
private static String[][] possibleSmbVersions = {
|
|
|
{ "Windows 7 Professional 7600", "Windows 7 Professional 6.1" },
|
|
|
{ "Windows 8 Enterprise 9200", "Windows 8 Enterprise 9200" },
|
|
|
- { "Windows Server 2008 R2 Enterprise 7600",
|
|
|
- "Windows Server 2008 R2 Enterprise 6.1" },
|
|
|
- { "Windows Server 2012 Standard 6.2",
|
|
|
- "Windows Server 2012 Standard 6.2" }, { "Unix", "Samba" } };
|
|
|
+ { "Windows Server 2008 R2 Enterprise 7600", "Windows Server 2008 R2 Enterprise 6.1" },
|
|
|
+ { "Windows Server 2012 Standard 6.2", "Windows Server 2012 Standard 6.2" },
|
|
|
+ { "Unix", "Samba" },
|
|
|
+ { "Windows 2002 Service Pack 2", "Windows 2002 5.1"}
|
|
|
+ };
|
|
|
|
|
|
/**
|
|
|
* Converts the current system time into a byte[] with windows specific time
|
|
@@ -115,6 +116,8 @@ public class SMB implements Protocol {
|
|
|
return possibleSmbVersions[3];
|
|
|
} else if (profile.equals("Linux")) {
|
|
|
return possibleSmbVersions[4];
|
|
|
+ } else if (profile.equals("Windows XP")) {
|
|
|
+ return possibleSmbVersions[5];
|
|
|
} else {
|
|
|
return possibleSmbVersions[new SecureRandom()
|
|
|
.nextInt(possibleSmbVersions.length)];
|