This is the code of the website crackmes.one
This website was created using the GoWebApp from Joseph Spurier
The really famous guy Bonclay from my team Quokkalight made this cool design.
- Install
mongodbfor your choice of distribution. - Download the source code with go.
go get github.com/sar5430/crackmes.oneIf you forked it, download it from yourself.
- go tho repository working dir (i.e. based of
go getcommand)
cd go/src/github.com/sar5430/crackmes.one/- Modify the file app/route/route.go, uncomment
//return middleware(routes())then comment
return http.HandlerFunc(redirectToHTTPS)in LoadHTTP() function.
- Make a
configdirectory, and download this config file into it, and edit it to your liking. (You might want to edit the "Domain" value under "Session")
mkdir configcurl 'https://gist.githubusercontent.com/moex3/cb5225653a82dd1729525556e9175e92/raw/5fa39c308f09c1a1b44402305486bdc87fe1a61e/config.json' > config/config.json- Make a
tmp/crackmeand atmp/solutiondirectory.
mkdir -p tmp/{crackme,solution}`- Make a
static/crackmeand astatic/solutiondirectory.
mkdir -p static/{crackme,solution}- Build the binary.
go build-
Install
python,zipandpymongoif you want to runvalidate.py. (Also change the paths) -
Run it.
./crackmes.one