https://github.com/mehloul-mohamed/ally
🛡️ Helper utility to make playing CTFs a little less messy (supports only CTFd as of now)
https://github.com/mehloul-mohamed/ally
ctf cybersecurity golang quality-of-life
Last synced: 4 months ago
JSON representation
🛡️ Helper utility to make playing CTFs a little less messy (supports only CTFd as of now)
- Host: GitHub
- URL: https://github.com/mehloul-mohamed/ally
- Owner: Mehloul-Mohamed
- License: mit
- Created: 2024-06-26T15:48:20.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-09T11:59:15.000Z (almost 2 years ago)
- Last Synced: 2025-04-04T07:11:23.645Z (over 1 year ago)
- Topics: ctf, cybersecurity, golang, quality-of-life
- Language: Go
- Homepage:
- Size: 624 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Ally
Helper utility to make playing CTFs a little less messy.
## Usage
```
usage: ally {start,list,attempt,info}
positional arguments:
{start,list,attempt}
start Start a CTF
list Show challenge list
attempt Attempt a challenge
info Show scoreboard & team stats
fetch Fetch all challenges
```
- `start`
This will create a directory inside `~/ctf/` with the name of the CTF.
Inside the directory there is one file:
`credentials.txt` : Containing the CTF url and api token
```
usage: ally start name url token
positional arguments:
name CTF name
url CTF url
token Your API token
```
### CTF Commands (must be used within the directory of a CTF):
- `list`
lists the available challenges
```
usage: ally list
```
- `attempt`
This will create a directory for the challenge inside the directory of the CTF and will download the files for the challenge into it.
```
usage: ally attempt id
positional arguments:
id Challenge id
```
- `fetch`
Fetch all challenges
```
usage: ally fetch
```
- `info`: (Credit to [@shadow1004](https://github.com/shadow1004) for the idea)
Shows the top three teams on the scoreboard + general stats about the user's team
```
usage: ally info
```