Skip to content

Instantly share code, notes, and snippets.

View bitcynth's full-sized avatar
🌈
Just meowing and shit

Cynthia Revström bitcynth

🌈
Just meowing and shit
View GitHub Profile
bin:
total 820
drwxr-xr-x 2 root root 4096 mar 23 17:50 .
drwxr-xr-x 10 root root 4096 mar 23 18:27 ..
lrwxrwxrwx 1 root root 7 mar 23 17:50 arch -> busybox
lrwxrwxrwx 1 root root 7 mar 23 17:50 ash -> busybox
lrwxrwxrwx 1 root root 7 mar 23 17:50 base64 -> busybox
-rwxr-xr-x 1 root root 829092 mar 23 17:50 busybox
lrwxrwxrwx 1 root root 7 mar 23 17:50 cat -> busybox
lrwxrwxrwx 1 root root 7 mar 23 17:50 chattr -> busybox
➜ ~ whois cynthia.re
%% ****************** ******************
%% This is the AFNIC Whois server. * . ° * \_\_ * _/_/ . .
%% . . . /.\ . \__/ . *
%% complete date format : YYYY-MM-DD . /.^'\ * (Oo)\_______*
%% short date format : DD/MM ° * /'.'\ . ° (__)\ AFNIC )
%% version : FRNIC-2.5 * ° . /.^'.'\ . ||-----||
%% . . ^^|_|^^ * || ° ||
%% Rights restricted by copyright. ****************** ******************
%% See https://www.afnic.fr/en/products-and-services/services/whois/whois-special-notice/
d1.nu
f7.nu
f9.nu
g6.nu
g7.nu
j3.nu
j4.nu
j5.nu
j6.nu
j9.nu
d1.nu
f7.nu
f9.nu
g6.nu
g7.nu
j3.nu
j4.nu
j5.nu
j6.nu
j9.nu
@bitcynth
bitcynth / ip-worker.js
Created September 27, 2019 19:50
What's my IP but with Cloudflare Workers. (MIT License)
addEventListener('fetch', event => {
event.respondWith(handleRequest(event.request))
})
async function handleRequest(request) {
return new Response(request.headers.get('CF-Connecting-IP'), {status: 200})
}
@bitcynth
bitcynth / certs
Last active August 21, 2019 15:21
Non-Commercial certs that are not international orgs (based on my crappy filters)
https://crt.sh/?q=f809ca345b2410d0d9732c2ecdeb0e850c71e15c5457c5e6548ec8e541254837
https://crt.sh/?q=bd7aa447d1f85d2383146fe435a9161155bcdbf93c065ee98ff1a1e195d22ffc
https://crt.sh/?q=a2cbb47a91a6f87fdff359c3cd29c720cc4255a8bbf1d790549b7e01153e1a5b
https://crt.sh/?q=cde17effbc4c3dab2abb7dbf3cce85a374034b6ae3becda49d8ba53b5c33ce68
https://crt.sh/?q=4b2cd9ef0099915a495acdc594006b6a8da432910803164143686797adb46d92
https://crt.sh/?q=bbf4bd7f95a0e6d466269a74a90c74afac3f17af0b740b02f70ae6c1b6f30697
https://crt.sh/?q=9f54c3f9b5782ad91196340584b50b1ad3221935742080674846eba581a85aac
https://crt.sh/?q=943b530fd146367598816663283b030b5297bb8b40de1aed48f412c2426e1565
https://crt.sh/?q=f54b0b99137416897890d33de464b3acad185b510bf3e39d07f805a75c646838
https://crt.sh/?q=cef0bb2c52bec3a567ca352fca963c736e3ab17aedc2a7675bd9e0ca2a868b42
@bitcynth
bitcynth / certs
Created August 20, 2019 16:29
EV Certs with country that is not an ISO 3166-1 code nor XX
https://crt.sh/?q=b5089ab50549b9337f669219b60e5bcab395347d59fc56f256279a0e5ade8a6e
https://crt.sh/?q=19fce3592f1be14a67056012d9b29a29b976a95ce3032d3bfcfb8607d4ef8d92
https://crt.sh/?q=a7548004b018f74369c6d01b2f7959014877e9771444d173ed9a0940cc3db374
https://crt.sh/?q=1ddf20e7bd728c609b5d712c86b856d4a39b1edb1643b1b85ce1a81ae0d40499
https://crt.sh/?q=85cd32b704a6df413fc692d28b2cf26577caebd3e7f3c9c09811665ecb2505e2
https://crt.sh/?q=52db0b15fe75b10460414f759da17cccaa3d44e3655e8dc3f6ab3f8160318f0a
https://crt.sh/?q=e62d4d1f3950e832913f1d0a83831fbe61d5bebe296da6201f3a31c6f96da14f
https://crt.sh/?q=5d860c27fd7c1d3e728cbb0f0053ba0bb34496cd12061156059a012d978a2805
https://crt.sh/?q=f1516a40278b75108136fa568ab38af32b65c422702be1b5ba586d6d148b84d4
https://crt.sh/?q=a2169edba97b38e6bc61981446ad270e6b62ba503eb01d661e765819b5d73fe4
import dns.resolver
import socket
import ssl
FROM_ADDR = 'cynthia@example.com'
TO_ADDR = 'meow@example.com'
msg_helo = 'HELO msg\r\n'
msg_from = 'MAIL FROM:<{}>\r\n'
msg_rcpt = 'RCPT TO:<{}>\r\n'
body {
background-color: #00ccff;
}
@bitcynth
bitcynth / -
Created September 12, 2018 06:10
#!/bin/bash
ip link set enp1s0 up
iptables -t nat -A POSTROUTING -o enp0s25 -j MASQUERADE
iptables -A FORWARD -i enp0s25 # -o enp1s0 -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -i enp1s0 # -o enp0s25 -j ACCEPT
ip addr add 10.11.0.1/24 dev enp1s0