Skip to content

Commit

Permalink
Prevent BurpRequestEngine from assuming everything is HTTPS
Browse files Browse the repository at this point in the history
  • Loading branch information
albinowax committed Jan 21, 2019
1 parent 7bec912 commit b36d399
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions BurpRequestEngine.kt
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ open class BurpRequestEngine(url: String, threads: Int, maxQueueSize: Int, overr
}

completedLatch = CountDownLatch(threads)
Utils.out("Warming up...")
val target = URL(url)
val service = Utils.callbacks.helpers.buildHttpService(target.host, target.port, true)
val service = Utils.callbacks.helpers.buildHttpService(target.host, target.port, target.protocol == "https")

for(j in 1..threads) {
threadPool.add(
Expand Down

0 comments on commit b36d399

Please sign in to comment.