main source of truth for a cyber competition red team
https://youtu.be/p0mZmnl792o?si=IbfBX9GMjRMoLJLl
- go to http://localhost:8080/
- login using the password from the console or db
- go to http://localhost:8080/teams
- add a team and call it
brice
- add a network to team
brice
with cidr10.100.10.0/24
- go to http://localhost:8080/uploads
- upload sample
example.xml
file as nmap xml - go to http://localhost:8080/teams/1
clone or download zip:
git clone https://github.com/nos3curity/raven
install the bee cli tool:
go install github.com/beego/bee/v2@latest
cd into folder:
cd raven/
init the module and download libraries:
go mod init raven
go mod tidy
run the app:
bee run
these functions exist to manipulate model objects like add, remove, get, etc.
the function names should be self-explanatory. see model code for usage:
- networks
- AddNetwork
- DeleteNetwork
- GetNetwork
- GetAllNetworks
- GetNetworkSystems
- system
- AddSystem
- GetSystem
- DeleteSystem
- ChangeOs
- ChangeHostname
- GetSystemPorts
- team
- AddTeam
- DeleteTeam
- GetTeam
- GetAllTeams
- RenameTeam
- GetTeamNetworks