1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238
| ┌──(g0at㉿kali)-[~/Desktop] └─$ wget https://github.com/FSecureLABS/drozer/releases/download/2.4.4/drozer-2.4.4-py2-none-any.whl ┌──(g0at㉿kali)-[~/Desktop] └─$ sudo apt-get ┌──(g0at㉿kali)-[~/Desktop] └─$ pip2 install wheel DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/ Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: wheel in /usr/local/lib/python2.7/dist-packages (0.37.1) ┌──(g0at㉿kali)-[~/Desktop] └─$ pip2 install pyyaml DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/ Defaulting to user installation because normal site-packages is not writeable Collecting pyyaml Downloading PyYAML-5.4.1-cp27-cp27mu-manylinux1_x86_64.whl (574 kB) |████████████████████████████████| 574 kB 436 kB/s Installing collected packages: pyyaml Successfully installed pyyaml-5.4.1 ┌──(g0at㉿kali)-[~/Desktop] └─$ pip2 install pyhamcrest DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/ Defaulting to user installation because normal site-packages is not writeable Collecting pyhamcrest Downloading PyHamcrest-1.10.1.tar.gz (43 kB) |████████████████████████████████| 43 kB 252 kB/s Collecting six Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Building wheels for collected packages: pyhamcrest Building wheel for pyhamcrest (setup.py) ... done Created wheel for pyhamcrest: filename=PyHamcrest-1.10.1-py2-none-any.whl size=48898 sha256=7d5493ff342fd5ea5ec10a6d8713f7519bfcf4cc98d1b101cb75039f15e76e43 Stored in directory: /home/g0at/.cache/pip/wheels/f5/8c/e2/f0cea19d340270166bbfd4a2e9d8b8c132e26ef7e1376a0890 Successfully built pyhamcrest Installing collected packages: six, pyhamcrest Successfully installed pyhamcrest-1.10.1 six-1.16.0 ┌──(g0at㉿kali)-[~/Desktop] └─$ pip2 install protobuf DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/ Defaulting to user installation because normal site-packages is not writeable Collecting protobuf Downloading protobuf-3.17.3-cp27-cp27mu-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.0 MB) |████████████████████████████████| 1.0 MB 349 kB/s Requirement already satisfied: six>=1.9 in /home/g0at/.local/lib/python2.7/site-packages (from protobuf) (1.16.0) Installing collected packages: protobuf Successfully installed protobuf-3.17.3 ┌──(g0at㉿kali)-[~/Desktop] └─$ pip2 install pyopenssl DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/ Defaulting to user installation because normal site-packages is not writeable Collecting pyopenssl Downloading pyOpenSSL-21.0.0-py2.py3-none-any.whl (55 kB) |████████████████████████████████| 55 kB 304 kB/s Collecting cryptography>=3.3 Downloading cryptography-3.3.2-cp27-cp27mu-manylinux2010_x86_64.whl (2.6 MB) |████████████████████████████████| 2.6 MB 686 kB/s Requirement already satisfied: six>=1.5.2 in /home/g0at/.local/lib/python2.7/site-packages (from pyopenssl) (1.16.0) Collecting cffi>=1.12 Downloading cffi-1.15.1-cp27-cp27mu-manylinux1_x86_64.whl (390 kB) |████████████████████████████████| 390 kB 4.8 MB/s Collecting enum34; python_version < "3" Downloading enum34-1.1.10-py2-none-any.whl (11 kB) Collecting ipaddress; python_version < "3" Downloading ipaddress-1.0.23-py2.py3-none-any.whl (18 kB) Collecting pycparser Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) |████████████████████████████████| 118 kB 18.2 MB/s Installing collected packages: pycparser, cffi, enum34, ipaddress, cryptography, pyopenssl Successfully installed cffi-1.15.1 cryptography-3.3.2 enum34-1.1.10 ipaddress-1.0.23 pycparser-2.21 pyopenssl-21.0.0 ┌──(g0at㉿kali)-[~/Desktop] └─$ pip2 install twisted DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/ Defaulting to user installation because normal site-packages is not writeable Collecting twisted Downloading Twisted-20.3.0-cp27-cp27mu-manylinux1_x86_64.whl (3.2 MB) |████████████████████████████████| 3.2 MB 396 kB/s Collecting zope.interface>=4.4.2 Downloading zope.interface-5.5.2.tar.gz (300 kB) |████████████████████████████████| 300 kB 2.5 MB/s Collecting attrs>=19.2.0 Downloading attrs-21.4.0-py2.py3-none-any.whl (60 kB) |████████████████████████████████| 60 kB 3.8 MB/s Collecting hyperlink>=17.1.1 Downloading hyperlink-21.0.0-py2.py3-none-any.whl (74 kB) |████████████████████████████████| 74 kB 1.0 MB/s Collecting constantly>=15.1 Downloading constantly-15.1.0-py2.py3-none-any.whl (7.9 kB) Collecting Automat>=0.3.0 Downloading Automat-22.10.0-py2.py3-none-any.whl (26 kB) Requirement already satisfied: PyHamcrest!=1.10.0,>=1.9.0 in /home/g0at/.local/lib/python2.7/site-packages (from twisted) (1.10.1) Collecting incremental>=16.10.1 Downloading incremental-22.10.0-py2.py3-none-any.whl (16 kB) Requirement already satisfied: setuptools in /usr/local/lib/python2.7/dist-packages (from zope.interface>=4.4.2->twisted) (44.1.1) Collecting idna>=2.5 Downloading idna-2.10-py2.py3-none-any.whl (58 kB) |████████████████████████████████| 58 kB 4.6 MB/s Collecting typing; python_version < "3.5" Downloading typing-3.10.0.0-py2-none-any.whl (26 kB) Requirement already satisfied: six in /home/g0at/.local/lib/python2.7/site-packages (from Automat>=0.3.0->twisted) (1.16.0) Building wheels for collected packages: zope.interface Building wheel for zope.interface (setup.py) ... done Created wheel for zope.interface: filename=zope.interface-5.5.2-cp27-cp27mu-linux_x86_64.whl size=198975 sha256=c18b24a79ba85066a8b982b2f624c23b285a56618aae08f309f200f02383a5f2 Stored in directory: /home/g0at/.cache/pip/wheels/8f/60/b0/736e361327f969f38ad9ee2e24132600a82fac63ab43b7082e Successfully built zope.interface Installing collected packages: zope.interface, attrs, idna, typing, hyperlink, constantly, Automat, incremental, twisted WARNING: The script automat-visualize is installed in '/home/g0at/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use WARNING: The scripts cftp, ckeygen, conch, mailmail, pyhtmlizer, tkconch, trial, twist and twistd are installed in '/home/g0at/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use Successfully installed Automat-22.10.0 attrs-21.4.0 constantly-15.1.0 hyperlink-21.0.0 idna-2.10 incremental-22.10.0 twisted-20.3.0 typing-3.10.0.0 zope.interface-5.5.2 ┌──(g0at㉿kali)-[~/Desktop] └─$ pip2 install service_identity DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/ Defaulting to user installation because normal site-packages is not writeable Collecting service_identity Downloading service_identity-21.1.0-py2.py3-none-any.whl (12 kB) Collecting pyasn1-modules Downloading pyasn1_modules-0.3.0-py2.py3-none-any.whl (181 kB) |████████████████████████████████| 181 kB 456 kB/s Collecting pyasn1 Downloading pyasn1-0.5.1-py2.py3-none-any.whl (84 kB) |████████████████████████████████| 84 kB 3.5 MB/s Requirement already satisfied: cryptography in /home/g0at/.local/lib/python2.7/site-packages (from service_identity) (3.3.2) Requirement already satisfied: six in /home/g0at/.local/lib/python2.7/site-packages (from service_identity) (1.16.0) Requirement already satisfied: attrs>=19.1.0 in /home/g0at/.local/lib/python2.7/site-packages (from service_identity) (21.4.0) Requirement already satisfied: ipaddress; python_version < "3.3" in /home/g0at/.local/lib/python2.7/site-packages (from service_identity) (1.0.23) Requirement already satisfied: cffi>=1.12 in /home/g0at/.local/lib/python2.7/site-packages (from cryptography->service_identity) (1.15.1) Requirement already satisfied: enum34; python_version < "3" in /home/g0at/.local/lib/python2.7/site-packages (from cryptography->service_identity) (1.1.10) Requirement already satisfied: pycparser in /home/g0at/.local/lib/python2.7/site-packages (from cffi>=1.12->cryptography->service_identity) (2.21) Installing collected packages: pyasn1, pyasn1-modules, service-identity Successfully installed pyasn1-0.5.1 pyasn1-modules-0.3.0 service-identity-21.1.0 ┌──(g0at㉿kali)-[~/Desktop] └─$ sudo apt-get install 正在读取软件包列表... 完成 正在分析软件包的依赖关系树... 完成 正在读取状态信息... 完成 E: 无法定位软件包 openjdk-8-jdk-headless ┌──(g0at㉿kali)-[~/Desktop] └─$ java -Version Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true Unrecognized option: -Version Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. ┌──(g0at㉿kali)-[~/Desktop] └─$ javac -version Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true javac 17.0.8 ┌──(g0at㉿kali)-[~/Desktop] └─$ sudo pip2 install drozer-2.4.4-py2-none-any.whl DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/ Processing ./drozer-2.4.4-py2-none-any.whl Collecting pyyaml>=3.11 Downloading PyYAML-5.4.1-cp27-cp27mu-manylinux1_x86_64.whl (574 kB) |████████████████████████████████| 574 kB 466 kB/s Collecting protobuf>=2.6.1 Downloading protobuf-3.17.3-cp27-cp27mu-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.0 MB) |████████████████████████████████| 1.0 MB 6.3 MB/s Collecting pyopenssl>=16.2 Downloading pyOpenSSL-21.0.0-py2.py3-none-any.whl (55 kB) |████████████████████████████████| 55 kB 2.2 MB/s Collecting six>=1.9 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting cryptography>=3.3 Downloading cryptography-3.3.2-cp27-cp27mu-manylinux2010_x86_64.whl (2.6 MB) |████████████████████████████████| 2.6 MB 2.3 MB/s Collecting cffi>=1.12 Downloading cffi-1.15.1-cp27-cp27mu-manylinux1_x86_64.whl (390 kB) |████████████████████████████████| 390 kB 22.1 MB/s Collecting enum34; python_version < "3" Downloading enum34-1.1.10-py2-none-any.whl (11 kB) Collecting ipaddress; python_version < "3" Downloading ipaddress-1.0.23-py2.py3-none-any.whl (18 kB) Collecting pycparser Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) |████████████████████████████████| 118 kB 9.4 MB/s Installing collected packages: pyyaml, six, protobuf, pycparser, cffi, enum34, ipaddress, cryptography, pyopenssl, drozer Successfully installed cffi-1.15.1 cryptography-3.3.2 drozer-2.4.4 enum34-1.1.10 ipaddress-1.0.23 protobuf-3.17.3 pycparser-2.21 pyopenssl-21.0.0 pyyaml-5.4.1 six-1.16.0 ┌──(g0at㉿kali)-[~/Desktop] └─$ drozer usage: drozer [COMMAND]
Run `drozer [COMMAND]
Commands: console start the drozer Console module manage drozer modules server start a drozer Server ssl manage drozer SSL key material exploit generate an exploit to deploy drozer agent create custom drozer Agents payload generate payloads to deploy droze
┌──(g0at㉿kali)-[~/Desktop] └─$ adb install drozer-agent-2.3.4.apk Performing Streamed Install Success ┌──(g0at㉿kali)-[~/Desktop] └─$ adb forward tcp:31415 tcp:31415 31415 ┌──(g0at㉿kali)-[~/Desktop] └─$ drozer console connect /home/g0at/.local/lib/python2.7/site-packages/OpenSSL/crypto.py:14: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release. from cryptography import utils, x509 Selecting 2abfc75c6bf43736 (Qualcomm Zeekr DHU for arm64 12)
.. ..:. ..o.. .r.. ..a.. . ....... . ..nd ro..idsnemesisand..pr .otectorandroidsneme. .,sisandprotectorandroids+. ..nemesisandprotectorandroidsn:. .emesisandprotectorandroidsnemes.. ..isandp,..,rotectorandro,..,idsnem. .isisandp..rotectorandroid..snemisis. ,andprotectorandroidsnemisisandprotec. .torandroidsnemesisandprotectorandroid. .snemisisandprotectorandroidsnemesisan: .dprotectorandroidsnemesisandprotector.
drozer Console (v2.4.4) dz>
|