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.0.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.0-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cwl_dl-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 bb0203ec8ce6af5d4e74bb5877d98f39cde6a3e9be95e59d4837aed4466006db
MD5 9fa5ceec805cbffe79e5e6c2e168cba2
BLAKE2b-256 c7769595747742e48992099961463eb45794672c406f43c40f79f631b7e9dd34

See more details on using hashes here.

Provenance

The following attestation bundles were made for cwl_dl-1.0.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: cwl_dl-1.0.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a8f388297ff679af8d369f9cadb090111a3bb9a8b0b91c82e08051953ff7b5af
MD5 3063719c589e01f108cdd5f95fd07d91
BLAKE2b-256 583a9d2ee851506b4489b9cb99b7efc108219da58754bac6d3296084d0faa4bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for cwl_dl-1.0.0-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