Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PHP] ReverseMe
28-06-2013, 02:14 AM, (This post was last modified: 01-07-2013, 07:32 PM by pers0nant.)
Post: #1
[PHP] ReverseMe
ramai wat celen. so.. nak jugak Troll 2

target :

- reverse function untuk dapat jawapan
- buat function decrypt

level : easy kot ;d

encrypted string : [LINK]
encrypt function : [LINK]

hint 1 : 2013-06-27 17:07:24
hint 2 : 1210839294

sori. function ngan string panjang sangat. kes tu letak external link Fuck That Shit code ni gebang je banyak. xyah hint pon boleh solve. so, semoga berjaya. cam prosedur biasa.. PM jawapan kat aku

solver :

syahmiazhar

PHP Code:
function is_base64($s)
{
      return (bool) 
preg_match('/^[a-zA-Z0-9\/\r\n+]*={0,2}$/'$s);
}

function 
decrypt($s) {
    
$fb '';
    
    
$dec preg_replace_callback('/\|[0-1]+\|/',
        function(
$match) {
            
$inner substr($match[0], 1, -1);
            return 
bindec($inner);
        },
        
$s);
    
    for(;;) {
        if (!
is_base64($dec)) break;
        
$dec base64_decode($dec);
        
        for(;;) {
            if (
substr($dec01) === "\x78" && substr($dec11) === "\x9c") {
                
$s gzuncompress($dec);
            } else {
                
$s gzinflate($dec);
            }

            if (
strlen($s) == 0) {
                return 
$fb;
            }
            
            
$dec $s;
            
$fb $dec;
            
            if (
is_base64($dec)) {
                
$fb $dec;
                break;
            }
        }
    }
    
    return 
$dec;


johnburn ;d

Code:
func xder.. kantoi flag jer

fatah

PHP Code:
function decrypt($str) {
    
$str preg_replace_callback('/\|[0-1]+\|/'create_function('$v''return bindec($v[0]);'), $str);
    while(
base64_decode($strtrue)) {
        
$str base64_decode($str);
        do { 
$str = (!substr_compare($str,"\x78\x9c"02) ? gzuncompress($str) : gzinflate($str)); } while(!ctype_print($str));
    }
    return 
$str;


shahril (partially Fuck That Shit)

PHP Code:
    function decrypt($s$t$r){
            
$t strtotime($t);
            
$z array_sum(array_map(create_function('$x, $y''return abs($x - $y);'), str_split($t), str_split($r)));
            
preg_match_all('/\|[10]+\|/'$s$out);
            foreach(
$out[0] as $bin){
                    
$s str_replace($binbase_convert(str_replace('|'''$bin), 210), $s);
            }
            for(
$i round($z 3); $i >= 1$i--){
                    
$s base64_decode($s);
                    foreach(
array_reverse(str_split($t $i)) as $x) {
                            if(
$x == 1){
                                    
$s gzuncompress($s);
                            }else{
                                    
$s gzinflate($s);
                            }
                    }
            }
            return 
$s;
    } 
Reply
28-06-2013, 02:45 AM,
Post: #2
RE: [PHP] ReverseMe
okay fts2
$GetCurrentSignature();

[Image: dcc46f8439.jpg]

$GetCurrentSignature();





Troll 2
Reply
28-06-2013, 08:32 AM,
Post: #3
RE: [PHP] ReverseMe
Hamboi jawapan dia...
Reply
28-06-2013, 08:44 AM,
Post: #4
Re: RE: [PHP] ReverseMe
(28-06-2013, 08:32 AM)syahmiazhar Wrote: Hamboi jawapan dia...

kekekeke ;d tergamam aku baca func decrypt ko

Sent from my GT-S7500 using Tapatalk 4 Beta
Reply
28-06-2013, 08:52 AM,
Post: #5
RE: [PHP] ReverseMe
(28-06-2013, 08:44 AM)pers0nant Wrote: kekekeke ;d tergamam aku baca func decrypt ko
Hehe, tergamam tengok ada hint...
Reply
28-06-2013, 08:57 AM, (This post was last modified: 28-06-2013, 12:19 PM by pers0nant.)
Post: #6
Re: RE: [PHP] ReverseMe
(28-06-2013, 08:52 AM)syahmiazhar Wrote: Hehe, tergamam tengok ada hint...

ko solve tanpa hint. lg power... da faham canner ko implement func tuh



Sent from my GT-S7500 using Tapatalk 4 Beta
Reply
28-06-2013, 03:29 PM,
Post: #7
RE: [PHP] ReverseMe
kesian shahril ;d
[̲̅ə̲̅٨̲̅٥̲̅٦̲̅]
i ℓ٥ﻻ ﻉ√٥υ F٥rﻉ√ﻉr ღ
|_|0|_|
|_|_|0|
|0|0|0|
http://jonhburn2.freehostia.com/lol.txt
Reply
28-06-2013, 03:32 PM,
Post: #8
RE: [PHP] ReverseMe
(28-06-2013, 03:29 PM)johnburn Wrote: kesian shahril ;d

da kantoi Fuck That Shit
Reply
28-06-2013, 06:31 PM,
Post: #9
RE: [PHP] ReverseMe
tak baik firnah orang lain GayFace
̿ ̿ ̿̿'̿̿\̵͇̿̿\=(•̪●)=/̵͇̿̿/'̿̿ ̿ ̿ ̿ - انا کڤيتݢولوڠ
http://fatah.afraid.org/
[Image: 763440762.png]
Reply
28-06-2013, 06:39 PM,
Post: #10
RE: [PHP] ReverseMe
sori shahril. x ingat nak tuka flag Fuck That Shit
Reply
28-06-2013, 06:56 PM,
Post: #11
RE: [PHP] ReverseMe
aku dh agak kau buat benda tu siak.. ;d
Reply
28-06-2013, 07:34 PM,
Post: #12
RE: [PHP] ReverseMe
ajar la aku cane nk wat Sad
[Image: 3EsGZgg.png]
uno akhirnya kau ngaku gak ye
Reply
28-06-2013, 07:36 PM,
Post: #13
RE: [PHP] ReverseMe
1 julai release semua code ;d
Reply
01-07-2013, 07:34 PM,
Post: #14
RE: [PHP] ReverseMe
code para solver dah update kat OP. tp x ramai yang cuba OK btw terima kaseh kepada yang dah solve tu. banyak aku blajo from code korang
Reply
02-07-2013, 09:29 AM, (This post was last modified: 02-07-2013, 10:17 AM by fatah.)
Post: #15
RE: [PHP] ReverseMe
fuh, shahril nak cuba solvekan isu ni sebenar benar taqwa... memang beriman shahril ni. GayFace

actually, aku dh cuba borak dgn johnburn, dia pun jumpa weakness encrypt function ni juga & dia dah create decrypt() function cara ninja juga dalam dua bahasa. ku rasa kemungkinan besar php & python/ruby.
̿ ̿ ̿̿'̿̿\̵͇̿̿\=(•̪●)=/̵͇̿̿/'̿̿ ̿ ̿ ̿ - انا کڤيتݢولوڠ
http://fatah.afraid.org/
[Image: 763440762.png]
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  [PHP] ReverseMe #3 pers0nant 20 1,636 17-01-2014, 03:57 AM
Last Post: pers0nant
  [PHP] ReverseMe #2 pers0nant 24 2,019 16-07-2013, 10:56 AM
Last Post: pers0nant

Forum Jump: