FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
BenchmarkJava/runCrawler.sh at master · kersevan/BenchmarkJava · GitHub
kersevan
/
BenchmarkJava
Public
forked from
OWASP-Benchmark/BenchmarkJava
Notifications
You must be signed in to change notification settings
Fork
0
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.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
13 lines (13 loc) · 654 Bytes
Breadcrumbs
BenchmarkJava
/
runCrawler.sh
Copy path
File metadata and controls
executable file
·
13 lines (13 loc) · 654 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
#!
/bin/sh
source
"
scripts/verifyBenchmarkPluginAvailable.sh
"
if
[
$#
-eq
2 ]
;
then
mvn org.owasp:benchmarkutils-maven-plugin:run-crawler -DcrawlerFile=data/benchmark-crawler-http.xml -DproxyHost=
"
$1
"
-DproxyPort=
"
$2
"
elif
[
$#
-eq
0 ]
;
then
mvn org.owasp:benchmarkutils-maven-plugin:run-crawler -DcrawlerFile=data/benchmark-crawler-http.xml
else
echo
"
Error!!
"
echo
"
-------
"
echo
"
To run the Crawler for localhost, execute runCrawler.sh with no arguments.
"
echo
"
To run the Crawler for remote host, execute runCrawler.sh with only 2 arguments, proxy-host and proxy-port.
"
echo
"
Example: ./runCrawler.sh 192.168.0.1 53452
"
fi
Back
|
FazBrowse Home
|
New Git URL