From bf8b13590609a50ca202199e51c7d6ec508a27ac Mon Sep 17 00:00:00 2001 From: TKE Date: Thu, 5 Mar 2020 10:18:51 +0100 Subject: [PATCH] added ctf script --- ctf/getjs.py | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 ctf/getjs.py diff --git a/ctf/getjs.py b/ctf/getjs.py new file mode 100644 index 0000000..d7d3b81 --- /dev/null +++ b/ctf/getjs.py @@ -0,0 +1,2 @@ +def getjss(text): + return "String.fromCharCode({})".format(",".join(["{}".format(ord(x)) for x in text]))