Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.31 KB | None | 0 0
  1. $user = "tf";
  2. $pass = "04BBGWWUOM";
  3. $ip = "213.8.254.148";
  4. $port = 747;
  5. $remDir = "srcds/tfgather/orangebox/tf/";
  6. $localDir = "./";
  7.  
  8.  
  9.         $file = $_GET['file'];
  10.         $connection = ssh2_connect($ip, $port);
  11.         ssh2_auth_password($connection, $user, $pass);
  12.        
  13.         if(ssh2_scp_recv($connection, $remDir.$file, $file))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement