From 364a18c1f138811e1eba77be5514e458ef2e21a4 Mon Sep 17 00:00:00 2001 From: maride Date: Mon, 1 Oct 2018 15:01:01 +0200 Subject: Save timestamp when entering flag --- src/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http.go') diff --git a/src/http.go b/src/http.go index 1e60046..6ad5b5e 100644 --- a/src/http.go +++ b/src/http.go @@ -232,7 +232,7 @@ func submitFlagHandler(w http.ResponseWriter, r *http.Request) { if challenge.Flag == flag { // our user found the flag \o/ - challenges[index].FoundFlag = true + challenges[index].FoundFlag = time.Now() correctFlag = true } else { // ow, bummer :( -- cgit 1.4.1