gkbrk/slowloris

main() not called when used from command line

NickMRamirez opened this issue · 1 comments

I am new to python and I was not able to get the slowloris.py script to work until I added main() to the bottom. Is this a required step that's missing from the documentation?

I am invoking it as python3 ./slowloris.py 10.0.0.2

gkbrk commented

That looks like a bug, definitely not a missing step. Thanks for the report.

@NickMRamirez would you be interested in fixing it? Something like this should work.

if __name__ == "__main__":
    main()