Returns query counter for a given technique >>> resetCounter(PAYLOAD.TECHNIQUE.STACKED); incrementCounter(PAYLOAD.TECHNIQUE.STACKED); getCounter(PAYLOAD.TECHNIQUE.STACKED) 1
(technique)
| 4925 | kb.counters[technique] = getCounter(technique) + 1 |
| 4926 | |
| 4927 | def getCounter(technique): |
| 4928 | """ |
| 4929 | Returns query counter for a given technique |
| 4930 | |
| 4931 | >>> resetCounter(PAYLOAD.TECHNIQUE.STACKED); incrementCounter(PAYLOAD.TECHNIQUE.STACKED); getCounter(PAYLOAD.TECHNIQUE.STACKED) |
| 4932 | 1 |
| 4933 | """ |
| 4934 | |
| 4935 | return kb.counters.get(technique, 0) |
| 4936 | |
| 4937 | def applyFunctionRecursively(value, function): |
| 4938 | """ |
no test coverage detected
searching dependent graphs…