File manager - Edit - /usr/local/usermin-1.860/tunnel/login.cgi
Back
#!/usr/bin/perl # login.cgi # Store the username and password for a server in a cookie require './tunnel-lib.pl'; &ReadParse(); $enc = &encode_base64($in{'user'}.":".$in{'pass'}); $enc =~ s/\r|\n//g; print "Set-Cookie: tunnel=$enc; path=/"; if (uc($ENV{'HTTPS'}) eq 'ON') { print "; secure"; } print "\n"; &redirect("link.cgi/$in{'path'}");
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.5 |
proxy
|
phpinfo
|
Settings