Things i'd ussually do after debian fresh install
/etc/init.d/exim4 stop
/etc/init.d/rpcbind stop
update-rc.d -f exim4 remove
update-rc.d -f rpcbind remove
mount /dev/sdaX /mnt
# X is where our debian partition installedfor i in /sys /proc /run /dev; do mount --bind "$i" "/mnt/$i"; done
mount /dev/sdaX /mnt/boot/efi/
# X is where our windows 10 boot efi partition installed#!/bin/bash | |
# | |
# simple script get and parse output from sublist3r and get the addresses | |
# will only print sub domain target that exist | |
# | |
# sample output below | |
: ' | |
Bing: sub1.targetdomain.com | |
Baidu: sub2.targetdomain.com | |
DNSdumpster: sub3.targetdomain.com |
#!/bin/bash | |
# | |
# well people must be wonder, why? | |
# for me it's necessary if you have a lot of rules in your iptables and/combine with other command | |
# ps: this will only work if you use `comment` module. eg; iptables -t nat -A OUTPUT -m comment --comment | |
# well for what is worth maybe its just to give you an idea lolz | |
# | |
mode=$1 | |
rule=$2 |
apt-get install bzip2 build-essential autoconf libffi-dev libssl-dev libxml2-dev libtool pkg-config -y
./setup.sh
Because we hooman seems to forget stuff a lot
this is just a notes for reminder of docker command line i use
When you need to run a container on privileged mode
docker run --name l33tcnt --hostname l33tcnt -it --privileged debian:stable /bin/bash -l
When you need to assign more than one bridge to your container, let say you want a container to be able to
communicate with your host private network at eth1