Page 1 of 1

intruder in my code

Posted: Tue Feb 13, 2007 10:17 am
by techker
feyd | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]


hey guys i have an intruder in my code and i can't seem to find it??

here is my page

http://techker.vipzone.biz/html/index2.php

in the include section 

here is a screen shot

http://techker.vipzone.biz/html/intruder.png

Code: Select all

<HTML>
<HEAD>
<TITLE>L.F.N.C ltee</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1251">
<?php

$sections ['p']="include.php";
$sections ['1']="contact.php";
$sections ['2']="acessoire_electrique.php";
$sections ['3']="support.php";
$sections ['4']="acessoire_audio.php";
$sections ['5']="telechargements.php";
$sections ['6']="acessoire_dem_alarme.php";
$sections ['7']="connecteurs.php";
$sections ['8']="bypass_intro.php";
$sections ['9']="enligne.php";
$sections ['10']="boites.php";
$sections ['11']="page2.php";
$sections ['12']="page3.php";
$sections ['13']="page4.php";
$sections ['14']="page5.php";
$sections ['15']="fillages.php";
$sections ['16']="autres.php";
$sections ['17']="fillages.php";
$sections ['18']="video.php";
$sections ['19']="lumineux.php";
$sections ['20']="gps.php";
$sections ['21']="centre.php";
$sections ['22']="centre2.php";
$sections ['23']="centre3.php";
$sections ['24']="centre4.php";
$sections ['25']="centre5.php";
$sections ['26']="commande_fax.php";
$sections ['27']="audio.php";
$sections ['28']="centre4.php";
$sections ['29']="speakers.php";
$sections ['30']="subs.php";
$sections ['31']="amps.php";
$sections ['32']="radio.php";
$sections ['33']="audiopipe.php";
$sections ['34']="cruise.php";
$sections ['35']="tracking.php";
$sections ['36']="exclusif.php";
if (!isset($s))
$s='p';
?>
<html>
<style type="text/css">
<!--
body,td,th {
	font-family: Tahoma;
	font-size: 11px;
	color: #0033CC;
}
img{border:0;}
a {
	font-family: Tahoma;
	font-size: 11px;
	color: 494848;
}
a:visited {
	color: 494848;
}
a:hover {
	color: 494848;
}
a:active {
	color: 494848;
}
body {
	background-color: #003399;
}
.style1 {
	color: #000000;
	font-weight: bold;
}
-->
</style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</HEAD>
<BODY LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 rightmargin="0" bottommargin="0">
<center>
  <table width="773"  border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style=";border-color:#FFFFFF;border-style:solid;border-width:1px ">
    <tr>
      <td width="771" valign="top" background="images/banner top_bgw.jpg"><table width="698" height="83" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="698" valign="top" background="images/banner.jpg"><table width="698" height="84" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td>&nbsp;</td>
                </tr>
              </table></td>
          </tr>
        </table></td>
    </tr>
    <tr>
      <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
    </tr>
    <tr>
      <td><table width="770"  border="0" cellpadding="0" cellspacing="0" bgcolor="#211B1B">
          <tr>
            <td width="193" height="181" valign="top" background="images/back-1.jpg" style="background-repeat:no-repeat;background-position:top">&nbsp;</td>
            <td width="577" valign="top"><table width="591" height="160" border="0" cellpadding="0" cellspacing="0" bgcolor="#000000">
                <tr>
                  <td width="591" bgcolor="#000000"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0', 'width','577','height','181','src','flash/catalogue','quality','high','pluginspage', 'http://www.macromedia.com/go/getflashplayer','loop','false','movie','flash/catalogue' ); //end AC code
