forked from worldbins1/cc-checker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
190 lines (179 loc) · 6.97 KB
/
index.php
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<head>
<title>☄ strípє ¢нє¢кєя ☄</title>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body>
                         
<center>
<div class="row col-md-12">
<div class="card border-dark card text-white bg-light col-sm-8">
<div class="card-body text-primary">
<center><span>
<h1 class="col-md-10">「sᴛʀɪᴘᴇ ᴄʜᴇᴄᴋᴇʀ ⍉ Authorize」</h1>
</span></center>
<div class="md-form">
<div class="col-md-12">
<br>
<textarea id="lista" style="width: 600px;height: 300px;resize: none;background-color:white transparent;border: 1px solid black;color:black; "></textarea>
</div>
<br>
</div>
<center>
<button class="btn btn-warning" style="width: 200px; outline: none;" id="testar" onclick="enviar()">✔ Start </button>
          
<button class="btn btn-danger" style="width: 200px; outline: none;">✘ Stop </button>
</center>
<br>
</div>
</div>
                 
<div class="card border-dark card text-white bg-light col-sm-3">
<div class="card-body text-Dark">
<h2 class="text-primary col-md-13">⤛ιиfσямαтισиѕ⤜</h2>
  
<ul class="list-group">
<li style="font-weight: bold;" class="list-group-item d-flex justify-content-between align-items-center">
Approved<i class="material-icons orange600">input</i>
<span id="cLive" class="badge badge-pill badge-success">0</span>
</li>
<br>
<h10>
  
<ul class="list-group">
<li style="font-weight: bold;" class="list-group-item d-flex justify-content-between align-items-center">
Declined<i class="material-icons orange600">input</i>
<span id="cDie" class="badge badge-pill badge-danger">0</span>
</li>
<br>
<h10>
  
<ul class="list-group">
<li style="font-weight: bold;" class="list-group-item d-flex justify-content-between align-items-center">
Checked <i class="material-icons orange600">input</i></span>
<span id="total" class="badge badge-pill badge-secondary">0</span>
</li>
<br>
<h10>
  
<ul class="list-group">
<li style="font-weight: bold;" class="list-group-item d-flex justify-content-between align-items-center"></span>
Total Cards<i class="material-icons orange600">input</i>
<br>
<h10>
<span id="carregadas" class="badge badge-pill badge-dark">0</span>
</li>
<br>
<div class="card-body">
</div>
</div>
</div>
</div>
<br>
<div class="col-md-12">
<br>
<div class="card border-success mb-3 card bg-light">
<div class="card-body text-success">
<div style="position: absolute;
top: 0;
right: 0;">
</div>
<h6 style="font-weight: bold;" class="card-title">Approved <span id="cLive2" class="badge badge-info">0</span></h6>
<div id="bode">
</div>
<span id=".aprovadas" class="aprovadas"></span>
</div>
</div>
</div>
</div>
<br>
<div class="col-md-12">
<br>
<div class="card border-danger mb-3 card bg-light">
<div class="card-body text-danger ">
<div style="position: absolute;
top: 0;
right: 0;">
</div>
<h6 style="font-weight: bold;" class="card-title">Declined <span id="cDie2" class="badge badge-info">0</span></h6>
<div id="bode2">
</div>
<span id=".reprovadas" class="reprovadas"></span>
</div>
</div>
</div>
</div>
</div>
</h7>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#bode").hide();
$("#esconde").show();
$('#mostra').click(function() {
$("#bode").slideToggle();
});
});
</script>
<script title="ajax do checker">
function enviar() {
var linha = $("#lista").val();
var linhaenviar = linha.split("\n");
var total = linhaenviar.length;
var ap = 0;
var rp = 0;
linhaenviar.forEach(function(value, index) {
setTimeout(
function() {
$.ajax({
url: 'api.php?lista=' + value,
type: 'GET',
async: true,
success: function(resultado) {
if (resultado.match("#Aprovada")) {
removelinha();
ap++;
aprovadas(resultado + "");
} else {
removelinha();
rp++;
reprovadas(resultado + "");
}
$('#carregadas').html(total);
var fila = parseInt(ap) + parseInt(rp);
$('#cLive').html(ap);
$('#cDie').html(rp);
$('#total').html(fila);
$('#cLive2').html(ap);
$('#cDie2').html(rp);
}
});
}, 2500 * index);
});
}
function aprovadas(str) {
$(".aprovadas").append(str + "<br>");
}
function reprovadas(str) {
$(".reprovadas").append(str + "<br>");
}
function removelinha() {
var lines = $("#lista").val().split('\n');
lines.splice(0, 1);
$("#lista").val(lines.join("\n"));
}
</script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.4/umd/popper.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.5.11/js/mdb.min.js"></script>
</body>
<br>
<footer>
<div class="footer-copyright text-center py-3">
<br>
<h4>Systems: <span class="badge badge-success">ONLINE</span></h4>
</div>
</h7>
</footer>
</html>