IPv6 capable
- http://detectportal.firefox.com/success.txt
- http://ipv6.msftncsi.com/ncsi.txt
- http://nmcheck.gnome.org/check_network_status.txt
- http://network-test.debian.org/nm
- http://ping.archlinux.org/nm-check.txt
- http://cp.cloudflare.com/
// from linux/errno.h, unfortunately they does not belong to uapi | |
#define ERESTARTSYS 512 | |
#define ERESTARTNOINTR 513 | |
#define ERESTARTNOHAND 514 | |
#define ERESTART_RESTARTBLOCK 516 | |
ptrace(PTRACE_ATTACH, pid, NULL, NULL); | |
waitpid(pid, NULL, 0); | |
// PTRACE_POKETEXT as you wish | |
ptrace(PTRACE_GETREGS, pid, NULL, ®s); |
#!/usr/bin/env python3 | |
import argparse | |
import hashlib | |
import os | |
SMB_SYMHDRLEN = (4+1)+(4+1)+(32+1) | |
MAXPATHLEN = 0x400 | |
# see smbfs_create_windows_symlink_data | |
def symlink(target: str, link: str) -> None: |
8.6.112.0 US Texas Dallas | |
8.6.144.0 US Illinois Chicago | |
8.6.145.0 US Massachusetts Boston | |
8.6.146.0 US Tennessee Nashville | |
8.9.230.0 US Georgia Atlanta | |
8.9.231.0 US Virginia Ashburn | |
8.10.148.0 US New York Buffalo | |
8.14.199.0 SE Vastra Gotalands lan Goeteborg | |
8.14.201.0 BR Parana Curitiba | |
8.14.202.0 BR Ceara Fortaleza |
1.2.840.113635.100.6.1 Leaf Certificate | |
1.2.840.113635.100.6.1.2 iOS Development | |
1.2.840.113635.100.6.1.3 iOS App Store Application | |
1.2.840.113635.100.6.1.4 iOS Distribution | |
1.2.840.113635.100.6.1.6 iOS App Store VPN Application | |
1.2.840.113635.100.6.1.7 3rd Party Mac Developer Application | |
1.2.840.113635.100.6.1.8 3rd Party Mac Developer Installer | |
1.2.840.113635.100.6.1.9 Mac App Store Application | |
1.2.840.113635.100.6.1.10 Mac App Store Installer | |
1.2.840.113635.100.6.1.11 Mac App Store Receipt |
/* | |
gcc -o reproducer reproducer.c | |
ulimit -s unlimited | |
ulimit -l unlimited | |
sysctl -w vm.overcommit_memory=1 | |
./reproducer | |
*/ | |
#define _GNU_SOURCE | |
#include <fcntl.h> |
#!/bin/sh | |
curl -fsS "$(curl -fsS nstool.netease.com | iconv -f gbk | sed -e "s|.*iframe src='\([^']*\)'.*|\1|")" | iconv -f gbk | sed -e 's|<br>|\n|g'; echo |
enum ZK_CMD | |
{ | |
CMD_DB_RRQ = 0x7, | |
CMD_USER_WRQ = 0x8, | |
CMD_USERTEMP_RRQ = 0x9, | |
CMD_USERTEMP_WRQ = 0xA, | |
CMD_OPTIONS_RRQ = 0xB, | |
CMD_OPTIONS_WRQ = 0xC, | |
CMD_ATTLOG_RRQ = 0xD, | |
CMD_CLEAR_DATA = 0xE, |
package main | |
import ( | |
"bytes" | |
"crypto/dsa" | |
"crypto/ecdsa" | |
"crypto/ed25519" | |
"crypto/elliptic" | |
"crypto/rsa" | |
"crypto/x509" |
#!/bin/sh | |
set -ex | |
/bin/loadESXEnable -e | |
/usr/lib/vmware/loadesx/bin/loadESX.py | |
/bin/reboot |