Changeset 990392
- Timestamp:
- 09/15/2014 06:35:58 PM (12 years ago)
- Location:
- fraud-gmail-filter/trunk
- Files:
-
- 2 edited
-
fraud_gmail.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fraud-gmail-filter/trunk/fraud_gmail.php
r989066 r990392 4 4 Plugin URI: http://saiful.im/fraud-gmail 5 5 Description: Fraud Gmail / Clone Gmail / Doteted Gmail Filter For Registration. 6 Version: 0.0. 16 Version: 0.0.2 7 7 Author: Saiful Islam 8 8 Author URI: http://saiful.im/ … … 11 11 function fraud_gmail($user_email) 12 12 { 13 $user_email = strtolower($user_email); 13 14 $data = explode('@', $user_email); 14 15 if(count($data)===2) 15 16 { 16 17 if(preg_match("/gmail(.*)/", $data[1])) 17 if(preg_match("/g(oogle)?mail(.*)/", $data[1], $ext)) 18 18 { 19 19 $trick = explode('+', $data[0]); … … 22 22 $data[0] = $trick[0]; 23 23 } 24 $user_email = str_replace(array('.','+'), '', $data[0]).'@ '.$data[1];24 $user_email = str_replace(array('.','+'), '', $data[0]).'@gmail'.$ext[2]; 25 25 } 26 26 } -
fraud-gmail-filter/trunk/readme.txt
r989066 r990392 13 13 == Description == 14 14 15 Gmail doesn t recognize dots as characters within usernames (email). So when one register with a email like `saiful@gmail.com` He can register in your wordpress site using same email just by using some of Gmails Trick.15 Gmail doesn't recognize dots as characters within usernames (email). So when one register with a email like `saiful@gmail.com` He can register in your wordpress site using same email just by using some of Gmail's Trick. 16 16 17 * Append a plus `( +)` sign and any combination of words or numbers after your email address. For example, if your name was `saiful@gmail.com`, you could send mail to `saiful+islam@gmail.com` or `saiful+lol@gmail.com`.18 * Insert one or several dots `( .)` anywhere in your email address. Gmail doesnt recognize periods as characters in addresses we just ignore them. For example, you could tell people your address was `saiful@gmail.com`, `saiful.islam@gmail.com` or `s.a.i.f.u.l@gmail.com`. (We understand that there has beensome confusion about this in the past, but to settle it once and for all, you can indeed receive mail at all the variations with dots.)17 * Append a plus `("+")` sign and any combination of words or numbers after your email address. For example, if your name was `saiful@gmail.com`, you could send mail to `saiful+islam@gmail.com` or `saiful+lol@gmail.com`. 18 * Insert one or several dots `("+")` anywhere in your email address. Gmail doesn't recognize periods as characters in addresses we just ignore them. For example, you could tell people your address was `saiful@gmail.com`, `saiful.islam@gmail.com` or `s.a.i.f.u.l@gmail.com`. 19 19 20 20 I decided to solve this issue , so i wrote a plugin which prevent bad guys from using same mail for registration. I wish you guys enjoy this plugin. … … 25 25 1. Upload `fraud_gmail.php` to the `/wp-content/plugins/` directory 26 26 2. Activate the plugin through the 'Plugins' menu in WordPress 27 28 == Changelog == 29 30 = 0.0.2 = 31 * New Method Added for `googlemail`. 32 * Case filter added 33 34 = 0.0.1 = 35 * First release.
Note: See TracChangeset
for help on using the changeset viewer.