Giter Club home page Giter Club logo

Comments (3)

ucstone avatar ucstone commented on May 21, 2024
exclude_str = ["get", "and", "set", "config", "create", "access", "is", "check", "load", "class", "method", "function",
               "zone", "sha", "des", "aes", "rsa", "dsa", "can", "clear", "long", "task", "thread", "process", "api",
               "async", "sync", "size", "tag", "uuid", "impl", "int", "parser", "conf", "param", "rate", "audio",
               "push", "short", "full", "byte", "state", "info", "util", "java", "cert", "sign", "req", "with", "for",
               "cons", "data", "password", "open", "close", "calc", "code", "track", "group", "time"
               ]

def duplicate(exclude_str, full_list):
    result = []

    for a in range(0, len(full_list)):
        res = []
        # print(a, end='\t')
        for ex in exclude_str:
            res.append(operator.contains(full_list[a].lower(), ex))
        if len(set(res)) == 1:
            print(full_list[a])
            result.append(full_list[a])
    return result

用最沙雕的方法,维持检索ak的准确率。

from apkanalyser.

TheKingOfDuck avatar TheKingOfDuck commented on May 21, 2024

早期的ak格式和现在的差异比较大,以前除了长度基本没啥特征,现在的看到LTA开头的这个基本就是了 长度好像固定16来着? 没注意了,目前的正则是匹配固定长度加字母数字这种,师傅有兴趣可以直接提交pr,我这边合并就行呀

from apkanalyser.

ucstone avatar ucstone commented on May 21, 2024

我还没注意到这个特征,
早期AK id是24位,有LTA特征,利用这个特征比较好匹配了,就没有了误报的问题;
key的话用我这个方法来排除误报,
等我pull下代码,本地改改在PR把。
我是直接复制你的代码集成到我的项目里了。

from apkanalyser.

Related Issues (10)

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.