1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

GSA Website Submitter - Anybody Have An Email Link Clicker/Verifier?

Discussion in 'Black Hat SEO' started by cypionate, Nov 21, 2009.

  1. cypionate

    cypionate Power Member

    Joined:
    Jun 13, 2008
    Messages:
    659
    Likes Received:
    691
    GSA Website Submitter seems to be decent because it's automated, but you still have to go into your email, click the links, follow the link, and click the Submit button.

    Does anybody have a script that parses these emails and clicks the links in the emails for you? I will be here all night long doing this.... ughh... :yield:

    Cyp
     
  2. flixxx

    flixxx Registered Member

    Joined:
    Jun 17, 2009
    Messages:
    59
    Likes Received:
    15
    Senuke has a built-in feature to visit the confirmation links in the emails. Look for SEnuke in the downloads section. Hope this helps ...
     
  3. flixxx

    flixxx Registered Member

    Joined:
    Jun 17, 2009
    Messages:
    59
    Likes Received:
    15
    ... and here is the proof :)

    [​IMG]
     
  4. Crooker

    Crooker Newbie

    Joined:
    Jun 1, 2009
    Messages:
    0
    Likes Received:
    483
    Code:
    /* connect to gmail */
    $hostname = '{imap.gmail.com:993/imap/ssl}INBOX';
    $username = 'you@gmail.com';
    $password = 'password';
    
    /* try to connect */
    $inbox = imap_open($hostname,$username,$password) or die('Cannot connect to Gmail: ' . imap_last_error());
    
    /* grab emails */
    $emails = imap_search($inbox,'ALL');
    
    /* if emails are returned, cycle through each... */
    if($emails) {
    	
    	/* begin output var */
    	$output = '';
    	
    	/* put the newest emails on top */
    	rsort($emails);
    	
    	/* for every email... */
    	foreach($emails as $email_number) {
    		
    		/* get information specific to this email */
    		$overview = imap_fetch_overview($inbox,$email_number,0);
    		$message = imap_fetchbody($inbox,$email_number,2);
    		
    		/* output the email header information */
    		$output.= '<div class="toggler '.($overview[0]->seen ? 'read' : 'unread').'">';
    		$output.= '<span class="subject">'.$overview[0]->subject.'</span> ';
    		$output.= '<span class="from">'.$overview[0]->from.'</span>';
    		$output.= '<span class="date">on '.$overview[0]->date.'</span>';
    		$output.= '</div>';
    		
    		/* output the email body */
    		$output.= '<div class="body">'.$message.'</div>';
    	}
    	
    	echo $output;
    } 
    
    /* close the connection */
    imap_close($inbox);
    This little snippet can retrieve mail from gmail .
    Instead echoing the $output try using preg_match to find href links in $output.

    then output the links in html with an id using a foreach loop.
    At the end of the loop use the html onclick function to create one button.
    Bind the one button to the link id you gave earlier.
    Click on the button and all the links are clicked at ones.

    Don't forget to close the connection with gmail.

    Good Luck.
     
    Last edited: Nov 27, 2009
  5. dchuk

    dchuk Newbie

    Joined:
    Mar 11, 2009
    Messages:
    19
    Likes Received:
    1
    I have been working on a script that parses out all of the links in a mailbox and then follows them all with cURL but I'm intrigued by your method. I tried searching around for how to find the onClick function to all of the links but came up with nothing.

    Can you share the code for the last part of this please? If you do, I can complete my script and post up the whole package to here for people to use in the future...