Giter Site home page Giter Site logo

archive-crawler's Introduction

Playdrone Archive Crawler

An automated utility for finding and downloading Android APKs collected by the PlayDrone project and stored on Archive.org. With this tool I discovered over 1.5M APKs, many of which were subjected to vulnerability testing as part of my capstone project in EC521 Cyber Security at Boston University.

Installation

Create a virtual environment and activate it:

pip install virtualenv
virtualenv venv
. ./venv/bin/activate

Install the necessary dependencies:

(venv)$ pip install -r /path/to/requirements.txt

Usage

Try out the crawler:

from archivecrawler import ArchiveCrawler
c = ArchiveCrawler()
c.index_archive()
c.save()
c.download(10)
  • index_archive() builds a local index of the APK repositories hosted on archive.org.
  • save() writes that index to a file for easy retrieval in the future.
  • download(n) downloads the first n APKs found.

For a list of repositories indexed:

print c.num_repos
print c.repos[0]

For a list of apks indexed (don't actually print this, it's over 1.5M items):

print c.num_apks
print c.apks[0]

To restore the crawler from a previously saved index:

c.load()

Creator

Archive Crawler was created and is maintained by Carlton Duffett.

Copyright and License

Copyright 2015 Carlton Duffett. Code released under the Apache 2.0 license.

archive-crawler's People

Watchers

James Cloos avatar renbingfei 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.