</script>
                    <noscript>
                    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="577" height="181">
                      <param name="movie" value="flash/catalogue.swf">
                      <param name="quality" value="high">
                      <param name="LOOP" value="false">
                      <embed src="flash/catalogue.swf" width="577" height="181" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
                    </object>
                    </noscript></td>
                </tr>
              </table></td>
          </tr>
        </table></td>
    </tr>
    <tr>
      <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
    </tr>
    <tr bgcolor="#333333">
      <td valign="top"><table width="770" height="100%"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="193" height="100%" valign="top"><table width="193" height="100%"  border="0" cellspacing="0" cellpadding="0" background="images/back-text-1.jpg">
                <tr>
                  <td><img src="images/text-1.jpg"></td>
                </tr>
                <tr>
                  <td height="59" valign="top" align="center" style="padding-top:8px;line-height:18px;padding-right:10px;padding-bottom:15px "><strong><a href="#"  style="color:#020100">Vid&eacute;o d&eacute;mo de nos produits &agrave; venir </a></strong></td>
                </tr>
                <tr>
                  <td><img src="images/text-2.jpg"></td>
                </tr>
                <tr>
                  <td height="44" valign="top" align="center" style="padding-top:9px;line-height:18px;padding-right:10px "><strong><a href="index3.php"  style="color:#020100">Bypass disponible ici </a></strong></td>
                </tr>
                <tr>
                  <td><img src="images/text-3.jpg"></td>
                </tr>
                <tr>
                  <td height="44" valign="top" align="center" style="padding-top:9px;line-height:18px;padding-right:4px; padding-bottom:19px "><p><strong><a href="#"  style="color:#020100">Support Technique ici </a></strong></p></td>
                </tr>
                <tr>
                  <td><img src="images/text-3.jpg"></td>
                </tr>
                <tr>
                  <td height="44" valign="top" align="center" style="padding-top:9px;line-height:18px;padding-right:4px; padding-bottom:19px "><p><strong><a href="#"  style="color:#020100">Contacter nous ici </a></strong></p>
                </tr>
                <tr>
                  <td><img src="images/text-3.jpg"></td>
                </tr>
                <tr>
                  <td height="44" valign="top" align="center" style="padding-top:9px;line-height:18px;padding-right:4px; padding-bottom:19px ">
                </tr>
              </table></td>
            <td width="577" valign="top" bgcolor="#333333"><?php include ($sections[$s]); ?></td>
          </tr>
        </table></td>
    </tr>
    <tr>
      <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
    </tr>
    <tr>
      <td height="34" bgcolor="#333333"><table width="770" height="100%"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="193" bgcolor="#363435"  style="color:#96989F;font-size:10px"><div style=" padding-left:8px">&copy; 2006 | <a href="index-7.html"  style="color:#96989F;text-decoration:none;font-size:10px">Privacy Policy</a> | <a href="#" style="color:#96989F;text-decoration:none;font-size:10px">Terms Of Use</a></div></td>
            <td width="1" bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
            <td width="576" bgcolor="#5B585A"  style="color:#C4C2BF;font-size:10px"><div style=" padding-left:14px"> <a href="index.html"  style="color:#C4C2BF;text-decoration:none;font-size:10px">Acceuil</a> &nbsp;|&nbsp; <a href="lfnc.ca/admin"  style="color:#C4C2BF;text-decoration:none;font-size:10px">Admin</a> &nbsp;&nbsp;|&nbsp;Support<a href="#" style="color:#C4C2BF;text-decoration:none;font-size:10px"></a> &nbsp;|&nbsp;Contact</div></td>
          </tr>
        </table></td>
    </tr>
  </table>
</center>
</BODY>
</HTML>

feyd | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]

Posted: Tue Feb 13, 2007 10:57 am
by Kieran Huggins
I suspect it's the "Byte Order Mark"

change your charset to UTF-8 and see if it stays there

Code: Select all

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> 

Posted: Tue Feb 13, 2007 11:01 am
by techker
aaaha!nice job why did it do that?

Posted: Tue Feb 13, 2007 12:49 pm
by Kieran Huggins
Google up "Byte Order Mark" - it's added to the beginning of Unicode files - can be annoying if you're not expecting it. Some editors (editplus included) will allow you to omit it.