diff --git a/resources/examples/test.py b/resources/examples/test.py index 187f261..68453ef 100644 --- a/resources/examples/test.py +++ b/resources/examples/test.py @@ -1,4 +1,5 @@ # This is just for making sure the engine works during development +# Launch with java -jar build/libs/turbo-intruder-all.jar resources/examples/test.py /dev/null z z def queueRequests(target, wordlists): engine = RequestEngine(endpoint='https://hackxor.net:443', concurrentConnections=1, diff --git a/src/ThreadedRequestEngine.kt b/src/ThreadedRequestEngine.kt index 92acc91..5445ff4 100644 --- a/src/ThreadedRequestEngine.kt +++ b/src/ThreadedRequestEngine.kt @@ -220,6 +220,7 @@ open class ThreadedRequestEngine(url: String, val threads: Int, maxQueueSize: In } } else { + Utils.err("Response has no content-length - doing a one-second socket read instead. This is slow!") socket.soTimeout = 1000 try { while (true) {