Skip to content

Instantly share code, notes, and snippets.

Fabian Weisshaar elnappo

  • Germany
Block or report user

Report or block elnappo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@elnappo
elnappo / band_enumeration.py
Last active Jun 27, 2018
Amateur Data Interchange Format (ADIF) v3.0.8 for python
View band_enumeration.py
band_enumeration = [
{
"band": "2190m",
"lower_freq": 0.1357,
"upper_freq": 0.1378
},
{
"band": "630m",
"lower_freq": 0.472,
"upper_freq": 0.479
View gist:a15dbc2dc1b1dad545e33e9f3c5f2684
### Keybase proof
I hereby claim:
* I am elnappo on github.
* I am elnappo (https://keybase.io/elnappo) on keybase.
* I have a public key ASBWLm4lX4Yh4-aAAT0MpSkSxBXNQ1S65mZUe1_g0H5zcgo
To claim this, I am signing this object:
View gist:56512d222e180d73f6b6defc3fd41a55
loadkeys de-latin1
ls /sys/firmware/efi/efivars
ping google.de
timedatectl set-ntp true
fdisk -l
fdisk /dev/sdb
cryptsetup -s 512 luksFormat /dev/sdb2
cryptsetup open /dev/sdb2 cryptroot
mkfs.btrfs /dev/mapper/cryptroot
@elnappo
elnappo / logstash-suricata.conf
Last active Feb 8, 2019
Suricata Logstash Elasticsearch
View logstash-suricata.conf
input {
file {
path => ["/var/log/suricata/eve.json"]
sincedb_path => ["/var/lib/logstash/since.db"]
codec => json
type => "SuricataIDPS"
}
}
filter {
@elnappo
elnappo / gist:34b5dae235043526b9b3
Created Jun 14, 2015
graph traceroutes with scapy
View gist:34b5dae235043526b9b3
from scapy.all import *
hosts = ["whitehouse.gov", "mit.edu", "heise.de", "google.ru", "telekom.de", "facebook.com", "vodafone.de", "tu-berlin.de", "m-net.de", "067.cz"]
res,unans = traceroute(hosts)
res.graph(target="> traceroute_graph.svg")
@elnappo
elnappo / myip.sh
Last active Jan 1, 2016
Get your IPv4, IPv6 and hostname
View myip.sh
#!/usr/bin/env bash
ipv4=$(curl -s ipv4.icanhazip.com)
echo IPv4: $ipv4
hostname_ipv4=$(dig +noall +answer +short -x $ipv4)
echo rDNS: $hostname_ipv4
ipv6=$(curl -s ipv6.icanhazip.com)
echo IPv6: $ipv6
You can’t perform that action at this time.