Skip to content

Commit

Permalink
Rename shadowed value (request)
Browse files Browse the repository at this point in the history
  • Loading branch information
cak committed Jun 15, 2020
1 parent ec0aa06 commit c615d44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Remix/BurpRemix/src/main/kotlin/HuntListener.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ class HuntListener(private val callbacks: IBurpExtenderCallbacks, private val hu
&& (toolFlag == IBurpExtenderCallbacks.TOOL_PROXY || toolFlag == IBurpExtenderCallbacks.TOOL_SPIDER)
&& (request.method != "OPTIONS" || request.method != "HEAD")
) {
val request = helpers.analyzeRequest(messageInfo) ?: return
val parameters = request.parameters
val requestInfo = helpers.analyzeRequest(messageInfo) ?: return
val parameters = requestInfo.parameters
val huntIssues =
parameters.asSequence().map { param -> checkParameterName(param.name.toLowerCase()) }
.filterNotNull().filter { !it.second.isNullOrEmpty() }.map {
Expand Down

0 comments on commit c615d44

Please sign in to comment.