kelvinBen / AppInfoScanner

一款适用于以HW行动/红队/渗透测试团队为场景的移动端(Android、iOS、WEB、H5、静态网站)信息收集扫描工具,可以帮助渗透测试工程师、攻击队成员、红队成员快速收集到移动端或者静态WEB站点中关键的资产信息并提供基本的信息输出,如:Title、Domain、CDN、指纹信息、状态信息等。
GNU General Public License v3.0
3.19k stars 379 forks source link

Exception: Please install the Java environment! #33

Open R00T-1024 opened 1 year ago

R00T-1024 commented 1 year ago

PS D:\Tools\渗透测试\APP\AppinfoScanner_V1.0.8_Releases> python.exe .\app.py android -i C:\Users\Administrator\Downloads\6399.apk [] Create directory D:\Tools\渗透测试\APP\AppinfoScanner_V1.0.8_Releases\out [] AI is analyzing filtering rules...... [] The filtering rules obtained by AI are as follows: {'.apache.org', '.apple.com', '.jpush.cn', '.github.com', '.0.0.0.0', '.w3school.com.cn', '.localhost', '.w3.org', '.umeng.com', '.android.com', '..amap.com', '.127.0.0.1', '.umengcloud.com', '.slf4j.org'} 系统找不到指定的路径。 java version "1.8.0_351" Java(TM) SE Runtime Environment (build 1.8.0_351-b10) Java HotSpot(TM) 64-Bit Server VM (build 25.351-b10, mixed mode) Traceback (most recent call last): File "D:\Tools\渗透测试\APP\AppinfoScanner_V1.0.8_Releases\app.py", line 79, in main() File "D:\Tools\渗透测试\APP\AppinfoScanner_V1.0.8_Releases\app.py", line 75, in main cli() File "D:\install\python39\lib\site-packages\click\core.py", line 1130, in call return self.main(args, kwargs) File "D:\install\python39\lib\site-packages\click\core.py", line 1055, in main rv = self.invoke(ctx) File "D:\install\python39\lib\site-packages\click\core.py", line 1657, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "D:\install\python39\lib\site-packages\click\core.py", line 1404, in invoke return ctx.invoke(self.callback, ctx.params) File "D:\install\python39\lib\site-packages\click\core.py", line 760, in invoke return callback(*args, **kwargs) File "D:\Tools\渗透测试\APP\AppinfoScanner_V1.0.8_Releases\app.py", line 35, in android raise e File "D:\Tools\渗透测试\APP\AppinfoScanner_V1.0.8_Releases\app.py", line 33, in android BaseTask("Android", inputs, rules, sniffer, threads, package).start() File "D:\Tools\渗透测试\APP\AppinfoScanner_V1.0.8_Releases\libs\task\base_task.py", line 47, in start task_info = self.tast_control() File "D:\Tools\渗透测试\APP\AppinfoScanner_V1.0.8_Releases\libs\task\base_task.py", line 89, in __tast_control task_info = AndroidTask(cacar_path, self.package).start() File "D:\Tools\渗透测试\APP\AppinfoScanner_V1.0.8_Releases\libs\task\android_task.py", line 28, in start raise Exception("Please install the Java environment!") Exception: Please install the Java environment!

XXXE88 commented 1 year ago

java 环境变量

R00T-1024 commented 1 year ago

设置好了环境变量还是不行

R00T-1024 commented 1 year ago

图片

R00T-1024 commented 1 year ago

图片

R00T-1024 commented 1 year ago

图片

R00T-1024 commented 1 year ago

图片

lanyinglinglong commented 1 year ago

同样遇到了这个问题