Just demonstrate how work CSRF and protection strategies
Also it's my play with Go&Lua interconnection
without compilation
-
get release from github (Mac OS X only aviable)
-
fetch this repo in any dir
-
run binary from relase in this dir
-
add to /etc/hosts fake domains
127.0.0.1 www.evil.ro 127.0.0.1 www.nice.ro
-
open http://localhost:8080/login.lua for login (http://localhost:8080/logout.lua for logout)
-
open http://www.nice.ro:8080/ for CSRF-demos
- Install Go runtime: https://golang.org/dl/, http://golang.org/doc/install
- Install lua dev libs apt-get liblua5.1-0-dev
- Setup GOPATH: export GOPATH=~
- go get github.com/nordicdyno/csrf-demo
other steps is the same as in `How to use' section
TODO