Kodi Community Forum

Full Version: Posts Containing the Word sleep( Trigger CloudFlare Security
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
In a post of mine in another thread I was trying to post an exmple of some innocent code

2379924 (post)

However CloudFlare keeps blocking the post if I put the following in it:

sl*ep(

with the '*' replaced with an 'e'

Me thinks something isn't quite right there Smile

Image
sleep
(2016-07-24, 21:22)ronie Wrote: [ -> ]sleep


With a bracket?
.sleep(

Yep works now!

But definitely didn't earlier, how else did I get the screenshot Smile

Might as well delete thread now then Smile
Put something before sleep and it will trigger the block.
some sleep?
sleep(
Seems okay for me now Smile

But it definitely wasn't yesterday morning Smile
What is perhaps more interesting is that clearly the forum/site has the functionality to block post containing certain words.

Which begs the question why isn't this feature used to block posts relating to banned addons?

It would also be useful for the cloudflare page to report the problematic word(s) as it took me about 15 minutes to work out which it was.
For the love of... look here: http://pastebin.com/raw/UGZChK3s

Those will trigger the block.

As for why it's not used for banned add-ons, because that would be a bad idea. Most of them are using common words or names that often have legitimate uses. Even something like xfinity, which is also a cable TV service. A URL blocklist would be a good idea, though.
I came across this today. Had a post blocked due to including a certain xbmc python method that includes the letters sleep. And there is no way to contact anyone for help except via a forum post that I could find. Fortunately I found this thread or I would assume I was banned from the forum with no recourse.

scott s.
.
Sorry, I'm obviously being really dumb but how do I post some python code that has a sleep command in it if it gets blocked when you put a bracket after it?
(2016-08-18, 08:27)el_Paraguayo Wrote: [ -> ]Sorry, I'm obviously being really dumb but how do I post some python code that has a sleep command in it if it gets blocked when you put a bracket after it?


Put

xbmc.sle*p(1000) #replace * with e

I'd love to know what the reasoning behind censoring that word is!

Does seem intermittent though
No that's not working for me.

I originally had
Code:
from time import sle*p

sle*p(5)
changed that to
Code:
import time

time.sle*p(5)
and then changed that to
Code:
import xbmc

xbmc.sle*p(5000)

Having replaced * with e in all cases. All got blocked.

Are there any other naughty words I shouldn't be using?!
(2016-08-18, 10:34)el_Paraguayo Wrote: [ -> ]No that's not working for me.

I originally had
Code:
from time import sle*p

sle*p(5)
changed that to
Code:
import time

time.sle*p(5)
and then changed that to
changed that to
Code:
import xbmc

xbmc.sle*p(5000)

Having replaced * with e in all cases. All got blocked.


I meant actually put the * in your code example and explain that to compile the * needs to be replaced (exactly what you have done)

This really needs to be addressed by the forum administrators though, as it clearly is an issue!
Pages: 1 2