Update http.js

This commit is contained in:
Namhyeon Go 2022-05-30 20:14:24 +09:00 committed by GitHub
parent 390fca7ad5
commit 2a90d80156
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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:
@ -828,4 +818,4 @@ exports.get = function(url, data, headers) {
exports.VERSIONINFO = "HTTP Lib (http.js) version 0.7.2";
exports.global = global;
exports.require = global.require;
exports.require = global.require;