Skip to main content

Automated course material downloader for CyberWarfare Labs

Project description

CWL Downloader ๐Ÿš€

     โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•—    โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•—         โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—    โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ•‘
    โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘         โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ•‘
    โ–ˆโ–ˆโ•‘     โ–ˆโ–ˆโ•‘ โ–ˆโ•— โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘         โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ–ˆโ•— โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘
    โ–ˆโ–ˆโ•‘     โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘         โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘
    โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ•šโ–ˆโ–ˆโ–ˆโ•”โ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ•šโ–ˆโ–ˆโ–ˆโ•”โ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘ โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ•‘
     โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•โ•โ•šโ•โ•โ• โ•šโ•โ•โ•โ•โ•โ•โ•    โ•šโ•โ•โ•โ•โ•โ•  โ•šโ•โ•โ•โ•โ•โ•  โ•šโ•โ•โ•โ•šโ•โ•โ• โ•šโ•โ•  โ•šโ•โ•โ•โ•

An automated, modern, and minimal course material downloader for CyberWarfare Labs.

โœจ Features

  • ๐Ÿ–ฅ๏ธ Interactive UI: Beautiful terminal interface with ASCII art and clean status updates.
  • ๐Ÿ“„ PDF Downloads: Automatically extracts and saves course write-ups and study materials.
  • ๐ŸŽฌ Video Support: Full support for downloading Vimeo and YouTube videos.
  • ๐Ÿ”„ Deduplication: Intelligent URL tracking to prevent duplicate downloads.
  • ๐Ÿ“Š User Stats: Displays your profile progress (modules, certs, flags) on login.
  • ๐Ÿ›ก๏ธ Bypass Restrictions: Handles "embed-only" Vimeo videos via custom headers and referrers.
  • ๐Ÿ“ Organized Storage: Automatically categorizes files by Course and Module.

Ensure you have Python 3.10+ installed and the following dependencies:

pip install -r requirements.txt

๐Ÿ“ฆ System Dependencies (Required)

ffmpeg is required for merging high-quality video and audio streams. If you don't have it, install it using:

  • Linux (Parrot/Ubuntu/Debian): sudo apt update && sudo apt install ffmpeg
  • macOS: brew install ffmpeg
  • Windows: Download from ffmpeg.org and add the bin folder to your System PATH.

๐Ÿš€ Getting Started

  1. Clone the repository:

    git clone https://github.com/g4rxd/CWL-DL.git
    cd CWL-DL
    
  2. Run the script:

    python3 cwl_downloader.py
    
  3. Login: The script will prompt for your JWT Token.

    • Login to labs.cyberwarfare.live
    • Open DevTools (F12) -> Application -> Cookies
    • Copy the value of the token field from the user cookie string.

๐Ÿ“ Output Structure

Downloaded materials are organized as follows:

downloads/
โ”œโ”€โ”€ course_summary.txt
โ””โ”€โ”€ CRTA/
    โ”œโ”€โ”€ course_details.txt
    โ”œโ”€โ”€ pdfs/
    โ”‚   โ””โ”€โ”€ CRTA_Walkthrough@piratexdumps.pdf
    โ””โ”€โ”€ videos/
        โ””โ”€โ”€ Module_1_Initial_Access/
            โ””โ”€โ”€ Introduction@piratexdumps.mp4

โš–๏ธ Legal Disclaimer

This tool is for personal educational use only.

  • Do not redistribute downloaded content.
  • Respect the CyberWarfare Labs Terms of Service.
  • The author is not responsible for any misuse of this tool.

Made with โค๏ธ by @4nuxd

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

cwl_dl-1.0.1.tar.gz (25.2 kB view details)

Uploaded Source

Built Distribution

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

cwl_dl-1.0.1-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

Details for the file cwl_dl-1.0.1.tar.gz.

File metadata

  • Download URL: cwl_dl-1.0.1.tar.gz
  • Upload date:
  • Size: 25.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cwl_dl-1.0.1.tar.gz
Algorithm Hash digest
SHA256 4a4ffbc19bf5b9bb7eb5df3c08b1863b0ce06713d8fb3aea0827e6c1b2521178
MD5 c6adef36c9f148b671b87394d5f31f6d
BLAKE2b-256 bb1fcf738d3dcf2a5b595040ebcb3cd640f328976f9d5db18c1550c4d52d8fc7

See more details on using hashes here.

Provenance

The following attestation bundles were made for cwl_dl-1.0.1.tar.gz:

Publisher: publish.yml on 4nuxd/cwl-dl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cwl_dl-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: cwl_dl-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 24.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cwl_dl-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 66f64166d7087d40f98806323a64085f18d429b1a84f07ffd75d403e1dd0f45f
MD5 43af2f1a3bb3eca25e1b57394558767e
BLAKE2b-256 2a48a0409ccf0fdc7aa785a7d25cf87fc06eb2ea42ec5cb1d8a05f10090d7566

See more details on using hashes here.

Provenance

The following attestation bundles were made for cwl_dl-1.0.1-py3-none-any.whl:

Publisher: publish.yml on 4nuxd/cwl-dl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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