exploitdb
exploitdb copied to clipboard
Fixing scanning mode.
When running with -r
, run_threads
is called with None
as the second parameter. This causes num_h0sts = len(h0sts)
to raise a TypeError: object of type 'NoneType' has no len()
error though. I just moved that calculation down inside the else so it will only run if -r
wasn't specified.