remove intercept

This commit is contained in:
加里 2014-09-11 16:17:41 +08:00
parent 1ddc63cc41
commit 7b38c91d9f
4 changed files with 5 additions and 3 deletions

View File

@ -10,4 +10,6 @@ echo "rootCA generated at :"
pwd pwd
echo "=============" echo "============="
chmod 666 rootCA.*
exit 0 exit 0

View File

@ -68,7 +68,7 @@ function checkRootCA(){
if(!isRootCAFileExists()){ if(!isRootCAFileExists()){
console.log(color.red("can not find rootCA.crt or rootCA.key")); console.log(color.red("can not find rootCA.crt or rootCA.key"));
console.log(color.red("you may generate one by the following methods")); console.log(color.red("you may generate one by the following methods"));
console.log(color.red("\twhen using globally : anyproxy --root")); console.log(color.red("\twhen using globally : sudo anyproxy --root"));
console.log(color.red("\twhen using as a module : require(\"anyproxy\").generateRootCA();")); console.log(color.red("\twhen using as a module : require(\"anyproxy\").generateRootCA();"));
process.exit(0); process.exit(0);
} }

View File

@ -41,7 +41,7 @@ module.exports = {
}, },
shouldInterceptHttpsReq :function(req){ shouldInterceptHttpsReq :function(req){
return true; return false;
} }
}; };

View File

@ -1,6 +1,6 @@
{ {
"name": "anyproxy", "name": "anyproxy",
"version": "2.3.5", "version": "2.3.6",
"description": "a charles/fiddler like proxy written in NodeJs, which can handle HTTPS requests and CROS perfectly.", "description": "a charles/fiddler like proxy written in NodeJs, which can handle HTTPS requests and CROS perfectly.",
"main": "proxy.js", "main": "proxy.js",
"bin": { "bin": {