Skip to content

Instantly share code, notes, and snippets.

@jpmens
jpmens / tottenham.txt
Created May 13, 2021 08:23
covid spam
Date: Thu, 13 May 2021 02:28:36 +0100
From: "Dr. David Nott." <[email protected]>
To: [email protected]
Subject: Dear Piet
Dear Piet
My name is Dr. David Nott. I am a medical doctor at Tottenham Health
Center, Address: Tottenham, London N17 8AH, United Kingdom.
@jpmens
jpmens / edupage.org.txt
Created May 12, 2021 12:28
edupage.org TXT
;; Truncated, retrying in TCP mode.
; <<>> DiG 9.16.9 <<>> @127.0.0.1 edupage.org TXT
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41169
;; flags: qr rd ra; QUERY: 1, ANSWER: 126, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; <<>> DiG 9.16.9 <<>> pwc.com TXT
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64814
;; flags: qr rd ra; QUERY: 1, ANSWER: 48, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;; Truncated, retrying in TCP mode.
; <<>> DiG 9.16.9 <<>> pixnet.net TXT
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34828
;; flags: qr rd ra; QUERY: 1, ANSWER: 49, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; <<>> DiG 9.16.9 <<>> paloaltonetworks.com TXT
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52380
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 58, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
; <<>> DiG 9.16.9 <<>> cnn.com TXT
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21099
;; flags: qr rd ra; QUERY: 1, ANSWER: 47, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;cnn.com. IN TXT
@jpmens
jpmens / gist:4c290bd7a664060f17c6beafe95d1574
Created May 6, 2021 14:45
TLDs with algo=13 DS (ECDSA)
alsace.
aquarelle.
bom.
bostik.
br.
by.
bzh.
ch.
corsica.
cr.
$ dig @8.8.8.8 chtty.org
; <<>> DiG 9.16.9 <<>> @8.8.8.8 chtty.org
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 48416
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
logging {
channel named { file "named.log" versions 10 size 20M; severity info; print-category yes; print-severity yes; };
channel security { file "security.log" versions 10 size 20M; severity info; print-severity yes; };
channel ratelimit { file "ratelimit.log" versions 10 size 20M; severity info; print-severity yes; };
channel query_log { file "query.log" versions 10 size 20M; severity debug; print-severity yes; };
channel xfer { file "transfer.log" versions 10 size 10M; severity info; print-severity yes; };
channel update { file "update.log" versions 10 size 10M; severity info; print-severity yes; };
category default { default_syslog; named; };
category general { default_syslog; named; };
@jpmens
jpmens / traccar-paris.py
Created April 19, 2021 14:26
traccar-paris
#!/usr/bin/env python
import requests
import json
import time
data = {
'_type' : 'location',
'lat' : 48.85593,
'lon' : 2.29431,