Skip to content

Python3 script for bulk downloading and retrieving some information from Pentester Academy

Notifications You must be signed in to change notification settings

5ubterranean/Pentester-Academy-Interactor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pentester-Academy-Interactor

Python3 script for bulk downloading and retrieving some information from Pentester Academy

Pentester Academy has a lot of courses, it is hard to review every one of them, so I made this script for getting some information and bulk downloading from it, also it will download videos from Youtube if they are available (so you can save some plays ;) ), notice that you have to have an active account to download videos from Pentester Academy.

Some options can run without having an account, but others will ask you to insert a valid cookie session. The script also works on Windows, but it doesn't add an extension to the videos downloaded from Youtube.

Help output

usage: pa_interactor.py [-h] [-l] [-sd] [-c] [-d COURSE_URL] [-sf VIDEO_URL] [-fi VIDEO_URL] [-dm] [-cm]

Script for downloading courses from Pentester Academy and getting some other information related to it

optional arguments:
  -h, --help            show this help message and exit
  -l, --list            Check current courses and amount of videos in Pentester Academy
  -sd, --start_date     Try to get the date when the course started, has to be used with -l option
  -c, --check           Check how many courses you can download and list the courses that you can get
  -d COURSE_URL, --download COURSE_URL
                        Link to the course that you want to download
  -sf VIDEO_URL, --start_from VIDEO_URL
                        Link to the video from where you want to start downloading the course, has to be used with -d option
  -fi VIDEO_URL, --finish_in VIDEO_URL
                        Link to the video where you want to stop downloading the course, has to be used with -d options
  -dm                   Don't make a directory, the videos will be downloaded in the current directory
  -cm, --convert        Videos downloaded from Youtube will be converted to mp4, note that using this options will take more time due the convertion proccess

renamer.sh

All the walktroughs of attackdefense labs are named like Walktrough-xxxx.pdf, it's very convenient for them, but makes difficult to know what contains each one of them if you have them stored, copy this script to the folder where you have store all the walktroughs, execute it and all of them will be renamed as the corresponding lab, please give it execution permission and use ./renamer.sh rather than using bash renamer.sh. First you have something like this.

alt text

After you execute renamer.sh you get.

alt text

About

Python3 script for bulk downloading and retrieving some information from Pentester Academy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published