Advertisement
harriepradana

VNC

Mar 15th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. <?php
  2.  
  3. $url = '143.107.114.10';
  4. $port = 5901;
  5.  
  6.  
  7. $data = 'remoteAddress='.$url.'&portNumber='.$port;
  8.  
  9. // CURL MAIN
  10.  
  11. $ch = curl_init();
  12. curl_setopt($ch, CURLOPT_URL, 'https://ports.yougetsignal.com/check-port.php');
  13. curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  14. curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
  15. $x = curl_exec($ch);
  16.  
  17. echo $x;
  18.  
  19. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement