mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-14 21:51:04 +00:00
Update http.js
This commit is contained in:
parent
ece4de6823
commit
39f4db1966
10
lib/http.js
10
lib/http.js
|
@ -759,7 +759,7 @@ var HTTPObject = function(engine) {
|
||||||
console.warn("Existing proxy settings will be reset.");
|
console.warn("Existing proxy settings will be reset.");
|
||||||
|
|
||||||
switch (_debugger) {
|
switch (_debugger) {
|
||||||
case "FIDDLER":
|
case "FIDDLER": // Fiddler Classic
|
||||||
this.proxy = {
|
this.proxy = {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"protocol": "http",
|
"protocol": "http",
|
||||||
|
@ -771,7 +771,7 @@ var HTTPObject = function(engine) {
|
||||||
this.curlOptions.push("--ssl-no-revoke");
|
this.curlOptions.push("--ssl-no-revoke");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "FIDDLER2":
|
case "FIDDLER2": // Fiddler Everywhere
|
||||||
this.proxy = {
|
this.proxy = {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"protocol": "http",
|
"protocol": "http",
|
||||||
|
@ -783,9 +783,9 @@ var HTTPObject = function(engine) {
|
||||||
this.curlOptions.push("--ssl-no-revoke");
|
this.curlOptions.push("--ssl-no-revoke");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "MITMPROXY":
|
case "MITMPROXY": // mitmproxy
|
||||||
case "BURPSUITE":
|
case "BURPSUITE": // Burp Suite
|
||||||
case "ZAP":
|
case "ZAP": // OWASP ZAP Zed Attack Proxy
|
||||||
this.proxy = {
|
this.proxy = {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"protocol": "http",
|
"protocol": "http",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user