Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Brute Force JAPH

by davido (Archbishop)
on Sep 03, 2003 at 00:37 UTC ( #288468=obfuscated: print w/replies, xml ) Need Help??

The left hand doesn't know what the right one is doing in this JAPH. Fortunately computers are good for brute force attacks.

The obfuscation may be trivial to the resident experts, but the way it turns out when run was worth the fun of writing this JAPH.

Here it is:

@l=split??,q?Kvtu bopuifs Qfsm ibdlfs.?;while(!$s){for($s=0;$s< @l;$s++){if(!$m[$s]){$y=$c[$s]=chr int rand(92)+28;$y=~ y?A-Za-z?B-ZAb-za?;$m[$s]=$l[$s]eq$y?$i:0}}print++$i,qq?\t?,@c,$/; $s=$_?$s:0for@m}

Enjoy!!!

Dave

"If I had my life to do over again, I'd be a plumber." -- Albert Einstein

Replies are listed 'Best First'.
Re: Brute Force JAPH
by ambrus (Abbot) on Oct 09, 2012 at 20:40 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: obfuscated [id://288468]
Approved by ybiC
help
Chatterbox?
[karlgoethebier]: Good morning
[Discipulus]: good morning vietnam!
[Discipulus]: but there is some perl workshop somewhere? I notice many high level monks disappeared.. we can make PM a squat in the meantime ;=)
[karlgoethebier]: Discipulus: Mmh, who disappeared?
[marto]: morning all
[shmem]: perl -lE '$_="odd mornin";($o=$_)=~ s/^|$/g/g;say$o'

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2017-06-27 08:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (600 votes). Check out past polls.