AonCyberLabs / Windows-Exploit-Suggester

This tool compares a targets patch levels against the Microsoft vulnerability database in order to detect potential missing patches on the target. It also notifies the user if there are public exploits and Metasploit modules available for the missing bulletins.
GNU General Public License v3.0
3.94k stars 1.02k forks source link

ERROR: No sheet named <'Export Bulletin Search Spreadsh'> #18

Closed evilgash closed 7 years ago

evilgash commented 7 years ago

Hi I get the following error:

./windows-exploit-suggester.py -u
[*] initiating winsploit version 3.2...
[+] writing to file 2016-10-12-mssb.xls
[*] done

./windows-exploit-suggester.py -i systeminfo.txt -d 2016-10-12-mssb.xls 
[*] initiating winsploit version 3.2...
[*] database file detected as xls or xlsx based on extension
Traceback (most recent call last):
  File "./windows-exploit-suggester.py", line 1530, in <module>
    main()
  File "./windows-exploit-suggester.py", line 414, in main
    sh = wb.sheet_by_name('Export Bulletin Search Spreadsh')
  File "/usr/lib/python2.7/dist-packages/xlrd/book.py", line 441, in sheet_by_name
    raise XLRDError('No sheet named <%r>' % sheet_name)
xlrd.biffh.XLRDError: No sheet named <'Export Bulletin Search Spreadsh'>

However, the tool works with a db file i created about 2 weeks ago. Any suggestions?

jeffmcjunkin commented 7 years ago

Reverting commit 2bd9472ee96e9fbf392f2859abbf6761525fb6be fixes this.

In other words...

sed -i 's/Export Bulletin Search Spreadsh/Bulletin Search/' windows-exploit-suggester.py

...and try again.

sammbertram commented 7 years ago

I've just changed to sheet_by_index to hopefully stop this from happening again in the future.

Thanks!