android.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:objection 作者: sensepost 项目源码 文件源码
def download(self):
        """
            Downloads the latest Android gadget for this
            architecture.

            :return:
        """

        download_url = self._get_download_url()

        # stream the download using requests
        library = requests.get(download_url, stream=True)
        library_destination = self.get_frida_library_path(packed=True)

        # save the requests stream to file
        with open(library_destination, 'wb') as f:
            click.secho('Downloading {0} library to {1}...'.format(self.architecture,
                                                                   library_destination), fg='green', dim=True)

            shutil.copyfileobj(library.raw, f)

        return self
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号