说明
Ubuntu 20.04 LTS以下版本bear 2.4.x的版本非2.4.4,手动编译需要依赖cmake,提供一版makefile自用
地址
使用
编译
tar xf bear.tgz
cd bear
make
验证
将bear和libear.so拷贝到PATH目录即可
bear make xxx
手动指定libear.so路径
diff --git a/bear b/bear
index f2e9b4f..84e562f 100755
--- a/bear
+++ b/bear
@@ -614,7 +614,7 @@ def create_intercept_parser():
advanced.add_argument(
'--libear', '-l',
dest='libear',
- default= os.path.dirname(os.path.realpath(__file__)) + '/libear.so',
+ default= '~/libear.so',
action='store',
help="""specify libear file location.""")