Skip to content

Instantly share code, notes, and snippets.

@pixitha
pixitha / list_ct.py
Last active March 18, 2024 17:06
Get list of CT logs, then ask how many total certs they have.
import requests
import json
import locale
def set_locale():
locales_to_try = ['en_US.UTF-8', 'en_US.utf8', 'English_United States.1252']
for loc in locales_to_try:
try:
locale.setlocale(locale.LC_ALL, loc)
return True

Keybase proof

I hereby claim:

  • I am pixitha on github.
  • I am pixitha (https://keybase.io/pixitha) on keybase.
  • I have a public key ASAgOBOiSSNw50BjYCGmKUGooq1JCs2AF1gQ9BSdG2nYVQo

To claim this, I am signing this object:

@pixitha
pixitha / howto-forward-x11-to-win10-via-putty-vcxsrv.md
Created January 23, 2023 00:46 — forked from vietlq/howto-forward-x11-to-win10-via-putty-vcxsrv.md
Code2Pro: How to Forward X11 to Windows 10 via PuTTY & vcxsrv

Code2Pro: How to Forward X11 to Windows 10 via PuTTY & vcxsrv

Scope

Tested on Windows 10 & Ubuntu 16.

Steps

  1. Check that sshd on Ubuntu is properly configured
04eed5d1e19991a780815c30f6c443f7bced3608e8ead40924369aaa1b0eb09a48eba687bf3e96d0b4191982e2f2b0dc6211684ef7aac36ca174fbdc96c16de4e6