Skip to content

Commit

Permalink
updated htcrawl
Browse files Browse the repository at this point in the history
  • Loading branch information
fcavallarin committed Nov 8, 2019
1 parent 11e43ca commit 75406ea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 2 additions & 0 deletions consts.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ exports.VULNTYPE_REFLECTED = "reflected";
exports.VULNTYPE_STORED = "stored";
exports.VULNTYPE_WARNING = "warning";

exports.DEF_MAXEXECTIME = 300000;

1 change: 1 addition & 0 deletions domdig.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ function ps(message){

const options = utils.parseArgs(argv, targetUrl);
options.crawlmode = "random"
if(!options.maxExecTime) options.maxExecTime = consts.DEF_MAXEXECTIME;
const checks = argv.C ? argv.C.split(",") : [consts.CHECKTYPE_DOM, consts.CHECKTYPE_REFLECTED, consts.CHECKTYPE_STORED];
var payloads = argv.P ? utils.loadPayloadsFromFile(argv.P) : defpayloads;

Expand Down
7 changes: 1 addition & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@
"description": "DOM XSS scanner for Single Page Applications",
"main": "domdig.js",
"dependencies": {
"htcrawl": "^1.0.1",
"minimist": "^1.2.0",
"chalk": "^2.4.2"
},
"devDependencies": {
"htcrawl": "^1.0.1",
"htcrawl": "fcavallarin/htcrawl#master",
"minimist": "^1.2.0",
"chalk": "^2.4.2"
},
Expand Down

0 comments on commit 75406ea

Please sign in to comment.