mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-03-12 08:55:14 +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;
|
||||
|
||||
case "MITMPROXY":
|
||||
this.proxy = {
|
||||
"enabled": true,
|
||||
"protocol": "http",
|
||||
"host": "127.0.0.1",
|
||||
"port": 8080,
|
||||
"credential": null
|
||||
};
|
||||
break;
|
||||
|
||||
case "BURPSUITE":
|
||||
case "ZAP":
|
||||
this.proxy = {
|
||||
"enabled": true,
|
||||
"protocol": "http",
|
||||
|
@ -793,8 +785,6 @@ var HTTPObject = function(engine) {
|
|||
"port": 8080,
|
||||
"credential": null
|
||||
};
|
||||
this.curlOptions.push("-k");
|
||||
this.curlOptions.push("--ssl-no-revoke");
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue
Block a user