This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# first get two (2) DNS Tier 2 servers from this page: | |
http://wiki.opennicproject.org/Tier2 | |
# edit your DNS configuration and set it as the primary and secondary DNS | |
# for linux /etc/resolv.conf | |
# example add the following lines at the start of the file | |
nameserver 111.67.16.202 | |
nameserver 103.25.56.238 | |
# you can now access some custom TLD and create your own TLD's. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Deprecated command Replacement command(s) | |
arp ip n (ip neighbor) | |
ifconfig ip a (ip addr), ip link, ip -s (ip -stats) | |
iptunnel ip tunnel | |
iwconfig iw | |
nameif ip link, ifrename | |
netstat ss, ip route (for netstat-r), ip -s link (for netstat -i), ip maddr (for netstat-g) | |
route ip r (ip route) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# in order to create a text ascii art you need to use the tool called figlet | |
# on arch install it with: pacman -S figlet | |
figlet [-f font] [text] | |
# example without optional font | |
figlet hello world | |
_ _ _ _ _ | |
| |__ ___| | | ___ __ _____ _ __| | __| | | |
| '_ \ / _ \ | |/ _ \ \ \ /\ / / _ \| '__| |/ _` | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install on Arch: pacman -S dnscrypt-proxy | |
# run DNSCrypt as a daemonize service | |
# where `resolver name` could be found on this list | |
# https://github.com/jedisct1/dnscrypt-proxy/blob/master/dnscrypt-resolvers.csv | |
sudo dnscrypt-proxy --ephemeral-keys --resolver-name=[resolver name] --daemonize | |
# example of usage: | |
sudo dnscrypt-proxy --ephemeral-keys --resolver-name=opendns --daemonize |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this assumes you've already downloaded, installed and or compiled sources for the following files | |
# if on arch run `pacman -S tor delegate rtorrent` | |
# DeleGate Source: http://delegate.hpcc.jp/anonftp/DeleGate/delegate9.9.13.tar.gz | |
1. Run `tor` whether on chroot or not. | |
2. Proxy socks5 tor connection to port 8080 localhost by running: | |
delegated -P8080 SERVER=http SOCKS=localhost:9050 | |
3. Configure $HOME/.rtorrent.rc and set `http_proxy` to `127.0.0.1` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### Arch Linux Installation Crypted | |
1. Boot Arch Linux iso image. | |
2. Load keyboard and font to the iso. | |
loadkeys us | |
setfont Lat2-Terminus16 | |
3. Find block device node. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo pacman -S rng-tools | |
sudo rngd -f -r /dev/urandom | |
gpg2 --full-gen-key |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm | |
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux | |
yum install -y flash-plugin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### Original Link https://wiki.archlinux.org/index.php?title=Tor | |
#!/bin/bash | |
export TORCHROOT=/opt/torchroot | |
mkdir -p $TORCHROOT | |
mkdir -p $TORCHROOT/etc/tor | |
mkdir -p $TORCHROOT/dev | |
mkdir -p $TORCHROOT/usr/bin | |
mkdir -p $TORCHROOT/usr/lib |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# attach to a current network | |
strace -p [pid] -f -e trace=network -s [strsize] | |
# or just trace connect calls | |
strace -p [pid] -f -e trace=network -s [strsize] | |
# or some chosen network calls | |
strace -p [pid] -f -e poll,select,connect,recvfrom,sendto -s [strsize] |