cgi-dev

Repository that serves as my CGI "scratchpad" to try things out.
git clone git://git.samirparikh.com/cgi-dev
Log | Files | Refs | README

commit b4b5a092aef0ebad8be68d8f2eed96180b9fcfd6
parent 7569b9d28ef9a829ed06a852f5031e82402d6ced
Author: Samir Parikh <noreply@samirparikh.com>
Date:   Wed,  2 Mar 2022 14:03:45 +0000

update hangman game to use message authentication checks to prevent
tampering with cookie that maintains state

Diffstat:
Mhangman3.cgi | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/hangman3.cgi b/hangman3.cgi @@ -1,7 +1,8 @@ #!/usr/bin/perl -# file: hangman1.cgi -# hangman game using hidden fields to maintain state +# file: hangman3.cgi +# hangman game using simple cookie and message authentication +# state to maintain state use IO::File(); use CGI qw( :standard );