footer link eltácolitasa

Közben ezt találtam a header.php legelején:





<?php eval(str_rot13('shapgvba purpx_s_sbbgre(){vs(!(shapgvba_rkvfgf("purpx_sbbgre")&&shapgvba_rkvfgf("purpx_urnqre"))){rpub('Guvf gurzr vf eryrnfrq haqre perngvir pbzzbaf yvprapr, nyy yvaxf va gur sbbgre fubhyq erznva vagnpg');qvr;}}purpx_s_sbbgre();'));eval(str_rot13('shapgvba purpx_shapgvbaf(){vs(!svyr_rkvfgf(qveanzr(SVYR)."/shapgvbaf.cuc")){rpub('Guvf gurzr vf eryrnfrq haqre perngvir pbzzbaf yvprapr, nyy yvaxf va gur sbbgre fubhyq erznva vagnpg');qvr;}}purpx_shapgvbaf();'));



?>



dekódolva így néz ki (ha jól csináltam):



<?php eval(str_rot13('function check_f_footer(){if(!(function_exists("check_footer")&&function_exists("check_header"))){echo('This theme is released under creative commons licence, all links in the footer should remain intact');die;}}check_f_footer();'));eval(str_rot13('function check_functions(){if(!file_exists(dirname(FILE)."/functions.php")){echo('This theme is released under creative commons licence, all links in the footer should remain intact');die;}}check_functions();'));



?>




de itt elakadtam hogyan tovább



ötlet?<?php eval(str_rot13('shapgvba purpx_s_sbbgre(){vs(!(shapgvba_rkvfgf("purpx_sbbgre")&&shapgvba_rkvfgf("purpx_urnqre"))){rpub('Guvf gurzr vf eryrnfrq haqre perngvir pbzzbaf yvprapr, nyy yvaxf va gur sbbgre fubhyq erznva vagnpg');qvr;}}purpx_s_sbbgre();'));eval(str_rot13('shapgvba purpx_shapgvbaf(){vs(!svyr_rkvfgf(qveanzr(SVYR)."/shapgvbaf.cuc")){rpub('Guvf gurzr vf eryrnfrq haqre perngvir pbzzbaf yvprapr, nyy yvaxf va gur sbbgre fubhyq erznva vagnpg');qvr;}}purpx_shapgvbaf();'));





?>






dekódolva így néz ki (ha jól csináltam):





<?php eval(str_rot13('function check_f_footer(){if(!(function_exists("check_footer")&&function_exists("check_header"))){echo('This theme is released under creative commons licence, all links in the footer should remain intact');die;}}check_f_footer();'));eval(str_rot13('function check_functions(){if(!file_exists(dirname(FILE)."/functions.php")){echo('This theme is released under creative commons licence, all links in the footer should remain intact');die;}}check_functions();'));



?>



de itt elakadtam hogyan tovább



ötlet?<?php eval(str_rot13('function check_f_footer(){if(!(function_exists("check_footer")&&function_exists("check_header"))){echo('This theme is released under creative commons licence, all links in the footer should remain intact');die;}}check_f_footer();'));eval(str_rot13('function check_functions(){if(!file_exists(dirname(FILE)."/functions.php")){echo('This theme is released under creative commons licence, all links in the footer should remain intact');die;}}check_functions();'));





?>






de itt elakadtam hogyan tovább





ötlet?

megoldva :slight_smile:





egy kis infó hátha másnak is jól jön:





a header.php hivatkozott kódolva a functions.php-re amibe bele volt írva (kódolva) hogy checkolja a footert benne e van a megadott tartalom





kitöröltem mindkét fájlból a részeket aztán egy utolsó panasz volt erre (header.php) melyből a check_header();-t kitörölve simán módosítható a footer tartalma.

check_footer és check_header a köv 2 függvény amit meg kell keresned. talán ha értelmeznéd ami oda van írva:





ha a check_footer vagy a check_header függvény nem létezik akkor kiírja ezt a szöveget. miért? mert van check_footer meg check_header valahol máshol…

értelmeztem és megoldottam a dolgot, ennyi





sajnálom hogy eleresztettem 2-3 felesleges hozzászólást de talán segítenek valakinek a jövőben aki hasonló problémába ütközik és hozzám hasonlóan nem programozó beállítottságúak

elnézést, az utolsó bejegyzésként #20at láttam csak mikor beírtam…