Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

榆木 yumusb

🎯
Focusing
View GitHub Profile
View clien2.ovpn
client
dev tun
proto tcp
remote 1.1.1.1 1194
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
comp-lzo
View openvpn_server.conf
port 1194
proto tcp
dev tun
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/server.crt
key /etc/openvpn/keys/server.key
dh /etc/openvpn/keys/dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
View app.html
<!--
// -------------------------------------------------------------
// author Giga
// project qeeqbox/social-analyzer
// email gigaqeeq@gmail.com
// description app.py (CLI)
// licensee AGPL-3.0
// -------------------------------------------------------------
// contributors list qeeqbox/social-analyzer/graphs/contributors
// -------------------------------------------------------------
View drop_scanner.sh
drop() {
echo "drop censys"
for ip in 192.35.168.0/23 162.142.125.0/24 74.120.14.0/24 167.248.133.0/24
do
#echo $ip;
iptables -I INPUT -s $ip -j DROP -m comment --comment "censys.io";
done
echo "drop shodan"
for ip in 93.174.95.106 94.102.49.193 80.82.77.139 94.102.49.190 185.163.109.66 89.248.172.16 71.6.146.186 89.248.167.131 185.181.102.18 80.82.77.33 198.20.69.0/24 198.20.70.0/24 198.20.99.0/24 66.240.236.119 71.6.135.131 66.240.192.138 71.6.167.142 82.221.105.6 82.221.105.7 71.6.165.200 188.138.9.50 71.6.146.185 71.6.158.166 198.20.87.0/24 66.240.219.146 104.131.0.69
View aboutbt
sed -i 's/#include luawaf.conf;/include luawaf.conf;/g' nginx.txt
View tracert.sh
#!/bin/bash
red='\e[91m'
green='\e[92m'
yellow='\e[93m'
magenta='\e[95m'
cyan='\e[96m'
none='\e[0m'
#检查是否root用户
[[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1