Sinderella / epherousa

1 stars 0 forks source link

ZeroDayToday Crash #58

Open ngkogkos opened 7 years ago

ngkogkos commented 7 years ago

Crashes on max, I think because of empty results. I can browse to zeroday now, so script should work again.

$ python epherousa/main.py "sql" -e zero

07:18:16 [N] ephe: Spawned a thread for searching at ZeroDayToday
07:18:19 [N] ZeroDayToday: Limit reached (limit: 10)
Traceback (most recent call last):
  File "epherousa/__main__.py", line 20, in <module>
    main()
  File "epherousa/../epherousa/__init__.py", line 148, in main
    Exploit.calculate_widths(searcher_list)
  File "epherousa/../epherousa/searchers/common.py", line 176, in calculate_widths
    widths["cve"] = max([len(e.cve) for e in exploits if e.cve])
ValueError: max() arg is an empty sequence