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
| typeset _agent_forwarding _ssh_env_cache | |
| function _clear_agent() { | |
| rx="^ssh-" | |
| tmp="/data/data/com.termux/files/usr/tmp" | |
| _ssh_env_cache="$HOME/.ssh/environment-$SHORT_HOST" | |
| . $_ssh_env_cache > /dev/null | |
| SSH_CHECK_AGENT_PID=$(ps x | grep ssh-agent | grep -v "grep " | awk '{print $1}') | |
| if [[ -z $SSH_CHECK_AGENT_PID || $SSH_CHECK_AGENT_PID != $SSH_AGENT_PID ]]; then | |
| if [[ -e $_ssh_env_cache ]]; then |
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
| [[ -z $OS ]] && export OS=$(uname -a | awk '{print $(NF)}') | |
| export ZSH=/data/data/com.termux/files/home/.oh-my-zsh | |
| ZSH_THEME="robbyrussell" | |
| plugins=(git ssh-agent) | |
| source $ZSH/oh-my-zsh.sh |
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
| # IP Spoofing protection | |
| net.ipv4.conf.all.rp_filter = 1 | |
| net.ipv4.conf.default.rp_filter = 1 | |
| # Ignore ICMP broadcast requests | |
| net.ipv4.icmp_echo_ignore_broadcasts = 1 | |
| # Disable source packet routing | |
| net.ipv4.conf.all.accept_source_route = 0 | |
| net.ipv6.conf.all.accept_source_route = 0 |
This file has been truncated, but you can view the full file.
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
| #!/usr/bin/env python | |
| # | |
| # Hi There! | |
| # You may be wondering what this giant blob of binary data here is, you might | |
| # even be worried that we're up to something nefarious (good for you for being | |
| # paranoid!). This is a base85 encoding of a zip file, this zip file contains | |
| # an entire copy of pip. | |
| # | |
| # Pip is a thing that installs packages, pip itself is a package that someone | |
| # might want to install, especially if they're looking to run this get-pip.py |
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
| #!/usr/bin/env sh | |
| if test -t 1; then | |
| exec 1>/dev/null | |
| fi; | |
| if test -t 2; then | |
| exec 2>/dev/null | |
| fi; |
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
| #!/bin/bash | |
| sudo stop shill | |
| sudo start shill BLACKLISTED_DEVICES=tun0 | |
| openvpn $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
| #!/usr/bin/env sh | |
| _crew_install() { | |
| wget -q -O - https://raw.github.com/skycocker/chromebrew/master/install.sh | bash | |
| } | |
| _crew_install |
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
| #!/usr/bin/env sh | |
| _install() { | |
| curl -O https://prerelease.keybase.io/keybase_amd64.deb ~/Downloads/keybase_amd64.deb | |
| sudo enter-chroot -n xenial sudo -S sh -c "sudo dpkg -i ~/Downloads/keybase_amd64.deb && sudo apt-get install -f" | |
| } | |
| _install |
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
| ## arrow up | |
| "\e[A":history-search-backward | |
| ## arrow down | |
| "\e[B":history-search-forward |
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
| Host github.com | |
| User git | |
| Hostname github.com | |
| PreferredAuthentications publickey | |
| IdentityFile /home/user/.ssh/id_rsa |
OlderNewer