`# Exploit Title: Unauthenticated remote root code execution on captive portal Ucopia <= 5.1
# Date: 02/10/17
# Exploit Author: agix
# Vendor Homepage: http://www.ucopia.com/
# Version: <= 5.1
# Don't know in which version they exactly fixed it.
# When you connect to Ucopia wifi guest, every requests are redirected to controller.access.network
# First create easier to use php backdoor
# As php is in sudoers without password...
# Just push your ssh key and get nice root access (ssh is open by default even from wifi guest)