Git Product home page Git Product logo

Comments (2)

Gaurav-Chauhan25 avatar Gaurav-Chauhan25 commented on May 11, 2024

I have been facing an issue regarding the python.xlrd module not being installed.

pip install xlrd installed the latest xlrd version, but the windows-exploit-suggester tool doesn't work with the newest version of xlrd. Tool was facing conflicts to read from .xls and .xlsx, that's why the tool was throwing this error:

root@kali:~/Desktop/Windows-Exploit-Suggester# python windows-exploit-suggester.py --systeminfo systeminfo.txt --database 2021-09-29-mssb.xls
[*] initiating winsploit version 3.3...

[*] database file detected as xls or xlsx based on extension

Traceback (most recent call last):

File "windows-exploit-suggester.py
", line 1639, in <module>

main()

File "windows-exploit-suggester.py
", line 414, in main

wb = xlrd.open_workbook(ARGS.database)

File "/usr/local/lib/python2.7/dist-packages/xlrd/__init__.py", line 138, in open_workbook

ragged_rows=ragged_rows,

File "/usr/local/lib/python2.7/dist-packages/xlrd/xlsx.py", line 808, in open_workbook_2007_xml

zflo = zf.open
(component_names['xl/_rels/workbook.xml.rels'])

File "/usr/lib/python2.7/zipfile.py", line 994, in open

raise BadZipfile("Bad magic number for file header")

zipfile.BadZipfile: Bad magic number for file header

I installed the specific version of xlrd module that was 1.6.0 using pip install xlrd==1.6.0 and now it worked like a charm.

Hope you get that. Can you just put that in your .md file as there's no solution available on the internet regarding this!

from windows-kernel-exploits.

CaledoniaProject avatar CaledoniaProject commented on May 11, 2024

Windows exploit suggester is not maintained by us:
https://github.com/AonCyberLabs/Windows-Exploit-Suggester

from windows-kernel-exploits.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.