-
Welcome to AYO, your simple CTF (Capture The Flag) environment manager! AYO focuses on providing an easy-to-use interface for setting up and managing variables crucial for CTFs, such as
rhost
(remote host),domain
,url
, and more. With AYO, you can quickly configure your CTF environment and retrieve information with just a few simple commands. -
AYO is an efficient CTF Manager that can do multiple tasks:
- Hold box info
- Retrieve box info easily
- Set or change box data easily
- Add new boxes
- Configure hosts file
- A detailed explanation on how the commands work.
- Set variables:
ayo set --var variable1 --value machine_1
- Set a new variable
url
with the valuehttp://myurl.com/
.
ayo set --var url --value http://myurl.com/
- Create a new box named
example
with the specifiedrhost
,domain
,platform
, andactive
status.
ayo new --box example --rhost 10.10.115.28 --domain example.htb --platform htb --active active
- Real Time:
ayo new --box Mailing --rhost 10.10.115.28 --domain mailing.htb --platform htb --active active
- Retrieve the values of specific variables you have assigned:
ayo get rhost
ayo get url
ayo get domain
- Real Time Examples:
# Ex 1
rustscan -a $(ayo get rhost)
# Ex 2
ffuf -w /usr/share/wordlists/dirb/common.txt -u http://$(ayo get domain)/FUZZ.php -t 100
# Ex 3
curl $(ayo get domain)/rev-shell.php
- Oneliner:
curl -sL https://raw.githubusercontent.com/Trevohack/AYO/main/setup.sh | bash
- Clone The Repository:
git clone https://github.com/Trevohack/AYO
cd AYO
pip install rich
pip install python-hosts
sudo cp main.py /usr/bin/ayo
sudo chmod +x /usr/bin/ayo