Feed "vec" to Super Search. It will tell you princepawn's scratch pad contains the string. Attempt to see said scratch pad. You will find that pad is not public.
I'd offer to fix this, except that I'm about to write a node on vectors. I'd also happily file an rt ticket or somesuch, but I didn't really see anywhere appropriate to do anything like that.
brother dep
Re: Super Search searches scratchpads which are not public
by ambrus (Abbot) on Jun 12, 2004 at 13:35 UTC
|
You can use this feature to find out the full text of
the private scratchpad.
For example, if you want to know what follows "vec" in
princepawn's scratchpad, you super-search the scratchpad for
"veca", "vecb", ... putting each character after vec.
This is very slow, so don't do it unless you really need to.
It also sucks because the search is case-sensitive.
I tried this just to test that it works.
It turns out that princepawn's scratchpad contains
"$vector, 1, rand(2" (some letters may be ucased):
super-search proves it.
I did the search with a little script that tries every character automatically
(some think there are 2**31 characters).
To find out the next character, just try (Update: readmored code)
Beware, this takes some time to finish. Some guesswork can help (I guessed that "or" would follow "vact").
| [reply] [d/l] [select] |
|
| [reply] |
Re: Super Search searches scratchpads which are not public
by saskaqueer (Friar) on Jun 12, 2004 at 08:28 UTC
|
| [reply] |
|
Or maybe just nobody commented. (: Did anyone notice that scratchpads had a lot of changes done to them recently? The work isn't finished. This particular problem is well known and as the work for these changes progresses, this problem will go away.
Update: About one day later and most of the kinks are removed from scratchpads (mostly due to demerphq's diligence, again, it appears -- though I don't mean to not credit others who may have helped, ysth probably being one) including preventing private scratchpads from having their contents subject to search. And I managed to change Super Search to allow the 'scratchpad' box to be checked.
| [reply] |
Re: Super Search searches scratchpads which are not public
by Zaxo (Archbishop) on Jun 12, 2004 at 04:07 UTC
|
What's the problem? You get to know that princepawn has an interest, and he gets the privacy. If he doesn't respond to a /msg, you can at least look at his nodes for a clue.
| [reply] |
|
Well, with regex searches, and enough hits to the host, you could use binary searching to figure out the exact text of the scratchpad. Presuming printables (and newline) only, it'd take only 6 or 7 hits per character you wanted to guess. Look for /^[a-m]/ and if that fails, look for /^[n-z]/, otherwise look for /^[a-h]/ and so on. As you get each letter, you add it to the beginning: /^v[a-m]/.
So, yes, this is a leak, but a slow leak.
Hmm. That'd be an interesting article about why not to allow regex searches
against text you can't eventually see. >>todo.
| [reply] [d/l] [select] |
|
| [reply] |
|
|
|
|