Commit 4f0ee084 authored by dmknght's avatar dmknght

Add multi processing

parent 30c83bb6
......@@ -4,9 +4,13 @@
# TODO handle time
import modules / cli / getOpts
import modules / cores / [connection, options]
import threadpool
var userOpts = getOptions().checkExtensions()
let userOpts = getOptions().checkExtensions()
setMaxPoolSize(userOpts.maxThreads)
if not userOpts.paramError:
for subPath in lines(userOpts.wordlist):
checkBranch(subPath, userOpts)
spawn checkBranch(subPath, userOpts)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment