Skip to main content

Crackmes DL

Project description

Crackmes DL

Download crackmes from https://crackmes.one using the commandline.

Install

Requires python3 (version >= 3.9) and pip

pip install --user crackmes-dl

Check the project out on Pypi.

Usage

crackmes_dl supports three commands, you can figure this out by calling crackmes_dl --help.

Download all

Given an output directory and a starting page (defaults to 1), download all crackmes that doesn't exists in the output directory.

$ crackmes_dl download-all --help
Usage: crackmes_dl download-all [OPTIONS]

Options:
  --output-dir PATH        [required]
  --domain TEXT            [default: https://crackmes.one]
  --starting-page INTEGER  [default: 1]
  --help                   Show this message and exit.

Search and download

Download only crackmes matching certain filters (as seen on https://crackmes.one/search). Note that using search and download without the --no-quick flag you can maximum download 50 crackmes at a time, this is due to a site restriction.

$ crackmes_dl search-and-download --help
Usage: crackmes_dl search-and-download [OPTIONS]

Options:
  --output-dir PATH               [required]
  --domain TEXT                   [default: https://crackmes.one]
  --quick / --no-quick            Faster but limited to max 50 results
                                  [default: quick]
  --name TEXT                     Name of the crackme must include 'search
                                  string'
  --author TEXT                   Author name must include 'search string'
  --difficulty-min INTEGER        Difficulty greater or equal to.  [default:
                                  1]
  --difficulty-max INTEGER        Difficulty less or equal to.  [default: 6]
  --quality-min INTEGER           Quality greater or equal to.  [default: 1]
  --quality-max INTEGER           Quality less or equal to.  [default: 6]
  --lang [C/C++|Assembler|Java|(Visual) Basic|Borland Delphi|Turbo Pascal|.NET|Unspecified/other]
                                  Defaults to including all
  --arch [x86|X86-64|java|ARM|MIPS|other]
                                  Defaults to including all
  --platform [DOS|Mac OS X|Multiplatform|Unix/linux etc.|Windows|Windows 2000/XP only|Windows 7 Only|Windows Vista Only|Unspecificed/other]
                                  Defaults to including all
  --help                          Show this message and exit.

Download

Download a single crackme given a crackme_id. This is probably only useful for scripts.

$ crackmes_dl download --help
Usage: crackmes_dl download [OPTIONS]

Options:
  --output-dir PATH  [required]
  --crackme TEXT     fx: 617965c733c5d4329c345330  [required]
  --domain TEXT      [default: https://crackmes.one]
  --help             Show this message and exit.

Running in docker

docker run nymann/crackmes_dl --help

# If not specifying a command, it will download all crackmes.
docker run nymann/crackmes_dl

# To save the crackmes on the host to a known directory use the -v flag, like this:
# Make sure to create the directory first on the host to avoid a permission issue.
docker run -v ~/crackmes:/home/non_privileged_user/crackmes nymann/crackmes_dl

If you want to use docker-compose:

version: "3.7"

services:
  crackmes_dl:
    container_name: crackmes_dl
    image: nyman/crackmes_dl:latest
    volumes:
      - ./crackmes:/home/non_privileged_user/crackmes

Development

For help getting started developing check DEVELOPMENT.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crackmes_dl-1.0.2.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crackmes_dl-1.0.2-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file crackmes_dl-1.0.2.tar.gz.

File metadata

  • Download URL: crackmes_dl-1.0.2.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for crackmes_dl-1.0.2.tar.gz
Algorithm Hash digest
SHA256 a93447ca497fe7dc62a05f7ff754f698f96bef77c129b25bd9316a67acb76863
MD5 859f1d34301530fbba21f0127293b3d8
BLAKE2b-256 7c731489fd89e2326862148f2b10652bb85f7ce2cdaff194df90da4c30adc021

See more details on using hashes here.

File details

Details for the file crackmes_dl-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: crackmes_dl-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for crackmes_dl-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 db61325df5d2b30b84a47468cb359bec3019be1ca3abfeec25002e3b7517d003
MD5 9f2e6b563fe03eba1abbd6d5e1bde630
BLAKE2b-256 fef94b2d8c54d38cee9848e4bf01af14a643c558b15f5bc62db0cceced835816

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page