Skip to content

IssueHunt/Kowaseru

Repository files navigation

Kowaseru

A vulnerable server to practice pen testing.

Existing Vulnerabilities

Check here

How to run

Requirements

Steps

0 - Clone or download this project

git clone git@github.com:IssueHunt/Kowaseru.git

1 - Prepare DB

Run the script below inside from the project directory. (You can skip this if you want to use an existing postgres server.)

docker-compose up -d

2 - Configure env vars or create .env file.

Make sure the db info is correct and don't forget to set SESSION_SECRET.

BASE_URL=http://localhost
PORT=4000
DB_HOST=localhost
DB_PORT=5432
DB_USER=root
DB_PASSWORD=root
DB_NAME=kowaseru
SESSION_SECRET=

For SESSION_SECRET, use the command below or somehow generate 32 bytes of full-entropy key.

openssl rand -hex 32

3 - Install all deps.

npm i

4 - Run DB migration

npm run migration:up

5 - Run the server.

npm start

Development

Add table

npm run migration:make -- $NAME

About

A vulnerable server to practice pen testing.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published