Skip to content

Instantly share code, notes, and snippets.

View sinnlosername's full-sized avatar
💭
On vaccination

florian sinnlosername

💭
On vaccination
  • Europe
View GitHub Profile
wefewfweewfewfwe
few
f
ewf
we
fwe
f
@sinnlosername
sinnlosername / testserver.go
Created January 15, 2018 22:41
Small testserver which serves the correct directory
package main
import (
"net/http"
"os"
"path/filepath"
)
const listen = "127.0.0.1:1337"
@sinnlosername
sinnlosername / torcheck.go
Last active January 2, 2018 03:56
Simple Go Code to check if an ip is a tor exit node
package torcheck
import (
"net"
"net/http"
"log"
"bufio"
"strings"
)
package at.gadermaier.argon2;
import at.gadermaier.argon2.algorithm.FillSegment;
import at.gadermaier.argon2.algorithm.Functions;
import at.gadermaier.argon2.exception.Argon2InvalidParameterException;
import at.gadermaier.argon2.model.Argon2Type;
import at.gadermaier.argon2.model.Block;
import at.gadermaier.argon2.model.Instance;
import at.gadermaier.argon2.model.Position;