AonCyberLabs/Windows-Exploit-Suggester

xls downloaded is broken or incompatible

CaledoniaProject opened this issue · 2 comments

I'm receiving the following error while running the script,

%> ./windows-exploit-suggester.py -d 2016-09-20-mssb.xls -i /Volumes/qq/1.txt
[*] 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 1529, in <module>
    main()
  File "./windows-exploit-suggester.py", line 413, in main
    sh = wb.sheet_by_name('Bulletin Search')
  File "/Users/xxx/Library/Python/2.7/lib/python/site-packages/xlrd/book.py", line 441, in sheet_by_name
    raise XLRDError('No sheet named <%r>' % sheet_name)
xlrd.biffh.XLRDError: No sheet named <'Bulletin Search'>

Can you check it?

OK, the name changed to Export Bulletin Search Spreadsh

For future changes, you may use sh = wb.sheet_by_name(wb.sheet_names()[0]) instead.