www.i4info.org

i4info Provides the best hacking Material. Latest hacking tutorials and tools are available here. It is the best place for hackers.

Latest topics

» Facebook Account Hacked
Today at 10:14 am by ssameer758

» Teen Patti Gold Hack & 3 Patti Chips Code Extra Bonus 2016
Today at 8:31 am by furqansweet73

» BitCoin Wallet stealor New
Wed Dec 07, 2016 7:46 pm by Admin

» Muhammad Shahroze Rashid | Marketing Consultant
Wed Dec 07, 2016 1:48 pm by Admin

» Muhammad Shahroze Rashid | Sharp Mind, Sharp Innovations
Wed Dec 07, 2016 1:47 pm by Admin

» How to design an effective job ad
Wed Dec 07, 2016 1:45 pm by Admin

» Content Marketing | Promotional Video
Fri Dec 02, 2016 2:45 pm by Admin

» How to start an Online Business | Complete Guide
Fri Dec 02, 2016 2:30 pm by Admin

» Zeeshan Bhatti
Wed Nov 30, 2016 3:18 pm by Admin

December 2016

MonTueWedThuFriSatSun
   1234
567891011
12131415161718
19202122232425
262728293031 

Calendar Calendar

Affiliates


free forum

Forumotion on Facebook Forumotion on Twitter Forumotion on YouTubeForumotion on Google+

Visitors Counter


Flag Counter

About Author

Muhammad Shahroze Rashid
i4info
Web Developer
Web Developer & Designer,Researcher and Technical writer. An Information Security Consultant and System Auditor, a keen Security researcher.
samanabad
lahore, Punjab
54000
Pakistan
[email protected]
03064904829
DOB: 05/25/1992
Muhammad Shahroze Rashid
Muhammad Shahroze Rashid is a Web Developer and Designer, Android Developer, InfoGrapher, IT consultant and Researcher
Reviewed by Google
Google
Date published: 01/19/2016
9 / 10 stars
Muhammad Shahroze Rashid
Muhammad Shahroze Rashid Web Developer & Designer,Researcher and Technical writer. An Information Security Consultant and System Audito
samanabad
lahore
Punjab
54000
Pakistan

Email verified php script

Share

Admin
Admin

Posts : 455
Reputation : 5
Join date : 2014-12-10
Age : 24
Location : Pakistan

Email verified php script

Post by Admin on Wed Mar 04, 2015 7:57 pm

<?php // email address to check $verifyEmail = [email protected]'; // your paypal credentials $loginEmail = ''; $password = ''; if (!isLogin($loginEmail, $password)) { echo 'Login failed'; } else if (isVerified($verifyEmail)) { echo 'Verified'; } else { echo 'Not verified'; } ######################################### function isVerified($verifyEmail) { $url = 'https://www.paypal.com/us/verified/pal='.$verifyEmail; $response = curl_get($url); if(strpos($response, '<td class="emphasis">Verified</td>')) { return true; } else { return false; } } function isLogin($email, $password) { // Get login page $response = curl_get('https://www.paypal.com/us/cgi-bin/webscr?cmd=_login-run'); $postFields = getHiddenFormInputs($response, 'login_form'); if (!$postFields) { return false; } // Post login $postFields['login_email'] = $email; $postFields['login_password'] = $password; $postFields = serializePostFields($postFields); $response = curl_get('https://www.paypal.com/us/cgi-bin/webscr?cmd=_login-submit', $postFields); if(!strpos($response, 'login_cmd=_login-done')) { return false; } else { return true; } } function curl_get($url, $postfields=false) { static $curl; if(empty($curl)) { $cookiejar = 'curl_cookiejar.txt'; @unlink($cookiejar); $curl = curl_init(); curl_setopt($curl, CURLOPT_COOKIEJAR, $cookiejar); curl_setopt($curl, CURLOPT_COOKIEFILE, $cookiejar); curl_setopt($curl, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_HEADER, 1); curl_setopt($curl, CURLOPT_MAXREDIRS, 5); curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1); } curl_setopt($curl, CURLOPT_URL, $url); if(stripos($url, 'https')!==false) { curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0); } if ($postfields) { curl_setopt($curl, CURLOPT_POST, 1); curl_setopt($curl, CURLOPT_POSTFIELDS, $postfields); } $response = curl_exec($curl); return $response; } function getHiddenFormInputs($html) { if(!preg_match('|<form[^>]+login_form[^>]+>.*</form>|Usi', $html, $form)) { return ''; } if(!preg_match_all('/<input[^>]+hidden[^>]*>/i', $form[0], $inputs)) { return ''; } $hiddenInputs = array(); foreach($inputs[0] as $input){ if (preg_match('|name\s*=\s*[\'"]([^\'"]+)[\'"]|i', $input, $name)) { $hiddenInputs[$name[1]] = ''; if (preg_match('|value\s*=\s*[\'"]([^\'"]*)[\'"]|i', $input, $value)) { $hiddenInputs[$name[1]] = $value[1]; } } } return $hiddenInputs; } function serializePostFields($postFields) { foreach($postFields as $key => $value) { $value = urlencode($value); $postFields[$key] = "$key=$value"; } $postFields = implode($postFields, '&'); return $postFields; } ?>

    Current date/time is Sun Dec 11, 2016 10:58 am