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

Skip to content

Commit 0f4fb15

Browse files
committed
major bug fix
1 parent b1c7a17 commit 0f4fb15

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

lib/utils/resume.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
from lib.core.data import logger
2424
from lib.core.data import queries
2525
from lib.core.enums import DBMS
26+
from lib.core.enums import PAYLOAD
2627
from lib.core.unescaper import unescaper
2728
from lib.techniques.blind.inference import bisection
2829
from lib.core.settings import DUMP_START_MARKER
@@ -121,7 +122,10 @@ def resume(expression, payload):
121122
logValue = re.findall("%s(.*?)%s" % (DUMP_START_MARKER, DUMP_STOP_MARKER), resumedValue, re.S)
122123

123124
if logValue:
124-
logValue = ", ".join([value.replace(DUMP_DEL_MARKER, ", ") for value in logValue])
125+
if kb.technique == PAYLOAD.TECHNIQUE.UNION:
126+
logValue = ", ".join([value.replace(DUMP_DEL_MARKER, ", ") for value in logValue])
127+
else:
128+
return None
125129
else:
126130
logValue = resumedValue
127131

0 commit comments

Comments
 (0)