A Python crawler for extensions from the Chrome Web Store.
Go to file
Achim D. Brucker 2c5e2d63c5 Updated python version. 2019-02-01 13:42:40 +00:00
ExtensionCrawler Started extgrep. 2019-01-24 13:59:31 +00:00
analysis/library-detector Improved plotting for angular. 2019-01-16 19:24:03 +00:00
bench Using python 3.7. 2019-01-31 14:32:14 +00:00
database Added database documentation. 2018-08-09 14:20:01 +01:00
resources Updated regexps. 2017-09-01 22:26:30 +01:00
scripts Replace , by . in log file names. 2019-01-29 08:46:51 +00:00
sge Restrict sharc jobs to 1 hour. 2018-08-02 16:13:25 +01:00
singularity Move log files into monthy directory. 2019-01-26 17:24:22 +00:00
.gitignore Updated image name(s). 2017-09-26 08:56:00 +01:00
LICENSE initial commit 2016-09-08 20:43:35 +02:00
README.md Updated python version. 2019-02-01 13:42:40 +00:00
cdnjs-git-miner Added SPDX identifier. 2018-09-02 10:22:56 +01:00
comparemd5 Using python 3.7. 2019-01-31 14:32:03 +00:00
crawler Store log in montly directory and replace : by _ in names of log files. 2019-01-27 11:15:15 +00:00
create-db Switched to python 3.7. 2019-02-01 13:42:04 +00:00
crx-extract Using python 3.7. 2019-01-23 00:01:00 +00:00
crx-jsinventory Moved to Python 3.7. 2019-01-18 07:23:18 +00:00
crx-jsstrings Moved to Python 3.7. 2019-01-18 07:23:18 +00:00
crx-tool Using python 3.7. 2019-01-14 09:35:41 +00:00
extfind Using python 3.7. 2019-01-22 23:58:18 +00:00
extfind.py Updated grepper. 2017-09-27 14:05:16 +01:00
extgrep Started extgrep. 2019-01-24 13:59:31 +00:00
requirements.txt Increased requests version (dependency). 2018-10-29 19:28:44 +00:00
setup.py Fixed style errors and warnings. 2018-04-21 19:00:07 +01:00
simhashbucket Switched to python 3.7. 2019-02-01 13:42:04 +00:00

README.md

ExtensionCrawler

A collection of utilities for downloading and analyzing browser extension from the Chrome Web store.

  • crawler: A crawler for extensions from the Chrome Web Store.
  • crx-tool: A tool for analyzing and extracting *.crx files (i.e., Chrome extensions). Calling crx-tool.py <extension>.crx will check the integrity of the extension.
  • crx-extract: A simple tool for extracting *.crx files from the tar-based archive hierarchy.
  • crx-jsinventory: Build a JavaScript inventory of a *.crx file using a JavaScript decomposition analysis.
  • crx-jsstrings: A tool for extracting code blocks, comment blocks, and string literals from JavaScript.
  • create-db: A tool for updating a remote MariaDB from already existing extension archives.

The utilities store the extensions in the following directory hierarchy:

   archive
   ├── conf
   │   └── forums.conf
   ├── data
   │   └── ...
   └── log
       └── ...

The crawler downloads the most recent extension (i.e., the *.crx file as well as the overview page. In addition, the conf directory may contain one file, called forums.conf that lists the ids of extensions for which the forums and support pages should be downloaded as well. The data directory will contain the downloaded extensions.

The crawler and create-db scripts will access and update a MariaDB. They will use the host, datebase, and credentials found in ~/.my.cnf. Since they make use of various JSON features, it is recommended to use at least version 10.2.8 of MariaDB.

All utilities are written in Python 3.7. The required modules are listed in the file requirements.txt.

Installation

Clone and use pip3 to install as a package.

git clone git@logicalhacking.com:BrowserSecurity/ExtensionCrawler.git
pip3 install --user -e ExtensionCrawler

Team

Contributors

  • Mehmet Balande

License

This project is licensed under the GPL 3.0 (or any later version).

SPDX-License-Identifier: GPL-3.0-or-later

Master Repository

The master git repository for this project is hosted by the Software Assurance & Security Research Team at https://git.logicalhacking.com/BrowserSecurity/ExtensionCrawler.