Skip to content

Instantly share code, notes, and snippets.

knmi.nl
rijksoverheid.nl
overheid.nl
duo.nl
politie.nl
koninklijkhuis.nl
defensie.nl
kadaster.nl
werkenbijdefensie.nl
cbs.nl
@Zawadidone
Zawadidone / id_ed25519.pub
Last active May 9, 2020 14:25
SSH public key
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEDcQiycS6q+4IHo6Snv3Hy7OSYaKDYLKsmWQWUqv3Tk hi@zawadidone.nl
@Zawadidone
Zawadidone / get-shodan-favicon-hash.py
Created December 28, 2020 16:50 — forked from yehgdotnet/get-shodan-favicon-hash.py
Get Shodan FAVICON Hash
# https://twitter.com/brsn76945860/status/1171233054951501824
pip install mmh3
-----------------------------
# python 2
import mmh3
import requests
response = requests.get('https://cybersecurity.wtf/favicon.ico')
favicon = response.content.encode('base64')
mappings = jsonencode({
properties = {
__ts_timeline_id = { type = "long" }
datetime = { type = "date" }
timestamp_desc = { type = "text", fields = { keyword = { type = "keyword" } } }
data_type = { type = "text", fields = { keyword = { type = "keyword" } } }
timesketch_label = {
type = "nested"
properties = {
name = {
@Zawadidone
Zawadidone / yubikey+gpupgp+ssh_howto.md
Last active December 16, 2024 12:36 — forked from xirkus/yubikey+gpupgp+ssh_howto.md
Security Adventures 1. How to get yubikey+gpg+ssh+gitbhub working on MacOS

The Yubikey 5

The instructions below are for the Yubikey 5 (which is what I have). If you have an older version of the key, the instructions below may not work for you and you may want to consider upgrading to a newer version.

Relevant Features

  • There are USB-C and USB-A versions of this key which make it compatible with most devices. CAVEAT: I don't have an NFC version, so have not tested to see if these instructions work on these keys as well. If you have one and try these instructions (with or without success), post your experiences below in the comments.
  • Supports FIDO / U2F / PIV-compatible Smart Card / OpenPGP. It's these last two that we'll focus on here as these are relevant to getting the key to provide ssh authentication credentials to a service like GitH