Detecting Malicious Javascript with PHP

Discussion in 'PHP' started by xxclixxx, May 2, 2007.

  1. #1
    Hello All

    I am looking for a service, script, ANYTHING, that could be used to detect malicious javascript on websites.

    I'm having problems with people submitting websites on my site that contain encrypted javascripts, hidden iframes, you name it! Members of my site are increasingly getting viruses and trojans. Defiantly not good.

    I tried searching for it, but I'm having trouble coming up with any phrases that will get me anything good. I would love to be able to buy a script that scans a webpage, or even subscribe to a service. Any suggestions?

    Tim
     
    xxclixxx, May 2, 2007 IP
  2. manilodisan

    manilodisan Peon

    Messages:
    224
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    How do people submit javascript....form input..?
     
    manilodisan, May 2, 2007 IP
  3. bobby9101

    bobby9101 Peon

    Messages:
    3,292
    Likes Received:
    134
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Look into strip_tags function in php
    or use regex to look for <script / <iframe etc
     
    bobby9101, May 2, 2007 IP