Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $user = "tf";
- $pass = "04BBGWWUOM";
- $ip = "213.8.254.148";
- $port = 747;
- $remDir = "srcds/tfgather/orangebox/tf/";
- $localDir = "./";
- $file = $_GET['file'];
- $connection = ssh2_connect($ip, $port);
- ssh2_auth_password($connection, $user, $pass);
- if(ssh2_scp_recv($connection, $remDir.$file, $file))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement