Giter VIP home page Giter VIP logo

coeus's Introduction

Coeus

Coeus: Coeus was one of the Titans, son of Uranus and Gaia. His name means questioning.

if we need import android sdk,we maybe have some questions about the sdk,like sercurity/permissions/policy/info

Coeus project will help you do this . you can see report.xml in report dir.

Try

Try your first Coeus scan:

python coeus.py xxx.aar

CH

0x01 项目地址

项目地址: https://github.com/wulio/Coeus

0x02 依赖环境

​ python 3.x / java

0x03 安装使用教程

0x04 相关说明

  • 相关政策代码及隐私代码检测策略,均在scrpit文件夹中,json格式便于添加与修改

  • 相应的工具也存储在tool文件夹下

  • 具体代码逻辑均可在项目组查看。

  • 生成的扫描文件,输出在result文件夹下,分别有对应的log文件和输出的report.xml文件。

0x05 使用示例

python ceous.py ./test/getui_2.13.3.0-gisdk_3.1.9.1-gssdk_2.3.0.0.aar	

Authors

  • deff

License

Coeus support Apache License 2.0

Email

[email protected]

Issues

welcome star or issues!

Plan

  • - more-sdk-info 2019.12.30
  • - script-update 2019.1.15
  • - apk-support 2019.2.7
  • - dynamicscannner 2019.3
  • - fuzz 2020.4
  • -
  • -
  • -

cause of work-transform pasued plan

Project

version : v1.0.1 time :2019-12-30

  1. 更新部分script规则
  2. 更新支持输入文件为相对路径
  3. 更新url展示,过滤其中相同url地址
  4. 添加部分工具,如adb/dex2jar等工具

由于工作转化,暂停计划。

coeus's People

Contributors

wulio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

coeus's Issues

CANOT MAKE TEMP

when I implement the command , printing out “OSError: [Errno 2] No such file or directory: '/home/tools/Coeus-master/temp/20191225-10-19-31'” , hao can I do it ???

win 10 上不行 ?

Microsoft Windows [版本 10.0.17763.652]

miqt@DESKTOP-98UF1SJ E:\Coeus
$ python coeus.py /test/analysys_track_v4.3.0.6_2019121300.jar
root : INFO start sdk scan..
root : ERROR sdk文件不存在

miqt@DESKTOP-98UF1SJ E:\Coeus
$

对于AndroidManifest.xml每行读取的问题

读行的话,
针对于AndroidManifest.xml的 换行配置读取错误:如

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
permission = re_per.findall(line)[0] IndexError: list index out of range

 with open(config.xml_path, 'r', encoding='utf-8') as file:
            lines = file.readlines()
            for line in lines:
                if line.find('package=') > -1:
                    re_name = re.compile(r"package=\"(.*?)\"\s")
                    sdkinfo.package_name = re_name.findall(line)[0]
                if line.find('versionName') > -1:
                    re_version = re.compile(r"versionName=\"(.*?)\"\s")
                    sdkinfo.version_name = re_version.findall(line)[0]
                if line.find('uses-permission') > -1:
                    re_per = re.compile(r"android:name=\"(.*?)\"\s")
                    permission = re_per.findall(line)[0]
                    sdkinfo.permissions.append(permission)
                if line.find('minSdkVersion') > -1:
                    re_min = re.compile(r"android:minSdkVersion=\"(.*?)\"\s")
                    sdkinfo.min_sdk_version = re_min.findall(line)[0]
                if line.find('targetSdkVersion') > -1:
                    re_target = re.compile(r"android:targetSdkVersion=\"(.*?)\"\s")
                    sdkinfo.target_sdk_version = re_target.findall(line)[0]
                if line.find("android:allowBackup") > -1:
                    re_allow = re.compile(r"android:allowBackup=\"(.*?)\"\s")
                    sdkinfo.allow_back_up = re_allow.findall(line)[0].lower() == "true"
                if line.find("android:debuggable") > -1:
                    re_debug = re.compile(r"android:debuggable=\"(.*?)\"\s")
                    sdkinfo.debuggable = re_debug.findall(line)[0].lower() == "true"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.