.:: :[ AK-74 Security Team Web-shell ]: ::.
Общая информация
Файловый менеджер
phpinfo()
Выполнить PHP
Выполнить команду
Редактирование файла
<?php /*<link href="../css/textstyle.css" rel="stylesheet" type="text/css" /> <link href="../css/mainCss.css" rel="stylesheet" type="text/css" />*/?> <table width="175" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="rightMenu"><ul> <?php $sql = " SELECT menu_id, menu_name$fieldLang AS menu_name FROM menu WHERE enable = 1 ORDER BY menu_id "; $query = sql_query($sql); while ($rec = sql_fetch_array($query)) { $rightIndex = $rec['menu_id']; $aRightMenu["$rightIndex"] = $rec['menu_name']; } // end while ?> <?php $checkMenuId = 1; // HOME if (@array_key_exists($checkMenuId,$aRightMenu)) {?><li class="<?php echo ($pageMenuId==$checkMenuId)?'currentRightMenu':'firstRightMenu'?>"><a href="<?php echo $pathLang?>/homepage" title="<?php echo $aRightMenu["$checkMenuId"]?>"><?php echo $aRightMenu["$checkMenuId"]?></a></li><?php }?> <?php $checkMenuId = 2; // About NK if (@array_key_exists($checkMenuId,$aRightMenu)) {?><li class="<?php echo ($pageMenuId==$checkMenuId)?'currentRightMenu"':'headerRightMenu'?>"><a href="<?php echo $pathLang?>/aboutNK" title="<?php echo $aRightMenu["$checkMenuId"]?>"><?php echo $aRightMenu["$checkMenuId"]?></a></li><?php }?> <?php $checkMenuId = 3; // Brand if (@array_key_exists($checkMenuId,$aRightMenu)) {?><li <?php echo ($pageMenuId==$checkMenuId)?'class="currentRightMenu"':''?>><a href="<?php echo $pathLang?>/brand" title="<?php echo $aRightMenu["$checkMenuId"]?>"><?php echo $aRightMenu["$checkMenuId"]?></a></li><?php }?> <?php $checkMenuId = 4; // Service if (@array_key_exists($checkMenuId,$aRightMenu)) {?><li <?php echo ($pageMenuId==$checkMenuId)?'class="currentRightMenu"':''?>><a href="<?php echo $pathLang?>/service" title="<?php echo $aRightMenu["$checkMenuId"]?>"><?php echo $aRightMenu["$checkMenuId"]?></a></li><?php }?> <?php $checkMenuId = 5; // Contact Us if (@array_key_exists($checkMenuId,$aRightMenu)) {?><li <?php echo ($pageMenuId==$checkMenuId)?'class="currentRightMenu"':''?>><a href="<?php echo $pathLang?>/contactUs" title="<?php echo $aRightMenu["$checkMenuId"]?>"><?php echo $aRightMenu["$checkMenuId"]?></a></li><?php }?> <?php $checkMenuId = 6; // Career if (@array_key_exists($checkMenuId,$aRightMenu)) {?><li class="<?php echo ($pageMenuId==$checkMenuId)?'currentRightMenu':'endRightMenu'?>"><a href="<?php echo $pathLang?>/career" title="<?php echo $aRightMenu["$checkMenuId"]?>"><?php echo $aRightMenu["$checkMenuId"]?></a></li><?php }?> <li class="headerRightMenu">Product Catalog</li> <?php $sql = " SELECT category_id, category_name$fieldLang AS category_name FROM category WHERE enable = '1' ORDER BY rank_no "; $query = sql_query($sql); $allRows = sql_num_rows($query); $counter = 0; while ($rec = sql_fetch_array($query)) { $className = ''; //if (++$counter == $allRows) //$className = 'endRightMenu'; if ($_GET['cid'] == $rec['category_id']) $className = 'currentRightMenu'; ?> <li <?php if ($className != '') echo 'class="'.$className.'"';?>><a href="<?php echo $pathLang?>/category<?php echo $rec['category_id']?>" title="<?php echo $rec['category_name']?>"><?php echo $rec['category_name']?></a></li> <?php } // end while ($recRight ?> <?php $checkMenuId = 7; // Client if (@array_key_exists($checkMenuId,$aRightMenu)) {?><li class="<?php echo ($pageMenuId==$checkMenuId)?'currentRightMenu':'headerRightMenu'?>"><a href="<?php echo $pathLang?>/client" title="<?php echo $aRightMenu["$checkMenuId"]?>"><?php echo $aRightMenu["$checkMenuId"]?></a></li><?php }?> <?php $checkMenuId = 8; // Link if (@array_key_exists($checkMenuId,$aRightMenu)) {?><li class="<?php echo ($pageMenuId==$checkMenuId)?'currentRightMenu':'headerRightMenu02'?>"><a href="<?php echo $pathLang?>/link" title="<?php echo $aRightMenu["$checkMenuId"]?>"><?php echo $aRightMenu["$checkMenuId"]?></a></li><?php }?> </ul> <p><?php $sql = " SELECT news_id, news_title$fieldLang AS news_title, brief$fieldLang AS brief, description$fieldLang AS description, image, news_date FROM news WHERE enable = 1 ORDER BY rank_no "; $query = sql_query($sql); $imagePath = 'upload/news/thumb/'; while ($rec = sql_fetch_array($query)) { $thisPath = $imagePath.$rec['image']; if (file_exists($thisPath) && ($rec['image'] != '')) { ?><span class="news01"><a href="<?php echo $pathLang?>/news<?php echo $rec['news_id']?>" title="<?php echo $rec['news_title']?>"><img src="/<?php echo $thisPath?>" alt="<?php echo $rec['news_title']?>" border="0" /><br /><strong><?php echo $rec['news_title']?></strong><br /><?php echo nl2br($rec['brief'])?></a></span><?php } // end if (file_exists($thisPath) && ($rec['image'] != '')) { } // end while ?></p> </td> </tr> </table>
Rename:
-