(expression, silent=False)
| 543 | return extractExpectedValue(value, expected) |
| 544 | |
| 545 | def goStacked(expression, silent=False): |
| 546 | if PAYLOAD.TECHNIQUE.STACKED in kb.injection.data: |
| 547 | setTechnique(PAYLOAD.TECHNIQUE.STACKED) |
| 548 | else: |
| 549 | for technique in getPublicTypeMembers(PAYLOAD.TECHNIQUE, True): |
| 550 | _ = getTechniqueData(technique) |
| 551 | if _ and "stacked" in _["title"].lower(): |
| 552 | setTechnique(technique) |
| 553 | break |
| 554 | |
| 555 | expression = cleanQuery(expression) |
| 556 | |
| 557 | if conf.direct: |
| 558 | return direct(expression) |
| 559 | |
| 560 | query = agent.prefixQuery(";%s" % expression) |
| 561 | query = agent.suffixQuery(query) |
| 562 | payload = agent.payload(newValue=query) |
| 563 | Request.queryPage(payload, content=False, silent=silent, noteResponseTime=False, timeBasedCompare="SELECT" in (payload or "").upper()) |
| 564 | |
| 565 | def checkBooleanExpression(expression, expectingNone=True): |
| 566 | return getValue(expression, expected=EXPECTED.BOOL, charsetType=CHARSET_TYPE.BINARY, suppressOutput=True, expectingNone=expectingNone) |
nothing calls this directly
no test coverage detected
searching dependent graphs…