Skip to content
Open dashboard (opens in a new tab)

Resources

Go example applications

One application with services in several languages, including Go. Before you start, see Before you start.

  • What it is: OWASP crAPI (Completely Ridiculous API), a vulnerable application made of several services.
  • Source: github.com/OWASP/crAPI
  • Login: crAPI has no built-in account. Create one at http://localhost:8888/signup after the application starts, and use it when you record the login.
Terminal window
git clone https://github.com/OWASP/crAPI
cd crAPI/deploy/docker
# Start the application
docker compose pull
docker compose -f docker-compose.yml --compatibility up -d
cd ../..
APP=crapi
URL=http://localhost:8888
# Create an API application and build its specification from the code.
# Without --lang, the CLI detects the languages in the repository.
nightvision target create $APP $URL --type api
nightvision openapi extract . --target $APP
# Sign up at http://localhost:8888/signup first, for example:
# Email: admin@example.com
# Password: adminA1!
# Then record the login with that account.
nightvision auth playwright create $APP $URL
# Scan, signed in
nightvision scan $APP --auth $APP

For the frameworks Source intelligence reads in Go, see Go frameworks.