HackerlabsCtfs Tool is a command line tool designed to interact with the HackerLabs page. It allows you to extract and display information about CTF (Capture The Flag) machines available on the HackerLabs platform. You can filter machines by difficulty, search by creator, get a random machine, and more.
To install and configure the tool, follow these steps:
git clone https://github.com/D1se0/hackerlabsCtfs-tool.git
cd hackerlabsCtfs-tool
Run the requirements.sh script as root to install the dependencies and configure the symbolic link:
sudo ./requirements.sh
Make sure you have the requirements.txt file in the same directory as the requirements.sh script. This file should contain all necessary dependencies.
Once the tool is installed, you can use it from the command line. Below are some practical examples on how to use the tool.
To see the welcome banner and basic tool information, run:
python3 hackerlabsCtfs
To list machines of a specific difficulty, use the -d
parameter. The difficulty levels available are:
Very Easy
Easy
Medium
Difficult
python3 hackerlabsCtfs -d medio
To filter machines created by a specific creator, use the -c
parameter:
python3 hackerlabsCtfs -c d1se0
To get a random machine among those available, use the -a
parameter:
python3 hackerlabsCtfs -a
To search and display information about a specific machine by name, use the -n
parameter:
python3 hackerlabsCtfs -n vulnvault
To mark a machine as finished, use the -f
parameter followed by the machine name:
python3 hackerlabsCtfs -f vulnvault
To list all the machines you have marked as finished, use the -l
parameter:
python3 hackerlabsCtfs -l
If you prefer to disable colors in the output, use the --no-colores
parameter:
python3 hackerlabsCtfs --no-colores
The tool extracts information from the HackerLabs page using BeautifulSoup
for HTML analysis and requests for downloading web content. Information about CTF machines is displayed on the command line with colors for easy viewing.
If you want to contribute to the development of this tool, please open an issue or send a pull request with your improvements or corrections.
This project is licensed under the MIT License. See the LICENSE file for more details.
For more information, visit our website: http://hackerlabs.com/ or learn more in HackerLabs Hacking Guide.