exploitdb icon indicating copy to clipboard operation
exploitdb copied to clipboard

Fixing scanning mode.

Open carcigenicate opened this issue 4 years ago • 0 comments

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.

carcigenicate avatar Jan 07 '21 16:01 carcigenicate