FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
BenchmarkJava/runCrawler.bat at master · sanket-deepsource/BenchmarkJava · GitHub
sanket-deepsource
/
BenchmarkJava
Public
forked from
OWASP-Benchmark/BenchmarkJava
Notifications
You must be signed in to change notification settings
Fork
1
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
BenchmarkJava
/
runCrawler.bat
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
17 lines (17 loc) · 815 Bytes
Breadcrumbs
BenchmarkJava
/
runCrawler.bat
Copy path
File metadata and controls
executable file
·
17 lines (17 loc) · 815 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@
echo
off
REM
source "scripts/verifyBenchmarkPluginAvailable.sh" - Don't have .bat version of this (yet)
set
/A
args_count
=
0
for
%%A
in
(
%*
)
do
set
/A
args_count
+=
1
if
%args_count%
NEQ
0
(
if
%args_count%
EQU
2
(
CALL
mvn org.owasp:benchmarkutils-maven-plugin:run-crawler -DcrawlerFile=data/benchmark-crawler-http.xml -DproxyHost=
"
%1
"
-DproxyPort=
"
%2
"
)
else
(
echo
Error!!
echo
-------
echo
To run the Crawler for localhost, execute runCrawler.bat with no arguments.
echo
To run the Crawler for remote host, execute runCrawler.bat with only
2
arguments, proxy-host and proxy-port.
echo
Example: runCrawler.bat 192.168.0.1
53452
)
)
else
(
CALL
mvn org.owasp:benchmarkutils-maven-plugin:run-crawler -DcrawlerFile=data/benchmark-crawler-http.xml
)
Back
|
FazBrowse Home
|
New Git URL