0
我试图运行一个现成的Python脚本(称为m0biliz3r),我从link下载了这个脚本。它基本上用于执行android.apk文件的动态安全测试。mobilyzer.py WindowsError:[错误2]系统找不到指定的文件
所以,当执行python脚本时,我的Windows7(64位)上出现以下错误屏幕。
Traceback (most recent call last):
File "moblizer.py", line 47, in <module>
call(["apktool","d",b])
File "C:\Python27\lib\subprocess.py", line 522, in call
return Popen(*popenargs, **kwargs).wait()
File "C:\Python27\lib\subprocess.py", line 710, in __init__
errread, errwrite)
File "C:\Python27\lib\subprocess.py", line 958, in _execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified
当前文件夹从那里我执行moblizer.py脚本内容如下。
C:\Python27>dir
Volume in drive C has no label.
Volume Serial Number is A6D5-3E2A
Directory of C:\Python27
25-May-16 07:16 PM <DIR> .
25-May-16 07:16 PM <DIR> ..
25-May-16 07:15 PM <DIR> apktool
14-Feb-16 08:09 PM <DIR> DLLs
14-Feb-16 08:09 PM <DIR> Doc
22-May-16 04:11 PM 25,996,792 FTP_v8.3_1905.apk
19-May-16 02:12 PM 25,954,247 FT_v10.0_0605.apk
14-Feb-16 08:09 PM <DIR> include
07-Mar-16 03:27 PM <DIR> Lib
14-Feb-16 08:09 PM <DIR> libs
05-Dec-15 08:45 PM 38,584 LICENSE.txt
25-May-16 07:33 PM 422 logfile.log
25-May-16 07:34 PM 4,206 moblizer.py
05-Dec-15 08:25 PM 444,900 NEWS.txt
05-Dec-15 08:41 PM 28,160 python.exe
05-Dec-15 08:41 PM 28,160 pythonw.exe
21-Nov-15 11:03 PM 56,557 README.txt
14-Feb-16 09:16 PM <DIR> Scripts
13-Mar-16 09:46 AM <DIR> sqlmap
14-Feb-16 08:09 PM <DIR> tcl
14-Feb-16 08:09 PM <DIR> Tools
9 File(s) 52,552,028 bytes
12 Dir(s) 25,998,880,768 bytes free
我感谢所有帮助和建议如何解决不是一个程序员或开发。
似乎该脚本需要[apktool](http://ibotpeaches.github.io/Apktool/)。 – dizballanze
感谢您的回复dizballanze。但实际上,我确实在C:\ Python27 \ apktool位置有apktool文件夹。还是我需要检查别的东西? – Sammy