Changeset 3261767
- Timestamp:
- 03/25/2025 07:43:55 PM (12 months ago)
- Location:
- sackson-web-data/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (2 diffs)
-
includes/class-sacksonweb-data-gravity-forms-spam-filter.php (modified) (4 diffs)
-
sacksonweb-data.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sackson-web-data/trunk/README.txt
r3257404 r3261767 5 5 Requires at least: 3.0.1 6 6 Tested up to: 6.7.1 7 Stable tag: 2. 1.97 Stable tag: 2.2.0 8 8 Requires PHP: 8.0.30 9 9 License: GPLv2 or later … … 52 52 53 53 == Changelog == 54 55 = 2.2.0 = 56 * More spam phrases added for Gravity Forms spam filter. 57 * Fixing a missing apostrphe character in Javascript which would in turn cause a display issue after submitting a Gravity Form. 54 58 55 59 = 2.1.9 = -
sackson-web-data/trunk/includes/class-sacksonweb-data-gravity-forms-spam-filter.php
r3257404 r3261767 13 13 */ 14 14 15 class Sackson web_Data_GravityFormsSpamFilter {15 class SacksonWeb_Data_GravityFormsSpamFilter { 16 16 17 17 private $send_spam_to = 'spam@sacksonweb.com'; 18 private $trending_spam_strings = [ 19 // AI / Automation / Tech Buzz 20 'AI-powered', 21 'AI automation for your business', 22 'No-code automation', 23 'AI SEO tool', 24 'ChatGPT content writing', 25 'fully automated lead gen', 26 'autopilot income', 27 28 // Crypto / Financial 29 'crypto payout', 30 'USDT wallet', 31 'instant bitcoin transfer', 32 'TRC20 address', 33 'crypto rewards', 34 'DeFi staking platform', 35 36 // Common scammy hooks 37 'your site is losing traffic', 38 'I tried to call you', 39 'your business is missing out', 40 41 42 // Marketing fluff / offer spam 43 'skyrocket your sales', 44 'generate qualified leads', 45 'done-for-you funnel', 46 'exclusive limited-time offer', 47 'zero upfront cost', 48 'new clients guaranteed', 49 'viral content strategy', 50 'leads on demand', 51 52 // Testimony-based trick phrases 53 'after using this tool, I saw amazing results', 54 'real users report a 200% traffic increase', 55 'my revenue doubled after working with them', 56 57 // Clean-up & recovery bait 58 'clean up your toxic backlinks', 59 'negative SEO recovery', 60 'fix Google penalties', 61 62 // Obfuscated examples (optional) 63 'G00gle', 64 'cli.ck here', 65 'cl1ck here', 66 'AI-pow3red', 67 ]; 68 18 69 private $spam_strings = [ 'sales opportunity', 'janitorial quote', 'disinfection needs', 'System4', 'SEO-audit', 'search engine rankings', 19 70 'search engine', 'backlinks', 'badlinks', 'visitors daily', 'cutt.ly', 'AI powered traffic', 'website loads faster', … … 101 152 'Your business could be missing out', 'turnerfisher348382@gmail.com', 'saya ingin', 'Johndip', 'without the hassle of hiring', 'we provide Virtual Assistants', 102 153 'hireonline556600@outlook.com', 'TikTok for real leads', 'Ready to make TikTok', 'TikTok leads', 'TikTok for real leads', 'milano.annabelle@outlook.com', 103 'support@typingagent.com' 104 105 154 'support@typingagent.com', 'can you send us your full offer', 'Please send me message on Whatsapp', 'e-commerce specialist', 155 'venture4help', 'TikTok for authentic', 'Try our service free', 'AI growth service', 'Franchise Development', 'Franchise Creator', 'Schedule your call here', 156 '0nline casino', 'bonus777', 'et your bonus' 106 157 ]; 107 158 // AFS, … … 118 169 119 170 if (!empty($message)){ 120 echo "<script>console.log( Message was not emtpy');</script>";171 echo "<script>console.log('Message was not emtpy');</script>"; 121 172 } 122 173 123 174 if (!empty($message)) { 124 foreach ($this->spam_strings as $spam_string) { 125 if (strpos(strtolower($message),strtolower( $spam_string)) !== false) { 175 $all_spam_strings = array_merge($this->spam_strings, $this->trending_spam_strings); 176 foreach ($all_spam_strings as $spam_string) { 177 //if (strpos(strtolower($message),strtolower( $spam_string)) !== false) { 178 if (str_contains(strtolower($message), strtolower($spam_string))) { /* PHP 8.0+ */ 126 179 127 180 $notification['to'] = $this->send_spam_to; … … 129 182 130 183 // return $notification; 131 return false; // Prevents the email from being sent184 return null; // Prevents the email from being sent 132 185 } 133 186 } -
sackson-web-data/trunk/sacksonweb-data.php
r3257404 r3261767 10 10 * 11 11 * @link http://data.sacksonweb.com/author 12 * @since 2. 1.912 * @since 2.2.0 13 13 * @package Sacksonweb_Data 14 14 * … … 17 17 * Plugin URI: http://data.sacksonweb.com 18 18 * Description: A tool to monitor security issues, performance issues, and Wordpress settings that should be changed. 19 * Version: 2. 1.919 * Version: 2.2.0 20 20 * Author: Eric Thornton 21 21 * Author URI: http://data.sacksonweb.com/author … … 35 35 * 36 36 */ 37 define( 'SACKSONWEB_DATA_VERSION', '2. 1.9' );37 define( 'SACKSONWEB_DATA_VERSION', '2.2.0' ); 38 38 39 39 /**
Note: See TracChangeset
for help on using the changeset viewer.