This is either awesome, or worrisome... December 31, 2022, 04:53:07 pm QuoteOnline Now: 450 Guests, 2 Users (0 Buddies)This is not something I usually see here.Hoping it's nothing to worry about.Tagging @Spuds on it, though.
Re: This is either awesome, or worrisome... Reply #1 – December 31, 2022, 06:43:18 pm Down to 389 "wabbits" now...
Re: This is either awesome, or worrisome... Reply #2 – December 31, 2022, 07:40:27 pm Was down to 377, now back to 392.. they're multiplying like .... wabbits..
Re: This is either awesome, or worrisome... Reply #3 – December 31, 2022, 07:56:37 pm Since I'm unable to see their IP's, I can't really do more to find out what they are.Seems a lot look at "restoretopic;msgs="Those must be spiders, or something.
Re: This is either awesome, or worrisome... Reply #4 – December 31, 2022, 09:57:01 pm Just bots slurping, or trying to. This site show 408 right now. Not sure what restoretopic is ATM but I'll look. The majority are Code: [Select]SP Huawei International Pte. Ltd.Usage Type Search Engine SpiderHostname(s) petalbot-114-119-xxx-xxx.petalsearch.comDomain Name huawei.comSo you could block those server level or perhaps robot.txt if they respect.
Re: This is either awesome, or worrisome... Reply #5 – January 01, 2023, 11:10:42 am Thanks to @Burke_Knight we found us aIn the guest topic view, the restore topic link was exposed (on each message) so the bots were sucking that up and trying to follow. Of course the link did not work, but it should not have appeared either.Now why is another old saga but originates in PHP's loose type casting where (int) 0 = (bool) false unless you do strict comparison. In 1.1 and even more in 2.0 we have been more strict to avoid any loop holes which could be exploited. In 2.0 those display template buttons were redone so they were created in the source code (lots of permission checks and other conditionals) not in the templates. Any invalid buttons are dropped and the rest shown by the template. Invalid buttons were ones that had a false permission (strictly speaking)The error, which must go back to 1.0 and before, was along the lines of (pseudo)Code: [Select]$a = false;$a &= other condition && condition;if ($a === false) drop itNow don't let that &= fool you into thinking that is a logical operator, its a bitwise operator so the result will be an int 0 or int 1 not a boolean. It takes booleans (in this case) and returns and int. Prior to being strict this was OK, but the updated function did not consider 0 = false. Interestingly doing $a = $a && bla; is faster than $a &= bla at least for cases where $a is already false on entry, plus why mangle the boolean (in this instance)Fixed on the site so the bots don't see a bogus link.
Re: This is either awesome, or worrisome... Reply #6 – January 01, 2023, 01:56:32 pm I'm now on GitHub again, if want to mention me. LOLhttp://github.com/Burke-Knight
Re: This is either awesome, or worrisome... Reply #7 – January 01, 2023, 02:43:04 pm Quote from: Spuds – January 01, 2023, 11:10:42 am-=snip=-Now don't let that &= fool you into thinking that is a logical operator, -=snip=-Well that hung ME up.. yea, overlooked that completely.. (Is there a sarcasm font?) Quote from: Spuds – January 01, 2023, 11:10:42 amFixed on the site so the bots don't see a bogus link.Maybe shoulda left it for awhile and give the search engine coders something to work on in the new year so when they "let the dogs out" the bots don't "tree the bug", obsess on it barking all night, and move on to other sites instead.
Re: This is either awesome, or worrisome... Reply #8 – January 01, 2023, 05:30:53 pm <- I should add an acronym for that, but that is what is considered sarcasm, I prefer (get yer mind out of the gutter !)
Re: This is either awesome, or worrisome... Reply #9 – January 01, 2023, 06:32:54 pm No way ... My mind is perfectly happy in the gutter..