Skip to content

Instantly share code, notes, and snippets.

View neoplacer's full-sized avatar
🎯
Focusing

Richard Gericke neoplacer

🎯
Focusing
View GitHub Profile
import pycurl
import os.path
import sys
import wget
from bs4 import BeautifulSoup
if __name__ == '__main__':
#Get the rss feed with the list of items
@neoplacer
neoplacer / fakemail.py
Created November 7, 2017 09:56
Generate fake email addresses for spam harvesters
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Generate fake email addresses for spam harvesters.
A pythonic Python port of Joerg Kantel's fakemail macro for Radio Userland.
It creates random e-mail addresses, optionally marked up as XHTML.
The ``prefix`` and ``postfix`` arguments were left out, since strings can
easily be prepended and appended, if needed.
@neoplacer
neoplacer / fake_ftp.py
Created November 7, 2017 09:55
Fake FTP Server
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Fake FTP Server
~~~~~~~~~~~~~~~
This is a simple fake FTP daemon. It stores the login data (username and
password) given to it and then terminates the connection.
@neoplacer
neoplacer / text2hex.py
Created November 7, 2017 09:51
Text to Hex converter
# Text to Hex converter by Richard Gericke
# Decode any Text from Clipboard to html %hex
# an copy it back to clipboard_append
print "Text to HTML Hex converter"
print "Version 1.0"
print "(C) Richard Gericke"
print ""
from Tkinter import Tk
r = Tk()
r.withdraw()
@neoplacer
neoplacer / uuidgen.py
Created November 7, 2017 09:46
UUID GEN
# UUID GEN
import uuid
import string
import tkMessageBox
import os
from Tkinter import *
c=""
for x in range(0, 10):
y= str(uuid.uuid1())
@neoplacer
neoplacer / extrackt-itsa-event.py
Created November 7, 2017 09:42
IT-SA Event extractor
from bs4 import BeautifulSoup
import urllib2
import re
html_page = urllib2.urlopen("https://www.it-sa.de/de/events/tagesuebersicht/2016-10-19")
soup = BeautifulSoup(html_page, 'html')
JSdata = {}
print '{0:10} ; {1:10} ; {2:10}'.format('Time', 'Thema', 'Ort')
f = open('event-10-19.txt', 'w+')
f.write('{0:10} ; {1:10} ; {2:10}'.format('Time', 'Thema', 'Ort'))
@neoplacer
neoplacer / ustidcheck.py
Created November 7, 2017 09:30
Python Helpers
import xmlrpclib
server_url = 'https://evatr.bff-online.de/'
server = xmlrpclib.Server(server_url)
# daten zum testen
UstId_1 = 'AAAAAAA'
UstId_2 = 'AAAAAAA'
Firmenname = 'Firmenname einschl. Rechtsform'
Ort = 'Ort'
@neoplacer
neoplacer / virustotalupload.sh
Last active November 7, 2017 09:31
#Bash #virustotal.com Uploader
#!/bin/bash
APIKEY="YOUR KEY"
while [[ $# -gt 0 ]]
do
key="$1"
case $key in
-key|apikey--)
APIKEY="$2"