Giter Club home page Giter Club logo

appauth's Introduction


AppAuth


Data preparation

At least 2 set of Android Apps belong to different developers.

Feature Extraction

$ python authfeature.py creator_path [op]csv_path

creator_path: contains sub-directories named with 'auth1', 'auth2', ..., 'authN' and their ".apk" files in these sub-directories.

[*dir*]creator_path---┬---[*dir*]auth#1---┬---[*file*]auth#1apk#1.apk
                      │                   ├---[*file*]auth#1apk#2.apk
                      │                   ├---...
                      │                   └---[*file*]auth#1apk#N.apk
                      ├---[*dir*]auth#2---┬---[*file*]auth#2apk#1.apk
                      │                   ├---[*file*]auth#2apk#2.apk
                      │                   ├---...
                      │                   └---[*file*]auth#2apk#N.apk
                      ├---...
                      └---[*dir*]auth#N---┬---[*file*]auth#Napk#1.apk
                                          ├---[*file*]auth#Napk#2.apk
                                          ├---...
                                          └---[*file*]auth#Napk#N.apk

[op]csv_path: output the feature vectors into ".csv" files named with author's name.

Cross Validation

$ python crossval.py [op]csv_path

[op]csv_path: input the feature vectors in ".csv" files named with author's name.

Pair Attribution

$ python pariauth.py csv_path_pre csv_path_all

csv_path_pre: input the need-to-predict 2 feature vectors in 2 ".csv" files named with author's name.

[*dir*]Features_pre---┬---[*file*]auth#1pre.csv-------[*row*]auth#1apk#1pre
                      └---[*file*]auth#2pre.csv-------[*row*]auth#2apk#1pre

csv_path_all: input all the other feature vectors in ".csv" files named with author's name.

[*dir*]Features_all---┬---[*file*]auth#1all.csv---┬---[*row*]auth#1apk#1all
                      │                           ├---[*row*]auth#1apk#2all
                      │                           ├---...
                      │                           └---[*row*]auth#1apk#Nall
                      └---[*file*]auth#2all.csv---┬---[*row*]auth#2apk#1all
                                                  ├---[*row*]auth#2apk#2all
                                                  ├---...
                                                  └---[*row*]auth#2apk#Nall

Experimental Result

appauth's People

Contributors

buptkick avatar

Stargazers

CyanM0un avatar

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.