Giter Site home page Giter Site logo

govwa's Introduction

GoVWA

GoVWA (Go Vulnerable Web Application) is a vulnerable web application designed for pentester or programmers to learn the web application vulnerability that often occur in web applications. The vulnerabilities in GoVWA are OWASP Top 10 category.

WARNING!


GoVWA is a vulnerable web application, Run it only on local environment

Installation


Installing golang

Golang versiong : >= 1.11 Installing guide : https://www.digitalocean.com/community/tutorials/how-to-install-go-1-6-on-ubuntu-16-04

Setup

git clone https://github.com/0c34/govwa.git

git pull (to update)

Install dependency packages

go mod download 

GoVWA config


Modified the config.json file for database configuration

config.json file is located in config directory.

{
    "user": "root",
    "password": "root",
    "dbname": "govwa",
    "sqlhost": "localhost",
    "sqlport": "3306",
    "webserver": "http://localhost",
    "webport": "8888",

    "sessionkey:": "G0Vw444"
}

Run GoVWA

go run app.go 

     ÛÛÛÛÛÛÛÛÛ           ÛÛÛÛÛ   ÛÛÛÛÛ ÛÛÛÛÛ   ÛÛÛ   ÛÛÛÛÛ   ÛÛÛÛÛÛÛÛÛ  
    ÛÛÛ°°°°°ÛÛÛ         °°ÛÛÛ   °°ÛÛÛ °°ÛÛÛ   °ÛÛÛ  °°ÛÛÛ   ÛÛÛ°°°°°ÛÛÛ 
   ÛÛÛ     °°°   ÛÛÛÛÛÛ  °ÛÛÛ    °ÛÛÛ  °ÛÛÛ   °ÛÛÛ   °ÛÛÛ  °ÛÛÛ    °ÛÛÛ 
  °ÛÛÛ          ÛÛÛ°°ÛÛÛ °ÛÛÛ    °ÛÛÛ  °ÛÛÛ   °ÛÛÛ   °ÛÛÛ  °ÛÛÛÛÛÛÛÛÛÛÛ 
  °ÛÛÛ    ÛÛÛÛÛ°ÛÛÛ °ÛÛÛ °°ÛÛÛ   ÛÛÛ   °°ÛÛÛ  ÛÛÛÛÛ  ÛÛÛ   °ÛÛÛ°°°°°ÛÛÛ 
  °°ÛÛÛ  °°ÛÛÛ °ÛÛÛ °ÛÛÛ  °°°ÛÛÛÛÛ°     °°°ÛÛÛÛÛ°ÛÛÛÛÛ°    °ÛÛÛ    °ÛÛÛ 
   °°ÛÛÛÛÛÛÛÛÛ °°ÛÛÛÛÛÛ     °°ÛÛÛ         °°ÛÛÛ °°ÛÛÛ      ÛÛÛÛÛ   ÛÛÛÛÛ
     °°°°°°°°°   °°°°°°       °°°           °°°   °°°      °°°°°   °°°°° 

=======
Server running at port :8082
Open this URL http://192.168.56.101:8082/ on your browser to access GoVWA

Open the URL to access GoVWA and follow the setup instruction to create database and tables

Setup from docker

git clone https://github.com/0c34/govwa.git

inside govwa directory:
docker-compose up --build

stop running process using
docker-compose down --remove-orphans --volumes

GoVWA users:

uname password
admin govwaadmin
user1 govwauser1

Explore the vulnerability.

Contributor


  • Khaedir (golang programming)
  • Xaquille (web design)

To Do

  • add more vulnerabilities
  • XXE Vulnerability
  • NoSQLInjection
  • JSON Web API (unprotected API)
  • Build Simple Android APP

Powered by NemoSecurity

govwa's People

Contributors

0c34 avatar muhfaris avatar nabice avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

govwa's Issues

Change message error database

i get error when MySQL service not running
runtime error: invalid memory address or nil pointer dereference

i think change it with another message is better:
eg. "Can't connect database!" or "Please, start up MySQL service"

Description GoVWA should be update

Description GoVWA still uses the old description in welcome text.
So it will help programmers recognize vulnerabilities before they happen to our app

govwa.Users doesn't exist

The setup page doesn't work. When I try to click the button for create/reset to have the app create and seed the database tables, it does nothing.

Unclear XXE meaning in README

I'm not sure what 'XXE Vulnerability' means in the 'To Do' section of README.
Does this mean that you implemented an XXE Vulnerability, or that govwa won't support an XXE Vulnerability?

Thanks for your help, I'm trying to implement an XXE Vulnerability in Go myself :)

cannot find package

hello, i tried govwa in golang version 1.9.1. and workspace set manually in /opt/devtool/go/workspace/go1.9/

while running govwa with commad go run app.go
i was got error like this :

#➤ [govwa] git:(master) ✗ go run app.go /opt/devtool/go/workspace/go1.9/src/github.com/0c34/govwa/setting/setting.go:11:2: cannot find package "govwa/user/session" in any of: /opt/devtool/go/go1.9.1/src/govwa/user/session (from $GOROOT) /opt/devtool/go/workspace/go1.9/src/govwa/user/session (from $GOPATH) /opt/devtool/go/workspace/go1.9/src/github.com/0c34/govwa/setting/setting.go:10:2: cannot find package "govwa/util" in any of: /opt/devtool/go/go1.9.1/src/govwa/util (from $GOROOT) /opt/devtool/go/workspace/go1.9/src/govwa/util (from $GOPATH) /opt/devtool/go/workspace/go1.9/src/github.com/0c34/govwa/setup/setup.go:9:2: cannot find package "govwa/util/config" in any of: /opt/devtool/go/go1.9.1/src/govwa/util/config (from $GOROOT) /opt/devtool/go/workspace/go1.9/src/govwa/util/config (from $GOPATH) /opt/devtool/go/workspace/go1.9/src/github.com/0c34/govwa/setting/setting.go:12:2: cannot find package "govwa/util/database" in any of: /opt/devtool/go/go1.9.1/src/govwa/util/database (from $GOROOT) /opt/devtool/go/workspace/go1.9/src/govwa/util/database (from $GOPATH) /opt/devtool/go/workspace/go1.9/src/github.com/0c34/govwa/setting/setting.go:13:2: cannot find package "govwa/util/middleware" in any of: /opt/devtool/go/go1.9.1/src/govwa/util/middleware (from $GOROOT) /opt/devtool/go/workspace/go1.9/src/govwa/util/middleware (from $GOPATH) /opt/devtool/go/workspace/go1.9/src/github.com/0c34/govwa/vulnerability/xss/xss.go:15:2: cannot find package "govwa/vulnerability/sqli" in any of: /opt/devtool/go/go1.9.1/src/govwa/vulnerability/sqli (from $GOROOT) /opt/devtool/go/workspace/go1.9/src/govwa/vulnerability/sqli (from $GOPATH)

then check every error and found that problem. naming the package name is wrong.
then i change all package name from govwa/util to github.com/0c34/govwa/util and working.

why you not using name of packet like this "github.com/0c34/util".

Add Warning in Readme

i think adding a notice warning in readme file is better, so anyone will know the risks before to install it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.