Guest User

Untitled

a guest
Apr 22nd, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. header('Content-Type: application/xml');
  2. $ch = curl_init();
  3. curl_setopt($ch, CURLOPT_URL, "https://www.xxxxxx.com/api.php?action=auth&user=xxxx&pass=xxxx");
  4. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
  5. curl_setopt($ch, CURLOPT_RETURNTRANSFER, FALSE);
  6. curl_exec($ch);
  7. curl_close($ch);
  8.  
  9. curl -k 'https://www.xxxxx.com/api.php?action=auth&user=xxxx&pass=xxxx'
Add Comment
Please, Sign In to add comment