Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ecbcd4a

Browse files
committed
Minor update
1 parent 0835fb2 commit ecbcd4a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/core/option.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@
108108
from lib.core.settings import ORACLE_ALIASES
109109
from lib.core.settings import PARAMETER_SPLITTING_REGEX
110110
from lib.core.settings import PGSQL_ALIASES
111+
from lib.core.settings import PROBLEMATIC_CUSTOM_INJECTION_PATTERNS
111112
from lib.core.settings import SITE
112113
from lib.core.settings import SQLITE_ALIASES
113114
from lib.core.settings import SUPPORTED_DBMS
@@ -310,6 +311,9 @@ def _parseBurpLog(content):
310311
elif key not in (HTTPHEADER.PROXY_CONNECTION, HTTPHEADER.CONNECTION):
311312
conf.httpHeaders.append((getUnicode(key), getUnicode(value)))
312313

314+
if CUSTOM_INJECTION_MARK_CHAR in re.sub(PROBLEMATIC_CUSTOM_INJECTION_PATTERNS, "", value or ""):
315+
params = True
316+
313317
data = data.rstrip("\r\n") if data else data
314318

315319
if getPostReq and (params or cookie):

0 commit comments

Comments
 (0)