GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - TamerPlatform/bazaar: Android security & privacy analysis for the masses

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

167 Commits
167 Commits

Folders and files

NameName
Last commit message
Last commit date
.envs/.local
.envs/.local
 
 
.github
.github
 
 
.idea
.idea
 
 
bazaar
bazaar
 
 
compose
compose
 
 
config
config
 
 
docs
docs
 
 
locale
locale
 
 
quark-rules
quark-rules
 
 
requirements
requirements
 
 
scripts
scripts
 
 
.dockerignore
.dockerignore
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
.pylintrc
.pylintrc
 
 
.readthedocs.yml
.readthedocs.yml
 
 
CODE_OF_CONDUCT
CODE_OF_CONDUCT
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
local-apple-m1.yml
local-apple-m1.yml
 
 
local.yml
local.yml
 
 
manage.py
manage.py
 
 
merge_production_dotenvs_in_dotenv.py
merge_production_dotenvs_in_dotenv.py
 
 
production.yml
production.yml
 
 
pytest.ini
pytest.ini
 
 
setup.cfg
setup.cfg
 
 
staging.yml
staging.yml
 
 

Repository files navigation

Built with Cookiecutter Django

Pithus

Pithus is a free and open-source platform to analyze Android applications for activists, journalists, NGOs, researchers...

Analyses, which we want to be as comprehensive as possible, rely on multiple well-known tools such as:

  • APKiD
  • ssdeep
  • Dexofuzzy
  • Quark-Engine
  • AndroGuard
  • MobSF
  • Exodus-core

When an APK is submitted, it is analyzed by the different tools listed above. Each report is stored in ElasticSearch. Analysis steps are defined in tasks.py file.

The beta version is available at beta.pithus.org.

Development environment setup

Pithus is currently in beta so if you want to contribute, please refer to the Cookiecutter documentation.

On Linux:

git clone [email protected]:Pithus/bazaar.git
cd bazaar

It is possible to run the entire development stack with docker-compose:

# Build the project
docker-compose -f local.yml build

# Run the project
docker-compose -f local.yml up

# Alternatively you can add -d to run it as a daemon
docker-compose -f local.yml up -d

Then browse to http://localhost:8001 and enjoy Pithus!

⚠️Important⚠️:

It is possible that you might have an error for a missing index while browsing to the address the first time. It is probable that Django hasn't been properly loaded. To fix that, add a blank line in any of the Django files, save it and refresh the page in the browser.

Set up the internal Python interpreter with Visual Studio Code

It is possible to run the entire development environment in a Docker container. This will allow you to run on the same Python interpreter as anyone else contributing to this project. To do so with Visual Studio Code, follow these steps:

  • Install the Python and the Remote Containers extensions.
  • Open the command palette and look for the option: "Remote Containers: Attach to running container".
  • Choose bazaar_local_django.
  • VSCode will restart, and you will be presented with a new window of VSCode.
  • Open the file explorer and open the folder /app, the code is there.
  • You are all set up!

Note: By default, only your theme and the Remote Containers will be installed, you will need to install more extension in the Docker manually. However, your settings will be imported automatically.

More information on developping in a container in the Visual Studio Code documentation.

SASS

To apply SASS file changes, just run the following command:

sassc bazaar/static/front/sass/project.scss backend/static/front/css/project.css

Reindex after adding a new field

from django.conf import settings
from elasticsearch import Elasticsearch
import json

es = Elasticsearch(settings.ELASTICSEARCH_HOSTS)
mapping = json.load(open('bazaar/es_mappings/apk_analysis.json'))
es.indices.put_mapping(index=settings.ELASTICSEARCH_APK_INDEX, body=mapping.get('mappings'))

Community

Do you have questions? Do you want to chat with us? Come join us on our discord: https://discord.gg/PgdKfp4VMQ.

You can also preview some features, explore the tools and our work process on TryHackMe with our own featured room! https://tryhackme.com/room/androidmalwareanalysis

Useful commands

# have a logged user while running a local instance
docker-compose -f local.yml run --rm django python manage.py createsuperuser
# login on http://localhost:8001/admin

# help on manage.py
docker-compose -f local.yml run django python manage.py -h

# update reports, see tasks.py for reference
docker-compose -f local.yml run django python manage.py update_reports HASH [mbfvascqgy]

# logs
docker-compose -f local.yml logs
docker-compose -f local.yml logs -f django

About

Android security & privacy analysis for the masses

beta.pithus.org/

Resources

Readme
License

Code of conduct

Code of conduct
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.