Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $header = "
- ___ _
- _______ _ __ / _ \ __| | __ _ _ _
- |_ / _ \ '__| | | |/ _` |/ _` | | | |
- / / __/ | | |_| | (_| | (_| | |_| |
- /___\___|_| \___/ \__,_|\__,_|\__, |
- |___/
- -[ BOT BIGtoken Auto Verified ]- ". PHP_EOL;
- $email = array(
- 'host' => '{imap.gmail.com:993/imap/ssl/novalidate-cert}INBOX',
- 'password' => 'password'
- );
- $read = imap_open($email['host'],$email['username'],$email['password']);
- $array = imap_search($read,'SUBJECT "BIGtoken" UNSEEN');
- if($array==null){
- echo $header;
- echo PHP_EOL. '[+] Link Token Not Found!'. PHP_EOL;
- }else{
- echo $header;
- foreach($array as $a){
- $header = imap_header($read, $a);
- $html = imap_qprint(imap_fetchbody($read, $a, 1));
- $dom = new DOMDocument;
- @$dom->loadHTML($html);
- $links = $dom->getElementsByTagName('a');
- $link = $links[1]->getAttribute('href')."\n";
- file_put_contents('link.txt', $target, FILE_APPEND | LOCK_EX);
- echo PHP_EOL. '[+] Link Found => ' .$target. PHP_EOL;
- echo '[+] Open Site & Verified Email...'. PHP_EOL;
- $ch = curl_init($link);
- curl_setopt($ch, CURLOPT_NOBODY, 1);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
- curl_setopt($ch, CURLOPT_AUTOREFERER, 1);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_HEADER, false);
- curl_setopt($ch, CURLOPT_AUTOREFERER, true);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 0);
- curl_setopt($ch, CURLOPT_TIMEOUT, 500);
- curl_setopt($ch, CURLOPT_MAXREDIRS, 10);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
- curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36");
- curl_exec($ch);
- $target = curl_getinfo($ch, CURLINFO_EFFECTIVE_URL);
- echo '[+] Email Has Been Verified!'. PHP_EOL;
- echo '******'. PHP_EOL;
- curl_close($ch);
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment