Skip to content

Instantly share code, notes, and snippets.

View shibumi's full-sized avatar

Christian Rebischke shibumi

View GitHub Profile
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Maintainer: Christian Rebischke <[email protected]>
# Contributor: Wei Congrui < crvv.mail at gmail dot com >
# Contributor: Carl George < arch at cgtx dot us >
# Contributor: Eric Engeström <eric at engestrom dot ch>
# Contributor: Andreas Linz <klingt.net at gmail dot com>
# Contributor: Akshay S Dinesh <asdofindia at gmail dot com>
pkgname=caddy
pkgver=2.7.4
@shibumi
shibumi / tls-client.go
Created April 6, 2021 10:09 — forked from michaljemala/tls-client.go
SSL Client Authentication Golang sample
package main
import (
"crypto/tls"
"crypto/x509"
"flag"
"io/ioutil"
"log"
"net/http"
)
@shibumi
shibumi / ecdsa_test.go
Created July 29, 2020 21:58
This code is a proof of concept for showing, that r and s may have different length for Go's crypto/ecdsa library
package main
import (
"crypto/ecdsa"
"crypto/elliptic"
"crypto/rand"
"crypto/sha256"
"encoding/hex"
"fmt"
"math/big"
@shibumi
shibumi / PKGBUILD
Created September 24, 2019 12:47
# Maintainer: Andrea 'alephZer0' Gómez <crypto.andrea at protonmail dot ch> -> https://github.com/da-edra
pkgname=arpfox
pkgver=0.9.9
pkgrel=1
pkgdesc="An arpspoof alternative written in Go that injects specially crafted ARP packets into a LAN."
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/malfunkt/arpfox"
license=('MIT')
depends=('libpcap')

Keybase proof

I hereby claim:

  • I am shibumi on github.
  • I am sh1bumi (https://keybase.io/sh1bumi) on keybase.
  • I have a public key ASCzULumqEdN4LmQ1uZ3e_MtnqwTfPTBy7KMmcTap2bEGgo

To claim this, I am signing this object:

prompt_git_dirty() {
if git rev-parse --git-dir > /dev/null 2>&1; then
if [ -z "$(command git status --porcelain --ignore-submodules -unormal)" ]; then
echo "green"
else
echo "yellow"
fi
else
echo "blue"
fi
# Aliases
alias gdb="gdb -q"
alias mksrcinfo="makepkg --printsrcinfo > .SRCINFO"
alias mosh="mosh --predict=experimental"
alias mpv="mpv --audio-display=no"
alias g="git"
if [ -x "$(command -v exa)" ]; then
alias l="exa"
alias ls="exa"
alias ll="exa -l --git"
@shibumi
shibumi / PKGBUILD
Created October 7, 2015 16:32
PKGBUILD for N1 Mailclient
# Maintainer: Christian Rebischke <echo Q2hyaXMuUmViaXNjaGtlQGdtYWlsLmNvbQo= | base64 -d>
_pkgname='N1'
pkgname='n1-git'
pkgver=..0edbf51
pkgrel=1
pkgdesc="An extensible mail client built on the modern web"
arch=('any')
url="https://github.com/mbilker/N1/tree/node-v4"
license=('')
depends=('nodejs' 'npm')
@shibumi
shibumi / scan.sh
Last active September 8, 2015 18:45
#!/bin/bash
#
# scan.sh - simple ip list parser and whois tool
#
# Copyright (c) 2015 by Christian Rebischke
# <echo Q2hyaXMuUmViaXNjaGtlQGdtYWlsLmNvbQo= | base64 -d>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or