Skip to content

Instantly share code, notes, and snippets.

View sebastian-muthwill's full-sized avatar

Sebastian Muthwill sebastian-muthwill

View GitHub Profile
@sebastian-muthwill
sebastian-muthwill / server.py
Created November 27, 2021 09:52 — forked from mdonkers/server.py
Simple Python 3 HTTP server for logging all GET and POST requests
#!/usr/bin/env python3
"""
Very simple HTTP server in python for logging requests
Usage::
./server.py [<port>]
"""
from http.server import BaseHTTPRequestHandler, HTTPServer
import logging
class S(BaseHTTPRequestHandler):
#!/bin/sh
#aktualisiert DNS-Einträge bei HostEurope
#XXX durch eigene Zugangsdaten ersetzen
#HostEurope-Zugangsdaten
KUNDENNR=xxx
PASSWORD=xxx
DOMAIN=xxx
#Host-ID des eigentlichen Eintrages
HOSTID=xxx