From 8b9d00f6199346167006e9c563237f7b993d2afd Mon Sep 17 00:00:00 2001 From: BlueFox Date: Tue, 27 Feb 2024 22:11:33 +0100 Subject: [PATCH] Initial commit --- antidiscovery.py | 27 ++++++++++++++++ impressum.html | 82 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 109 insertions(+) create mode 100755 antidiscovery.py create mode 100644 impressum.html diff --git a/antidiscovery.py b/antidiscovery.py new file mode 100755 index 0000000..629327e --- /dev/null +++ b/antidiscovery.py @@ -0,0 +1,27 @@ +#!/usr/bin/python3 + +import random, string # for generating the random stuff +import argparse # for command line utility + +""" +Function antidiscovery: +- Generate html code containing the input string but wrapped up with and random numbers. + +Parameters: +- to_discover: string to put into the Function + +Returns: +- the newly generated string +""" +def antidiscovery(to_discover: str): + new_html = "" + for i in range(len(to_discover)): + random_idx = random.randrange(1, 52) + new_html += f"{string.ascii_letters[random_idx]}{to_discover[i]}" + return new_html + +if __name__ == "__main__": + parser = argparse.ArgumentParser(description='Small helper to convert a clear-text (e.g. e-mail) to a - at least for search engines - unreadable format. Random letters integrated. For an example input string of "hello", an example output would be "GhRedlTlyo"') + parser.add_argument('to_discover', type=str, help='The string to be covered by the program') + args = parser.parse_args() + print(antidiscovery(args.to_discover)) diff --git a/impressum.html b/impressum.html new file mode 100644 index 0000000..67980b6 --- /dev/null +++ b/impressum.html @@ -0,0 +1,82 @@ + + + + Impressum + + + +
+
 _____
+|_   _|
+  | |  _ __ ___  _ __  _ __ ___  ___ ___ _   _ _ __ ___
+  | | | '_ ` _ \| '_ \| '__/ _ \/ __/ __| | | | '_ ` _ \
+ _| |_| | | | | | |_) | | |  __/\__ \__ \ |_| | | | | | |
+|_____|_| |_| |_| .__/|_|  \___||___/___/\__,_|_| |_| |_|
+                | |
+                |_|
+
+

bBVesnAjMaDmOiNnI iBzuwrCkOhyaLrCdht

+

zKulzoisftnemrKwyeugK n7

+

J9M0u4X5B5q PNBΓΌsrjnVbeeYrZg

+

tEs-a5Mghalixl8:g cjohnmtnatc/tS@@ptrticvfa4coyyn3eired!.idues

+
+
+
+ <- Back +
+ + +