This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import signal | |
import socket | |
import threading | |
class Client_Thread: | |
def __init__(self, c_socket, addr, debug=False): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import re | |
import requests | |
''' | |
URLs | |
https://www.amazon.de/gp/aw/d/B003SGEPRW | |
https://www.amazon.de/dp/B003SGEPRW |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
from smtplib import SMTP | |
from email.utils import formatdate | |
import socket # catch socket.error | |
def send_mail(recipent, sender, subject, body, server_addr='127.0.0.1', server_port=25): | |
""" | |
Send a simple email |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import hashlib | |
import itertools | |
import string | |
# generator | |
def brute_force_generator(chars, max_length): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# yyyy-mm-dd_$ | |
[1-4{[exifExif.Image.DateTime]}]-[6-7{[exifExif.Image.DateTime]}]-[9-10{[exifExif.Image.DateTime]}]_$ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gsettings set org.freedesktop.Tracker.Miner.Files crawling-interval -2 | |
gsettings set org.freedesktop.Tracker.Miner.Files enable-monitors false | |
tracker-control -r |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-c 'aäbcdefghijklmnoöpqrstuüvwxyzAÄBCDEFGHIJKLMNOÖPQRSTUÜVWXYZ0123456789-_/@' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias eurojackpot='echo $(shuf -i 1-50 -n 5|sort -n|tr "\n" " ") \| $(shuf -i 1-10 -n 2|sort -n|tr "\n" " ")' | |
alias lotto='echo $(shuf -i 1-49 -n 6|sort -n|tr "\n" " ")' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import requests, json | |
API_URL_BASE = 'https://api.bitcoinaverage.com/ticker/global/' | |
CURRENCY = 'EUR' | |
r = requests.get(API_URL_BASE + CURRENCY, verify=True) | |
j = r.json() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
ME="${0}" | |
FAIL='Transfer failed.' | |
count=$# | |
help() { | |
echo "USAGE: | |
${ME} domain[s] |