Skip to content

Instantly share code, notes, and snippets.

View csobankesmarki's full-sized avatar
💭
Just meditate.

Csoban Kesmarki csobankesmarki

💭
Just meditate.
  • Hungary
View GitHub Profile
package main
import (
"crypto"
"fmt"
"os"
"os/signal"
"syscall"
"github.com/ThalesIgnite/crypto11"
package main
/*
#cgo CFLAGS: -I/usr/include/
#cgo LDFLAGS: -ldinamo -ltacndlib
#include <dinamo.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
@csobankesmarki
csobankesmarki / register.sh
Last active November 19, 2020 07:20
register new or verify existing Let's Encrypt account by using secret key
#!/usr/bin/env bash
#
# This file register a new or verify an existing Let's Encrypt account
# Usage:
# re-register.sh <secret key file> <e-mail address>
#
# It will provide the json reply from Let's Encrypt when trying to register an
# account with a key assigned even if the account exists already.
# The json contains the details of the new/existing account.
@csobankesmarki
csobankesmarki / sec_browse.py
Created May 17, 2020 21:47 — forked from rootVIII/sec_browse.py
sec_browse.py - Auto-configures Firefox network settings and opens a secure Tor/Firefox browser session for the # time specified by -t
#! /usr/bin/python3
from os import popen, remove, getcwd
from selenium import webdriver
from subprocess import call
from sys import exit
from time import sleep
from argparse import ArgumentParser
from threading import Thread
# rootVIII
# sec_browse.py - Auto-configures Firefox network settings