Malicious Javascript code added to the bottom of my HTML

Hello,
Below is the code to my main page, called index.php.  It is what shows when I type my domain into the browser.  On a few occasions, when I open it in Internet Explorer, some malicious javascript code has been added to the bottom of the code.  The malicious javascript code looks like: "<script type="text/javascript">eval(String.fromCharCode(118,97,114,32,120,101,119,61,57,56,55,49, 51,49,..."
It seems like this code then installs a fake anti-virus program on the computer of anyone who visits my site.  How can I prevent this malicious javascript from getting written into my source code?
Thanks,
John
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php
session_start();
unset($_SESSION['find']);
?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Title</title>
<link rel="stylesheet" type="text/css" href="tablestyles.css">
</head>
<body>
<div class="mainlinks"><a href="about.php" class="links">About</a><a href="testpage.php" class="links">New Testpage</a><a href="tablecreate.php" class="links">Table Create</a></div>
<div class="line"></div>
<div class="smalllogo"><a href="index.php"><img src="images/logo.png" alt="Tywod" width="170" height="45" border="0"/></a></div>
  <div class="searchbox">
  <form action="tsearch14.php" method="post">
  <label>Enter Topic:
  <input type="text" name="find" size="55"/>
  <input type="hidden" name="searching" value="yes" />
  <input type="submit" name="search" value="Search" />
  </label>
  </form>
  </div>
<div class="line2"></div>
<div class="copyright">©2009 Title</div>
</body>
</html>

You may find this blog post valuable!
http://blog.cartweaver.com/index.cfm?newsid=56
Lawrence   *Adobe Community Expert*
www.Cartweaver.com
Complete Shopping Cart Application for
Dreamweaver, available in ASP, PHP and CF

