Jan 26, 2022 03:57 PM
(This post was last modified: Jan 26, 2022 04:01 PM by Professional Hacker.)
i have a php IMAP code i wrote that makes me manually type in my email and password to validate/authenticate, if i input wrong password it gives me "not connect" if i type in my right password it displays "CONNECT"
so what i needed is this i don't want to be manually typing it myself again i need a help with fixing the script for it to do the work automatically that i have my email:password like this in a log.txt in this format below for example E.g
[email protected]:password1
[email protected]:password2
[email protected]:password3
[email protected]:password4
[email protected]:password5
[email protected]:password6
[email protected]:password7
[email protected]:password8
[email protected]:password9
[email protected]:password10
[email protected]:password11
[email protected]:password12
so if i run the imap.php script on browser it checks them automatically line by line till it finishes gives me "good.txt" for authenticated login that connects and "bad.txt" for bad login / error login
Note: i want the imap server in quote "" to remain the same
make $domcom grab the domain part in each line of the txt and post/replace it on the imap server line for checking each lines
PHP Code
<?
$email = $_REQUEST['email'];
$domcom = trim(strstr($email, '@'), '@');
$mbox = imap_open("{mail.$domcom:993/imap/ssl/novalidate-cert/notls}", "[email protected]", "password");
if ($mbox == true) {
echo "CONNECT";
}
else {
echo "NOT CONNECT";
}
?>[email protected]:password1
[email protected]:password2
[email protected]:password3
[email protected]:password4
[email protected]:password5
[email protected]:password6
[email protected]:password7
[email protected]:password8
[email protected]:password9
[email protected]:password10
[email protected]:password11
[email protected]:password12
so if i run the imap.php script on browser it checks them automatically line by line till it finishes gives me "good.txt" for authenticated login that connects and "bad.txt" for bad login / error login
Note: i want the imap server in quote "" to remain the same
PHP Code
<?php
{mail.$domcom:993/imap/ssl/novalidate-cert/notls}
make $domcom grab the domain part in each line of the txt and post/replace it on the imap server line for checking each lines
[*] Everyone has a will to WIN but very few have the will to prepare to WIN [*]

