Skip to content

Instantly share code, notes, and snippets.

View PalinuroSec's full-sized avatar

Lorenzo "Palinuro" Faletra PalinuroSec

View GitHub Profile
#
# Script fragment to make dhclient supply nameserver information to resolvconf
#
# Tips:
# * Be careful about changing the environment since this is sourced
# * This script fragment uses bash features
# * As of isc-dhcp-client 4.2 the "reason" (for running the script) can be one of the following.
# (Listed on man page:) MEDIUM(0) PREINIT(0) BOUND(M) RENEW(M) REBIND(M) REBOOT(M) EXPIRE(D) FAIL(D) RELEASE(D) STOP(D) NBI(-) TIMEOUT(M)
# (Also used in master script:) ARPCHECK(0), ARPSEND(0)
EDITION=$1
ARCH=$2
VERSION=$3
for EDITION in core home security; do
for ARCH in arm64 armhf; do
debootstrap --arch=$ARCH --components=main,contrib,non-free --include=gnupg2,nano,base-files parrot $EDITION-$ARCH https://deb.parrot.sh/direct/parrot/
mount --bind /dev $EDITION-$ARCH/dev
mount --bind /proc $EDITION-$ARCH/proc
@PalinuroSec
PalinuroSec / bludit-brute.go
Created June 23, 2020 10:01
htb blunder bludit bruteforce
package main
import (
"fmt"
"io"
"io/ioutil"
"net/http"
"net/url"
"os"
"strconv"

Keybase proof

I hereby claim:

  • I am palinurosec on github.
  • I am palinuro (https://keybase.io/palinuro) on keybase.
  • I have a public key ASASyVQNn7V1eTsJsLMj-8s2QNFad0IHqJL2aBi3-NddEgo

To claim this, I am signing this object:

@PalinuroSec
PalinuroSec / mirrorbits-nginx.conf
Created July 5, 2018 16:32
nginx settings for mirrorbits server
server {
listen 80 default_server;
listen [::]:80 default_server;
listen 443 ssl default_server;
listen [::]:443 ssl default_server;
include snippets/snakeoil.conf;
root /srv;
# Add index.php to the list if you are using PHP