Similar Messages

  • When i try to open photoshop this shows up Please uninstall and reinstall the product.  If this problem still occurs, please contact Adobe technical support for help, and mention the error code shown at the bottom of this screen.  Error: 16

    i had to take my photoshop file into a hardrive because my dad was going to give me a new Mac and when things didn't work out and went back to my old one i use the time capsule thing to save everything before but didn't give me photoshop so i physically moved the file and tried to open it but then this error shows up
    Please uninstall and reinstall the product.
    If this problem still occurs, please contact Adobe technical support for help, and mention the error code shown at the bottom of this screen.
    Error: 16
    and when i click the uninstall app on the file it tells me this
    The alias “Uninstall Adobe Photoshop CS6 2” can’t be opened because the original item can’t be found
    and when i click fix alias i click on photoshop and the app just turns into photoshop and i just run in circles
    please help thank you

    Run the cleaner tool and reinstall.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    Download CS6 products
    Mylenium

  • What's the Maximum Action Items that can be added in the bottom bar

    Hi Experts
    I am very new to Fiori. I am designing UI for my app and i realized that i have 5 Action Items.
    As I know that the Action Items can only be added to the bottom bar(ex Approve,Accept,Reject) according to design guidelines for fiori.
    Can somebody please guide me where am going wrong with my understanding. And also help me find a solution to my 5 action items.
    Regards
    Batish

    Hello Batish,
    have a look into the below link which talks about the basic framework for the fiori app and its controls,
    https://experience.sap.com/fiori-guidelines/FioriAppFramework/53_Fiori_AppFramework-Basis.html
    https://experience.sap.com/fiori-guidelines/controls/
    hope it helps,

  • How  can  I use Javascript code to affect the display of textField?

    Hi All,
    I created a web application using JSF.
    And Placed two controls: one Text Field and one Label.
    On the Javascript onclick event of Label, I wrote the following javascript:
    document.getElementById("form1:textField1").value="test123";
    I run the web application, and click on the label, However, the text of the Text Field does not change.
    But the following code shows text of the Text Field has been changed. it works.
    alert(ocument.getElementById("form1:textField1").value);
    So, why the display of the Text Field does not change? How to update the display of the Text Field?
    Any suggestion will be helpful!
    Thank you.

    here is a full and correct example, enjoy
    1. <html>
    2. <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    3. <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    4. <f:view>
    5. <head>
    6. <title>
    7. <h:outputText value="#{msgs.windowTitle}"/>
    8. </title>
    9. </head>
    10. <body>
    11. <h:form id="registerForm">
    12. <table>
    13. <tr>
    14. <td>
    15. <h:outputText value="#{msgs.namePrompt}"/>
    16. </td>
    17. <td>
    18. <h:inputText/>
    19. </td>
    20. </tr>
    21. <tr>
    22. <td>
    23. <h:outputText value="#{msgs.passwordPrompt}"/>
    24. </td>
    25. <td>
    26. <h:inputSecret id="password"/>
    27. </td>
    28. </tr>
    29. <tr>
    30. <td>
    31. <h:outputText value="#{msgs.confirmPasswordPrompt}"/>
    32. </td>
    33. <td>
    34. <h:inputSecret id="passwordConfirm"/>
    35. </td>
    36. </tr>
    37. </table>
    38. <h:commandButton type="button" value="Submit Form"
    39. onclick="checkPassword(this.form)"/>
    40. </h:form>
    41. </body>
    42. <script type="text/javascript">
    43. <!--
    44. function checkPassword(form) {
    45. var password = form["registerForm:password"].value;
    46. var passwordConfirm = form["registerForm:passwordConfirm"].value;
    47.
    48. if(password == passwordConfirm)
    49. form.submit();
    50. else
    51. alert("Password and password confirm fields don't match");
    52. }
    53. -->
    54. </script>
    55. </f:view>
    56. </html>

  • JavaScript Code Not Operating the way I want it...

    Hello All!
    Got a bit of JavaScript that doesn't seem to work properly.
    The line is as follows:
    var begin = this.getField("Class").value;
    if (begin = 1) event.value = Math.floor((this.getField("CON").value + 9) + (this.getField("Level").value * 6));
    else if (begin = 2) event.value = Math.floor((this.getField("CON").value + 7) + (this.getField("Level").value * 5));
    else if (begin = 3) event.value = Math.floor((thisget.getField("CON").value + 6) + (this.getField("Level").value * 4));
    It is tied to a dropdown box called "Class" and when you choose a choice, the field is supposed to do one of those three equations based on your choice. I've assigned all the proper export values, but the field seems to only display the value of the first equation. It doesn't change or alter when I change my choice. The other fields the equations tie to (Level and CON) change the value accordingly, but it doesn't seem to register the value or variable of the dropdown box. I thought it might be a 'calculate order' problem, but that doesn't seem to be it as it is in it's appropriate spot in the way the rest of the calculations occur. If I assign a simple box to display the "values" of the dropdown box, it works like it should.
    Am I missing something?

    You're doing the classic mistake of using the assignment operator ( = )
    where you should use the comparison operator ( == ).
    So in all of your if-statements, like:
    if (begin = 1)
    You need to use:
    if (begin == 1)

  • Extra (Duplicate) Code Added After Editing Page

    At first I thought this was a problem when using templates
    but I've confirmed that it's more widespread that that. I've also
    found this posted a couple of times on other boards but nobody
    seems to have an answer.
    After I edit a page (html or php, doesn't make a difference)
    in Dreamweaver 8.02 extra code is added at the bottom of the page.
    This code duplicates a portion of what is already on the page, and
    it appears (although I can't say for certain) that the more editing
    I do the more code is added.
    The extra code is added after the closing </html> tag.
    Sometimes a portion of it will show up in Code view but more often
    than not I have to view the page in a text editor and remove it
    outside of Dreamweaver. But once the page is edited again then the
    problem repeats.
    Bizarre.
    Thanks.

    > I'll try and re-create the problem and post the before
    and after.
    The answer is always in the code.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "SilverR252" <[email protected]> wrote in
    message
    news:eneb22$2cg$[email protected]..
    >
    quote:
    You just haven't read the answers posted.
    > Well, I spent over an hour googling variations of the
    problems and found
    > it
    > referenced in only a couple of places. In neither post
    was there an
    > answer. You
    > can see that
    >
    http://groups.google.com/group/macromedia.dreamweaver/browse_thread/thread/b35b5
    >
    0466da5ea05/8c5264cb11bf7d36?lnk=st&q=dreamweaver+extra+code&rnum=3#8c5264cb11bf
    > 7d36 and
    >
    http://groups.google.com/group/macromedia.dreamweaver/browse_thread/thread/ae47c
    >
    5731780634d/012a96d2fb5c818f?lnk=st&q=dreamweaver+extra+code&rnum=8#012a96d2fb5c
    > 818f although the latter refers to MX.
    >
    >
    quote:
    Show us your template page, please.
    > As I said, I originally thought this was a problem only
    on child pages of
    > templates. However, it's happening in non-template
    pages.
    >
    > I'll try and re-create the problem and post the before
    and after.
    >
    > Thanks.
    >

  • Add new Row at the bottom of the advance table

    Hi,
    I have an advance table which is displaying 50 rows per page. I have a button at the bottom of the table to add a new row in the table.
    Requirement is whenever user clicks on the button to add a new row and if he is viewing the 50-100 rows, new row should be added at the bottom of the same page giving 101st row as new row.
    Is this functionality possible. Please let me know the code for the same.
    Thanks in advance,
    Kaushik

    Hi,
    If the records displayed is set to 50 then at one time only 50 records will be visible.
    101st row will be inserted at seperate navigation 100-150.
    Instead you can insert the row at the top so that 100th row gets shifted to 101 and new row becomes on the same page
    for this use
    vo.insertRowatRangeIndex(row,0);
    Thanks,
    Gaurav

  • How to put a repeatable shadow at the bottom of a wine bottle

    I'll select an image of a bottle (beer or wine) and it's all nice and clean around the bottom, totally isolated from the background.  I've asked Photoshop savvy friends how to do this and they all have come up with some workaround that is not repeatable.  Check out this image from a wine makers' website:  the shadow at the bottom is the same from shot to shot and I'm sure is added at the bottom in post, not when the bottle was photographed.  How to do this? 
    Attached is an image of a bottle with shadow from the website and one of my own bottle images with no shadow.  Remember, it's got to be a repeatable shadow that I can add to any "finished" image and not have to worry about selecting around the nebulous outline of the shadow.  Thanks.

    1) create a circle shape
    2)squish the circle down to give it its shape
    3)Move the shape layer below the image layer
    4)Convert the shape layer to a smart object
    5)Apply a guassian blur to the shape
    6)Reduce the opacity of the shape layer
    7)reposition the shape layer if needed.
    The above assumes the bottle is on its own layer with no background
    If necessary to remove the white background you can you the quick selection tool to select the white and hit the delete key. To make sure the bottle will be on a transparent background, you must unlock the image layer by dragging its lock icon to the trashcan before hitting the delete key.
    Once all the steps above are done, you can apply a new background by either filling a new layer with a color and moving that layer below all other layers.
    or
    use the solid color adjustment layer and set its color to your choosing and then move that layer below all other layers.
    Here is a quick example (logo of bottle has been pixelated)

  • I am trying to click on a 'zoom' button to enlarge a table or photo but nothing happens other than "javascript:void(null)" appearing in bottom left corner of Firefox window. How can I correct this?

    There are a few tables and photos on the left that I need to zoom into but nothing happens. All I get is the text "javascript:void(null)" in the bottom left corner of my Firefox window.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * [[Troubleshooting extensions and themes]]

  • Is there a way to make new bookmarks appear at the top of a menu folder instead of the bottom?

    I know of an extension that will sort bookmarks for me by reverse-date-added but then newly added bookmarks will still be added to the bottom until resorted. Since the newest bookmarks are ones that we most often use, I'm not sure why the default is to have to scroll all the way down to get to them. Thanks!

    Sorry, that's the default action and there isn't a hidden preference to change that action, without installing an extension.
    When I want to save a new bookmark near the top of the list, I open the Bookmarks Sidebar - {Ctrl + B} - and drag the website image ''(Favicon)'' from either the Location bar or the Tab into the spot in the Sidebar that I want the new bookmark to be located, to save that new bookmark. That "drag'n'drop" also works with the Bookmarks Menubar drop-down; that action will open the Bookmarks menu.

  • New purchases at the bottom of the "purchased" play list

    When I buy music on iTunes on my mac, and syncs to my iPod Touch, the newest tracks are listed at the top of the play list. This is what I want. But, when I buy tracks directly on my iPod Touch, they are added at the bottom of the list which is quite annoying, as all my other new tracks are at the top. Is there a way to solve this problem?
    The iPod-purchased songs automatically goes to the top of the list once i sync with my mac again, but that might be for whole weeks i don't sync.

    It is a fault with Hotmail caused by people sending you unwanted invitations. Go to Contacts>View Invitations and click No thanks to any unwanted people.

  • Security flaw-To use CSOM/Javascript code for Custom Office365(Sharepoint Online) application

    Hi,
    I've developed custom application in Office365(Sharepoint Online) using CSOM/Javascript. Security team from client side has been reported one major issue to the our application that any end user can comment our CSOM/Javascript code and bypass the validation
     or can update / insert into sharepoint list item using developer tool/ Console in Google Chrome(F12 Key).
    Also end user can write his own separate code in console of Google Chrome (Developer Tool / F12) and can update / insert  into Sharepoint List.
    Note:- End user has Add, Edit, View permission on all Sharepoint List.
    This is one major security flaw of the Sharepoint/Office365 to use CSOM /Javascript for writing code, to overcome this issue could you please provide me some solution.
    Your help would be greatly appreciated!!!  
    Looking for reply.
    Thanks,
    Mahesh Sherkar
    Web: http://Mahesh-Sherkar.com
    Email: [email protected]

    Hello Paras, 
    Did you get any solution for this? I think your website was implemented this form. Can you please tell me the way how I can achieve it? I am also facing same problem. Please reply me as early as possible.
    Thanks,
    Mihir

  • PDF of Project File adds lines to the bottom

    When doing a PDF of a Microsoft 2007 project file, the PDF version has a bunch of lines added to the bottom. When printing the project file to a printer, these lines do not show up at all. I have tried it both in Std and Pro with the same results. Something is happening during the conversion process to add these lines. All software has been updated to the latest updates and is being run on a XP SP3 machine. Attached is a view of the completed PDF file. When looking at the file, it is the lower half with all of the horizontal blue lines. I apologize I cannot post the whole image due to the data contained.
    Thanks.
    Software Used:
    Microsoft Project 2007 Standard
    Acrobat 9.1.2 Standard
    Acrobot 9 Pro
    XP Pro SP3

    iMovie has only one video track. However you can get a Picture in Picture plugin here:
    http://mac.softpedia.com/get/Video/iMovie-Picture-in-Picture-Plugin.shtml

  • Need Javascript code for changing text field color

    Looking for a Javascript code to change the textfield background color and edge color in acrobat?  (without any xfa reference)

    The background color is the fillColor field property: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.705.html
    and the edge color is the strokeColor property: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.723.html

  • Digital Signature filteration (eg: cn=TEST) Javascript code

    Hi
    Thanks in advance....
    Please find the details below :
    1. When you open the PDF you will see a button. OnClicking the button the signature window displays, this window is same as the window which appears on clicking the signature field.
    2. When you open this document in the Livecycle Designer you will see a JavaScript code written in the button. This code generates the window and displays all the signature deployed in the machine.
    Requirement : I need to put a filter on this button, when the user clicks the button it should only displays those signatures which belongs to the particular group/profile.
    Eg: cn=TEST. In this scenario it should display only those signature belonging to the TEST group/profile after clicking the button.
    Basically i want to restrict only a particular group/profile to sign the document. Let me know how can i achieve this functionality..
    I have attached the pdf for your reference.
    Regards
    Mahesh Pillay
    +91-9930315761

    Steve,
    Thanks for your reply...
    I had tried with the seed value but unfortunalty could not find the correct syntex/code for setting the seed value in my javascript code.
    Appreciate if could provide me the code , since i am not an expert in javasceript and i am trying this for a very long time...
    Thanks in advance...
    Regards
    Mahesh Pillay

Maybe you are looking for