Command | What it Does |
---|---|
gpg --full-generate-key |
generates a new key pair |
gpg --list-keys --fingerprint |
gets info on all keys on the keyring |
gpg --list-secret-keys --fingerprint |
gets info on all your keys on the keyring |
gpg --send-keys <your-key-id> |
sends/syncs your public key with the keyserver |
gpg --fingerprint <your-key-id> >> your_key.txt |
saves your key info to a file |
gpg --recv-keys |
adds other peoples keys to the keyring |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from microbitdonlge import Dongle | |
mb = Dongle(debug=True) | |
while True: | |
print(mb.recv()) |
I hereby claim:
- I am mokytis on github.
- I am lukespademan (https://keybase.io/lukespademan) on keybase.
- I have a public key ASCBEIRCaZGg5roNNYrLE1UH5QOlnF9JGSd0rVwX-eLd6go
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import logging | |
import scapy.all as scapy | |
def get_dns_query(dns_query): | |
return dns_query.qname.decode() | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from scapy.all import * | |
import os | |
import ipaddress | |
from dataclasses import dataclass | |
@dataclass | |
class Host: |