ucdavis-ecs189m

[RADIOACTIVE] python exploits for uc davis class ecs189m
git clone git://git.figbert.com/ucdavis-ecs189m.git
Log | Files | Refs

commit f264a2e04eca9332b4df7c5aca9f729c4db5e532
parent e0e24040d866dc889eaa3c870d1698e2b8691e90
Author: therealFIGBERT <figbertwelner@gmail.com>
Date:   Thu, 10 Oct 2019 11:23:43 -0700

Replacing contents of third_flag.py with dad_flag.py

Diffstat:
Mthird_flag.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/third_flag.py b/third_flag.py @@ -10,7 +10,7 @@ def str_to_dec(s): def dec_to_str(num): st = "" for i in range(19,0,-1): - digit = int(num/(26**i)) + digit = int(num/(26**i)) if int(num/(26**i)) <= 25 else 25 char = chr(digit+97) st += char num -= digit*(26**i)