mirror of
https://github.com/ysoftdevs/wapifuzz.git
synced 2026-03-25 10:51:32 +01:00
Progress redirected
Full text log goes right into log file.
This commit is contained in:
3
run.ps1
3
run.ps1
@@ -32,7 +32,6 @@ $DOCKER='docker'
|
||||
# Define paths inside directory
|
||||
$PARSER_FOLDER="./parser/OpenApiParserCLI/"
|
||||
$API_REQUESTS_JSON="./parser/api.json"
|
||||
$FUZZER_LOG="fuzzing.log"
|
||||
$JUNIT_TEST_REPORT="./reporter/reports.junit.xml"
|
||||
$HTML_TEST_REPORT="./reporter/reports.html"
|
||||
$XUNIT2HTML_XSL="./reporter/xunit_to_html.xsl"
|
||||
@@ -67,7 +66,7 @@ Write-Host "Installing specific dependencies"
|
||||
pip install git+https://github.com/jtpereyda/boofuzz.git
|
||||
pip install junit-xml
|
||||
Write-Host "Starting fuzz testing"
|
||||
python ./fuzzer/wapifuzz.py ${config} ${API_REQUESTS_JSON} ${JUNIT_TEST_REPORT} ${payloads} > $FUZZER_LOG
|
||||
python ./fuzzer/wapifuzz.py ${config} ${API_REQUESTS_JSON} ${JUNIT_TEST_REPORT} ${payloads}
|
||||
$FUZZER_ERROR_CODE=$LASTEXITCODE
|
||||
if ($FUZZER_ERROR_CODE -eq 2)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user