Skip to content

Instantly share code, notes, and snippets.

@jbfuzier
jbfuzier / grab_banner.py
Created July 4, 2024 11:02
Grab SSH Banner
# !/usr/bin/python
import socket
import json
import re
import time
import random
from multiprocessing import Pool, TimeoutError
socket.setdefaulttimeout(4)
def grab_banner(ip_address, port):
@jbfuzier
jbfuzier / gist:7ee6ecdb716f8bb69c8555b437abef08
Created February 13, 2017 17:32
Python Timezone conversion
from dateutil import tz
tzone = tz.gettz('Europe/Paris')
utc = tz.gettz('UTC')
# Make datetime object timezone aware
datetime_local = datetime_local.replace(tzinfo=tzone)
# Do the timezone change
date_utc = datetime_local.astimezone(utc)
@jbfuzier
jbfuzier / dynamic-dns.txt
Created June 28, 2016 07:34 — forked from neu5ron/dynamic-dns.txt
List of Dynamic DNS
This file has been truncated, but you can view the full file.
3d-game.com #dtdns.com
4irc.com #dtdns.com
b0ne.com #dtdns.com
bbsindex.com #dtdns.com
chatnook.com #dtdns.com
darktech.org #dtdns.com
deaftone.com #dtdns.com
dtdns.net #dtdns.com
effers.com #dtdns.com
etowns.net #dtdns.com