musalbas/heartbleed-masstest

line 167

Dmole opened this issue · 3 comments

python --version
Python 2.7.3

Traceback (most recent call last):
File "ssltest.py", line 176, in
main()
File "ssltest.py", line 167, in main
if int(rank) >= int(args[1]):
IndexError: list index out of range

To run, for example:

python ssltest.py top-1m.csv 10

Replace 10 by how many of the top sites you want to test.

Maybe a sane default or '10' instead of 'None' would be good, or displaying the help if the second argument is missing?

Mmkay.

e5f0d1a