decode function: eval gzinflate base64_decode str_rot13
August 17th, 2006 by admin
es gibt ja so einige php scripte die aus irgendwelchen gründen "verschlüßelt" sind.
ein paar einfache methoden wären z.b.:
eval(gzinflate(base64_decode('FZ3HjuvQlUV...xyz')));
und
eval(gzinflate(str_rot13(base64_decode('FZ3HjuvQlUV...xyz'))));
das zu entschlüßeln ist eigentlich nicht schwer. meist reicht es schon "eval" mit "echo" oder "die" zu ersetzen.
aber in meinem fall war das ganze mit beiden methoden und recursiv verschlüßelt. tja und mit hand das ganze 100 mal durchgehen ist auch doof. also hab ich hier mal ne kleine funktion die das für euch macht.
ich denke damit sollte jeder klar kommen. wenn nicht einfach kommentar ablassen.
-
function decode($text_org)
-
{
-
if($text==false)
-
{
-
}
-
$start1 = '?><? eval(gzinflate(str_rot13(base64_decode(\'';
-
$end1 = '\'))Â )); ?><?';
-
if($strpos1===0)
-
{
-
decode($new_text);
-
}
-
elseif($strpos1===false)
-
{
-
$start2 = '?><? eval(gzinflate(base64_decode(\'';
-
$end2 = '\'))); ?><?';
-
if($strpos2===0)
-
{
-
decode($new_text,$rec);
-
}
-
}
-
}
-
-
//eval(gzinflate(base64_decode('FZ3HjuvQ.........')));
-
-
//decodiert den string
-
decode('FZ3HjuvQ.........');
August 31st, 2006 at 14:13
Kanst du mir vieleicht agen mit was das codiert wurde, war PHP 4:
“; exit; } $s1=”KlJPU09aZU5VWVomQyYtX146OzY0X…JoMm”; include_once(’freelock.php’); freelock_run($s1);
Vielen Dank im vorraus.
September 4th, 2006 at 07:20
es kommt darauf an was in der funktion freelock_run zu finden ist. wär nett wenn du die auch noch mal postest.
September 8th, 2006 at 17:14
i have a file which is encoded in eval(gzinflate(str_rot13(base64_decode, i want to decode the same can you please tell how to do decode the same using your script
thanking you in advance
September 11th, 2006 at 12:53
ok this os really easy:
1. create a new php file.
2. copy my decode function to it.
3. now look in your script and copy the code “eval(gzinflate(str_rot13(base64_decode(…copy this code…))))” without the “eval(gzinflate(str_rot13(base64_decode(”
often the code looks starts like this “FZ3HjuvQ….”
this code must be passed to the decode function.
4. so write under the decode function in the php file “decode(’…’);” now replace the 3 dots with the code from you script.
5. view the php script in an webbrowser and have fun.
September 13th, 2006 at 03:34
wie entschlüssel ich das ??
?>
September 15th, 2006 at 18:19
super: wie entschlüssel ich das ??
bloß keine arbeit selbst machen.
September 18th, 2006 at 00:13
Vielen Dank für Dein Script. Anscheinend bist sehr begabt in PHP da dein Script für mich nur ein großes ? ist !
Ich habe ebenfalls eine
September 18th, 2006 at 00:56
eval(gzinflate(str_rot13(base64_decode
kodierte Datei.Evtl. kannst Du mir weiterhelfen, da ich es mit Deinem Script nicht hinbekmmen habe.
LG,Farasy.
September 22nd, 2006 at 01:30
Use the shell, Luke!
$ cp file.php decoded.php
$ echo -n “Decoding” ; while grep eval decoded.php >/dev/null ; do sed ’s/eval/echo/’ decoded.php > decoded.php.new ; php decoded.php.new > decoded.php; echo -n “.”; done ; rm decoded.php.new ; echo ” Done :-)”
Thanks for your post, it was helpful (and it helped a lot to create the shell-script alternate method!).
Greetings from Spain.
September 23rd, 2006 at 13:51
Farasy was genau is dein problem?
September 25th, 2006 at 22:35
Hast Du meine eMail bekommen ? Gruß
September 27th, 2006 at 16:09
jo jo
Oktober 12th, 2006 at 05:35
Hello sir,
I get an error while executing the script. Can you please provide a php file for it?
The error
Warning: Unexpected character in input: ‘\’ (ASCII=92) state=1 in ******* on line 15
Parse error: syntax error, unexpected ‘;’ in ******* on line 15
Line 15 says
$start1 = ‘?>
Oktober 14th, 2006 at 05:10
hallo, erstmal vielen dank für deine hilfe.
ich habe ein kleine kodierte script gekauft und von was ich gehört habe hat er ein callback funktion. ich habe damit keine probleme, lizenz habe ich dafür. was mich aber interessiert ist WAS von informationen gesendet wird.
nochmals,vielen dank
mike
Oktober 14th, 2006 at 05:14
ja, die eichtigste habe vergessen zu posten.
bei mir kommt der gleiche fehlermeldung:
[code]
Warning: Unexpected character in input: ‘\’ (ASCII=92) state=1 in ******* on line 15
Parse error: syntax error, unexpected ‘;’ in ******* on line 15
Line 15 says
$start1 = ‘?>[/code]
mike
Oktober 18th, 2006 at 16:38
Warning: Unexpected character in input: ‘\’ (ASCII=92)
sorry but i can not help you. maybe you pass false data to the function. the only solution is to send me the file.
egb64@macosbrain.com
Oktober 19th, 2006 at 00:34
Hi can you help me to decoded 1 file ? becouse went your script start i see only white window 0_o i can send the script by email
Oktober 19th, 2006 at 20:59
[...] the most of these protected scripts use the short version to open php. so i can not execute them. therefor i coded a little function that deals with the problem. but the old function just decrypt “gzinflate(str_rot13(base64_decode(…..)))” and “gzinflate(base64_decode(…))” that is crap an does not work on most scripts (see comments). now i coded a whole class that deals with this problem. the class can recursive “decrypt” these scripts and let you download the original source code. i tested the class with scripts that are protected with the following functions (of couse recursive). PLAIN TEXT PHP: [...]
Oktober 19th, 2006 at 21:02
please check the new version.
and to all who get the (ASCII=92) error -> DO NOT EDIT THE SOURCE AND ASK FOR HELP.
(also a comment on any line is a change)
Oktober 31st, 2006 at 01:42
decrypter web online
http://www.passsport.*********
EDIT: i try it and it does not work. it seem to be ONLY a base64 decrypter. please try:
http://wordpress.macosbrain.com/2006/10/19/eval-gzinflate-base64_decode-str_rot13-part-2/
the class should work very fine and easy.
Januar 18th, 2007 at 05:17
[...] The following code snippet is a simple PHP class found at the German poston MacOSBrain entitled DecodeFunction: eval gzinflate base64_decode str_rot13 [...]
Februar 3rd, 2007 at 12:12
once again.
I DO NOT SUPPORT ANY ILLEGAL ACTIONS.
I DO NOT HELP YOU TO CRACK PROTECTIONS IN PHP SCRIPTS!
November 21st, 2007 at 18:04
Regarding posted #4,
Admin, I tried the script, closing the php ?> because I undestand is missing.
All I get is a white browser page.
I don’t see where the decripted results are written?
Thank you.
Hector
November 25th, 2007 at 12:14
the code should be written to your browser as highlighted php.
Januar 11th, 2008 at 22:26
[...] eval gzinflate base64_decode | Tangential Musings » Blog Archive decode function: eval gzinflate base64_decode str_rot13 » macosbrain __________________ Sessiz Sedasız Ayrılmayı [...]
April 6th, 2008 at 13:03
Hallo!
bei mir funktioniert dass immer noch nicht kannst du mir bitte dass
eJxdUMsOgjAQ3O1DuanxHzzyA6QmBHswMTEB74YAURPFRlB/313aA7KHznSnnZ3WpllmDzZPT8ccFAAggACQwLUCX3vB
AqJcEN7a6v6um5gwdle33PmzKOe0Vs/2/Cid5Z4CnTBK9S8aGWwRo0IOI1EykoYbJgJRQaEmUjI0FMVgUr/Kb8rEIK59bhjvObJRgQiapKd2emzXl
Z8m1cN1GRH0TdfHrr2wrdHBn2y2M/8V4Qk/NqUfiQ
entschlüsseln?
DANKE!
April 6th, 2008 at 14:10
wie zum geier soll ich das entschlüsseln? ich kann leider noch nicht hellsehen. bitte schick mir eine mail mit dem gesamten quellcode. dann werde ich sehen was ich tun kann.
April 6th, 2008 at 21:12
HAllo admin
wie soll ich dir ein mail schicken?
hast du skype,msn,icq oder sonst irgendetwas?
dort kann ich mein problem dir besser erklären und genauer schicken!
wenn du dein mail nicht veröffentlichen willst
schreibe ich mal
msn:******@hotmail.com
skype:********
danke nochmal