mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-09 21:26:04 +00:00
Update http.js
This commit is contained in:
parent
390fca7ad5
commit
2a90d80156
12
lib/http.js
12
lib/http.js
|
@ -776,16 +776,8 @@ var HTTPObject = function(engine) {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "MITMPROXY":
|
case "MITMPROXY":
|
||||||
this.proxy = {
|
|
||||||
"enabled": true,
|
|
||||||
"protocol": "http",
|
|
||||||
"host": "127.0.0.1",
|
|
||||||
"port": 8080,
|
|
||||||
"credential": null
|
|
||||||
};
|
|
||||||
break;
|
|
||||||
|
|
||||||
case "BURPSUITE":
|
case "BURPSUITE":
|
||||||
|
case "ZAP":
|
||||||
this.proxy = {
|
this.proxy = {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"protocol": "http",
|
"protocol": "http",
|
||||||
|
@ -793,8 +785,6 @@ var HTTPObject = function(engine) {
|
||||||
"port": 8080,
|
"port": 8080,
|
||||||
"credential": null
|
"credential": null
|
||||||
};
|
};
|
||||||
this.curlOptions.push("-k");
|
|
||||||
this.curlOptions.push("--ssl-no-revoke");
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user