From c608e79bb3d4d8b481a9e6d28bf13202a3e94dd7 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]))