nasirhm / Raven

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

raven

main source of truth for a cyber competition red team

https://youtu.be/p0mZmnl792o?si=IbfBX9GMjRMoLJLl

testing workflow

  1. go to http://localhost:8080/
  2. login using the password from the console or db
  3. go to http://localhost:8080/teams
  4. add a team and call it brice
  5. add a network to team brice with cidr 10.100.10.0/24
  6. go to http://localhost:8080/uploads
  7. upload sample example.xml file as nmap xml
  8. go to http://localhost:8080/teams/1

build instructions

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

documentation

primary functions

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

About


Languages

Language:Go 56.9%Language:HTML 34.5%Language:Smarty 4.6%Language:CSS 1.8%Language:Python 1.6%Language:JavaScript 0.6%