-4

I have to encode an existing php page to edit it.

Can you help me in it? I'm trying hard to figure it out but it seems it's not so easy as I thought.

Here it is:

eval(strrev(";)))ppa_BF_tiBbeW$(31tor_rts(edoced_46esab(lave@"));
j08691
  • 204,283
  • 31
  • 260
  • 272
Xelfix
  • 17
  • 1
  • 1
  • 6
  • 3
    `strrev` should give you a hint regarding what's going on here... – Jon Oct 16 '12 at 19:44
  • 3
    Replace `eval` with `var_dump`, you get `@eval(base64_decode(str_rot13($WebBit_FB_app)));`. This of course has "malicious script" written all over it. – NullUserException Oct 16 '12 at 19:45

2 Answers2

4

executing strrev function we have: @eval(base64_decode(str_rot13($WebBit_FB_app)));

try to print $WebBit_FB_app variable, then use str_rot13() and base64_decode()

Onur Yıldırım
  • 32,327
  • 12
  • 84
  • 98
ladamalina
  • 56
  • 2
1

Use the base64_decode function http://php.net/manual/en/function.base64-decode.php

 <?php
     $str = 'VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw==';
     echo base64_decode($str);
 ?>
Tom G
  • 3,650
  • 1
  • 20
  • 19