Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 8 not supported #8

Open
GoogleCodeExporter opened this issue Apr 6, 2016 · 0 comments
Open

Windows 8 not supported #8

GoogleCodeExporter opened this issue Apr 6, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Run tool in windows 8
2. Report will not generate as it there is no handler for windows 8

What is the expected output? What do you see instead?
A report


What version of the product are you using? On what operating system?
Windows 8

Please provide any additional information below.

This portion of the code do not handle 6.2 and it should go to a default handle 
if nothing is found and still generate a report if os type cannot be defined.

audit_data['hostname'] = socket.gethostname()
ver_list = win32api.GetVersionEx(1)
os_ver = str(ver_list[0]) + "." + str(ver_list[1])
# version numbers from 
http://msdn.microsoft.com/en-us/library/ms724832(VS.85).aspx
if os_ver == "4.0":
    os_str = "Windows NT"
if os_ver == "5.0":
    os_str = "Windows 2000"
if os_ver == "5.1":
    os_str = "Windows XP"
if os_ver == "5.2":
    os_str = "Windows 2003"
if os_ver == "6.0":
    os_str = "Windows Vista"
if os_ver == "6.0":
    os_str = "Windows 2008"
if os_ver == "6.1":
    os_str = "Windows 2008 R2"
if os_ver == "6.1":
    os_str = "Windows 7"

Original issue reported on code.google.com by [email protected] on 15 Jul 2014 at 2:20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant