premchai21 has asked for the wisdom of the Perl Monks concerning the following question:
I had just finished building an obfuscation using nested eval for the Obfuscation section, however when I attempted to run it, it refused to work, giving me the syntax errors:
Scalar found where operator expected at metaobfu line 3, near "]$_"
(Missing operator before $_?)
Scalar found where operator expected at metaobfu line 4, near "]$_"
(Missing operator before $_?)
Bareword found where operator expected at metaobfu line 4, near "s$_1$_3join
$_"
Scalar found where operator expected at metaobfu line 4, near "]$_"
(Missing operator before $_?)
Scalar found where operator expected at metaobfu line 4, near "]$_"
(Missing operator before $_?)
Scalar found where operator expected at metaobfu line 4, near "]$_"
(Missing operator before $_?)
Scalar found where operator expected at metaobfu line 4, near "]$;"
(Missing operator before $;?)
Backslash found where operator expected at metaobfu line 4, near "$;\"
(Missing operator before \?)
Backslash found where operator expected at metaobfu line 4, near "$;\"
(Missing operator before \?)
Scalar found where operator expected at metaobfu line 4, near "$_$_"
(Missing operator before $_?)
Backslash found where operator expected at metaobfu line 4, near "]\"
(Missing operator before \?)
Scalar found where operator expected at metaobfu line 4, near "$_$_"
(Missing operator before $_?)
Number found where operator expected at metaobfu line 4, near "]1"
(Missing operator before 1?)
Scalar found where operator expected at metaobfu line 4, near "1$_"
(Missing operator before $_?)
syntax error at metaobfu line 3, near "{="
syntax error at metaobfu line 24, near "}"
Execution of metaobfu aborted due to compilation errors.
The code follows:
$_='';s//Z/eeeee;print; sub Z{ return <<Z; local ($),$(,$;,@_) = (qw/[ ] ( ) ' ; ,/, ' '); sprintf '%s', <<EOF; my \$z=$_[1]}\@$)$(_ \"a\$bc%e$;fg$_[0]*+i$_[3]-k.lm/0n1o2p3q4r5s6tuvw +xy$_[2]{=$_[1]$_[2] sprintf$_[4]$_[1]%s$_[1]$_[3]join$_[4]$_[1]$_[1]$_[3]$;map{substr$;\$z +,length$;\$_$_[0]+$_[4]\$_$_[3]1$_[0] } ( qw^20!! 28$_[4]setsockopt reverse 20!! 4est om 40eight, oomphasaurus-ish-li-nessmen 44 23 43 J 26bumblebees 40eight, 0000000000000000000000000000000000 23twenties-in-a-row$_[3]^$_[0]$_[3] $_[1]$;s$_[4]tr s'$_[3]$_[4]map { substr$;\$_$_[3]0,2) } ('ubbidubbi', +'$_[4]tingle',$_[4]'men$_[1]$_[3] 'r stage', 'reputation', $_[1]verse$_[1]$_[3]$_[1]rst$_[4]packet','e = + mc**2'$_[3]$_[1]symball', 'swastika', 'risc processor', 'tenable', ' log', 'can', 'lt', 'imp', 'e = 2.7182818...', 'sending...', 'tsunami', 'ocarina', 'ko', $_[1]pterodactyl$_[1]$_[3]$_[1] gone$_[1]$_[3]$_[1]etymology$_[1],$_[1 +]pens'$_[3]'erbium$_[1],'natrium', 'megadodo$_[1]$_[3]' ghastly$_[1]$_[3]'etcetera', 'nepotism', 'tb', 'y +n whoosh', 'amtrak', $_[1]e$_[0]$_[1]$_[0]$_[3]map{return\$_ unless /^$;$)a-z$({2 +}$_[0]/; scalar reverse$_[4]\$1$_[4]}$;$_[1]; $_[1],'rp','ni','ft','$;q','q/','%s',' / +x3 . \"', $_[1]%s;\"$_[3]$_[1]$_[3]$_[1]pam } $(_\$$)s\$$_[4]{$_[4]pam$_[1]$_[3] +$_[1]{$_[1]$_[0],map{ sprintf\"$;%s$_[0]*$;\\\$_**%2$_[0]+\"}( $)$_[1]-5/3$_[1]$_[3]$_[4]$_[4]$_[4]'3'$($_[3]\['11','2'\]$_[3]\['-61/ +3'$_[3]$_[1]1$_[1]$(,$)'16$_[1],$_[1]0'$($_[0],'0}1..4$_[0]',';'); EOF Z }
Is there any help to be found, or am I just loony and/or forgetful?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Meta-meta-meta-meta-obfuscation... ...that doesn't work.
by japhy (Canon) on Jun 01, 2001 at 09:08 UTC | |
by premchai21 (Curate) on Jun 01, 2001 at 19:36 UTC |