- Amnezia VPN (OpenVPN & WireGuard protocols) - Windows, MacOS, iOS, Android, Linux (no ARM support)
- boringproxy (in-house developed "NameDrop" protocol) - Windows, MacOS, Linux, FreeBSD, OpenBSD
- boringtun (WireGuard protocol) - MacOS, Linux (mobile clients not open source)
- Brook (in-house developed "Brook" protocol as well as WebSocket Secure, SOCKS5, and QUIC protocols) - Windows, MacOS, Linux, OpenWrt (mobile clients not open source)
- Chisel (SSH protocol) - Windows, MacOS, Linux
- cjdns (in-house developed "CryptoAuth" protocol) - Windows, MacOS, Linux, FreeBSD, NetBSD
- Cloak (OpenVPN & Shadowsocks protocols) - Windows, MacOS
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
| // compiles with: gcc -Wall -Werror -pedantic ./selfpipetrick.c -o selfpipetrick | |
| // You can quit by suspending with Ctrl-Z and then sending a `kill -9` | |
| #include <sys/signalfd.h> | |
| #include <signal.h> | |
| #include <string.h> | |
| #include <stdlib.h> | |
| #include <errno.h> | |
| #include <stdio.h> | |
| #include <fcntl.h> |
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
| /* | |
| ptr_inspect.c | |
| Demonstration code; shows how to trace the system calls in a child | |
| process with ptrace. Only works on 64-bit x86 Linux for now, I'm | |
| afraid. (Even worse, it's only tested on Linux 2.6....) | |
| The callname() function looks clunky and machine-generated because it | |
| *is* clunky and machine-generated. | |
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
| #include <string.h> | |
| #include <stdio.h> | |
| #include <unistd.h> | |
| #include <sys/types.h> | |
| #include <wait.h> | |
| #include <sys/ptrace.h> | |
| #include <sys/user.h> | |
| #include <stdlib.h> | |
| #include <linux/ptrace.h> |
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
| words=($(grep '^\w\w\w\w\w$' /usr/share/dict/words | tr '[a-z]' '[A-Z]')) | |
| actual=${words[$[$RANDOM % ${#words[@]}]]} | |
| end=false | |
| guess_count=0 | |
| max_guess=6 | |
| if [[ $1 == "unlimit" ]]; then | |
| max_guess=999999 | |
| fi | |
| while [[ $end != true ]]; do | |
| guess_count=$(( $guess_count + 1 )) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| " Statusline (requires Powerline font) | |
| set statusline= | |
| set statusline+=%(%{&buflisted?bufnr('%'):''}\ \ %) | |
| set statusline+=%< " Truncate line here | |
| set statusline+=%f\ " File path, as typed or relative to current directory | |
| set statusline+=%{&modified?'+\ ':''} | |
| set statusline+=%{&readonly?'\ ':''} | |
| set statusline+=%= " Separation point between left and right aligned items | |
| set statusline+=\ %{&filetype!=#''?&filetype:'none'} | |
| set statusline+=%(\ %{(&bomb\|\|&fileencoding!~#'^$\\\|utf-8'?'\ '.&fileencoding.(&bomb?'-bom':''):'') |
NewerOlder