- Install
ipset
:
apt-get install ipset
- Create new ipset:
ipset create tor iphash
ipset
:apt-get install ipset
ipset create tor iphash
# install dependecies
apt-get install qemu qemu-user-static binfmt-support
# download raspbian image
wget https://downloads.raspberrypi.org/raspbian_latest
# extract raspbian image
unzip raspbian_latest
# stop active raid
mdadm --stop /dev/md[01]
# destroy partition table on hdds
dd if=/dev/zero of=/dev/sda bs=1M count=512
dd if=/dev/zero of=/dev/sdb bs=1M count=512
# create new partition table
sgdisk -og /dev/sda
curl \
-H 'Content-Type: application/json' \
-X POST \
-d '{"text": "$TEXT", "mode": "markdown"}' \
https://api.github.com/markdown
docker run --name=registry --restart=always -d -p 5000:5000 registry:2
# Enumerate databases
sqlmap --dbms=mysql -u "$URL" --dbs
# Enumerate tables
sqlmap --dbms=mysql -u "$URL" -D "$DATABASE" --tables
# Dump table data
sqlmap --dbms=mysql -u "$URL" -D "$DATABASE" -T "$TABLE" --dump
apt-get install chntpw ntfs-3g
mount -t ntfs /dev/sda2 /mnt
# set static ip address
ifconfig eth0 $IP netmask $NETMASK broadcast $BROADCAST
# change mac address
ifconfig eth0 hw ether $MAC_ADDRESS
# add alias interface
ifconfig eth0:0 $ALIAS_IP
docker build -t $IMAGE_NAME - << EOF
FROM alpine:latest
...
EXPOSE 80
EOF