Initial commit
This commit is contained in:
commit
8b9d00f619
27
antidiscovery.py
Executable file
27
antidiscovery.py
Executable file
@ -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 <i> 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"<i>{string.ascii_letters[random_idx]}</i>{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 "<i>G</i>h<i>R</i>e<i>d</i>l<i>T</i>l<i>y</i>o"')
|
||||
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))
|
82
impressum.html
Normal file
82
impressum.html
Normal file
@ -0,0 +1,82 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Impressum</title>
|
||||
<style>
|
||||
body {
|
||||
color: #0f0;
|
||||
background-color: #111;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
font-family: monospace;
|
||||
}
|
||||
.container {
|
||||
margin: 20px 0 0;
|
||||
padding: auto auto;
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.title {
|
||||
text-align: left;
|
||||
font-weight: 900;
|
||||
}
|
||||
.content {
|
||||
text-align: center;
|
||||
font-size: 10pt;
|
||||
margin-top: 50px;
|
||||
}
|
||||
p, pre {
|
||||
margin: 0 auto;
|
||||
padding: 2px;
|
||||
}
|
||||
a {
|
||||
text-align: center;
|
||||
color: #0f0;
|
||||
transition-duration: 0.5s;
|
||||
}
|
||||
a:hover {
|
||||
color: #fff;
|
||||
transform: translateX(-10px);
|
||||
transition-duration: 0.5s;
|
||||
}
|
||||
.antidiscovery i {
|
||||
display: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<pre class="title"> _____
|
||||
|_ _|
|
||||
| | _ __ ___ _ __ _ __ ___ ___ ___ _ _ _ __ ___
|
||||
| | | '_ ` _ \| '_ \| '__/ _ \/ __/ __| | | | '_ ` _ \
|
||||
_| |_| | | | | | |_) | | | __/\__ \__ \ |_| | | | | | |
|
||||
|_____|_| |_| |_| .__/|_| \___||___/___/\__,_|_| |_| |_|
|
||||
| |
|
||||
|_|</pre>
|
||||
<div class="content">
|
||||
<p class="antidiscovery"><i>b</i>B<i>V</i>e<i>s</i>n<i>A</i>j<i>M</i>a<i>D</i>m<i>O</i>i<i>N</i>n<i>I</i> <i>i</i>B<i>z</i>u<i>w</i>r<i>C</i>k<i>O</i>h<i>y</i>a<i>L</i>r<i>C</i>d<i>h</i>t</p>
|
||||
<p class="antidiscovery"><i>z</i>K<i>u</i>l<i>z</i>o<i>i</i>s<i>f</i>t<i>n</i>e<i>m</i>r<i>K</i>w<i>y</i>e<i>u</i>g<i>K</i> <i>n</i>7</p>
|
||||
<p class="antidiscovery"><i>J</i>9<i>M</i>0<i>u</i>4<i>X</i>5<i>B</i>5<i>q</i> <i>P</i>N<i>B</i>ü<i>s</i>r<i>j</i>n<i>V</i>b<i>e</i>e<i>Y</i>r<i>Z</i>g</p>
|
||||
<p class="antidiscovery"><i>t</i>E<i>s</i>-<i>a5</i>M<i>gh</i>a<i>l</i>i<i>x</i>l<i>8</i>:<i>g</i> <i></i>c<i>j</i>o<i>h</i>n<i>m</i>t<i>n</i>a<i>t</i>c<i>/</i>t<i>S</i>@<i>@</i>p<i>t</i>r<i>t</i>i<i>c</i>v<i>f</i>a<i>4</i>c<i>o</i>y<i>y</i>n<i>3</i>e<i>i</i>r<i>e</i>d<i>!</i>.<i>i</i>d<i>u</i>e<i>s</i></p>
|
||||
<br>
|
||||
<br>
|
||||
</div>
|
||||
<a id="back" href="https://privacynerd.de/"><- Back</a>
|
||||
</div>
|
||||
<script>
|
||||
back_button = document.getElementById("back");
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
const referrer = urlParams.get('referrer')
|
||||
console.log("Referrer: " + referrer);
|
||||
|
||||
back_button.href = referrer;
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user