]> gitweb.michael.orlitzky.com - charm-bypass.git/commit
index.html.in: support random and user-specified security codes
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 24 Oct 2023 14:10:39 +0000 (10:10 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 24 Oct 2023 14:14:03 +0000 (10:14 -0400)
commit238dc11dae659a7bd7207cc606f60e7801fd5409
tree511dd558485e5f786accd7512a545cb1b694796a
parentd27b50f7961732d7dfbdef3af6d0f07516bccb0b
index.html.in: support random and user-specified security codes

The security code will now be set at page-load to a random two digit
string with characters taken from the set [0-9A-Z]. I've never
actually seen two consecutive digits (zero through nine) in the
official app; but it's good enough for now.

What's better is that you can pass ?code=YO via URL paramaters to set
the code to "YO". Since the code only changes once every day, a
one-way ticket revealing the code now essentially gets you a day pass.

Note: The resulting codes are not usually centered properly (yet).
index.html.in