We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25663 MODX Staff
    • 12,272 Posts
    Is it really necessary any more? It’s definitely a marker for MODx installs yielding a potential vector for Google search for exploitable sites in the future. Locations:

    Line 112 of the module.docmanager.tpl (in assets/modules/docmanager and in the install folder)

    Line 18 of manager/frames/menu.php

    Line 11 and 18 of manager/includes/header.inc.php

    Line 13 of manager/includes/tmplvars.format.inc.php <-- likely cause of front end insertions

    Line 7 of manager/media/script/modx.js <-- another potential cause of front end insertions
      Ryan Thrash, MODX Co-Founder
      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
      • 10487 MODX Staff
      • 1,535 Posts
      Sounds good to me. If we’re in the process of nuking potential vectors for exploits then we should also remove the ’<!-- MODx Registered -->’ comments that get inserted when using the regClient functions.
        Garry Nutting
        Senior Developer
        MODX, LLC

        Email: [email protected]
        Twitter: @garryn
        Web: modx.com
        • 33372
        • 1,611 Posts
        YES! The MODX_MEDIA_PATH has been a pet peeve of mine since the first time I saw it. That and the way that keywords and other meta tags are added...
          "Things are not what they appear to be; nor are they otherwise." - Buddha

          "Well, gee, Buddha - that wasn&#39;t very helpful..." - ZAP

          Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
          • 25663 MODX Staff
          • 12,272 Posts
          Are there any TV formats still dependent on WebElm stuff? Or anything in general that is? If not we can remove that stuff as well as Prototype and Scriptaculous, too. (topic title updated)

            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 25663 MODX Staff
            • 12,272 Posts
            Further exorcism candidates:
            manager/media/script/bin (some parts may need to remain ... but dynelement.js, webelm.js and ext/ should go)
            manager/media/script/forIE
            manager/media/script/scriptaculous
            manager/media/ImageEditor (is it used anywhere?)
            manager/media/calendar (replace with mootools version from CNET libraries: http://clientside.cnet.com/wiki/cnet-libraries/03-jswidgets 1/3 of the way down)
            manager/includes/sniff (seriously ... browser sniffing ... bloated implementation huh )
              Ryan Thrash, MODX Co-Founder
              Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
              • 33372
              • 1,611 Posts
              Quote from: rthrash at Feb 01, 2007, 11:04 AM

              Are there any TV formats still dependent on WebElm stuff?
              I think that the ticker output format is webelm dependent (although it’s just a matter of adding that to the document head on legacy installations, which is hardly a complicated patch).
                "Things are not what they appear to be; nor are they otherwise." - Buddha

                "Well, gee, Buddha - that wasn&#39;t very helpful..." - ZAP

                Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
                • 25663 MODX Staff
                • 12,272 Posts
                Note: possibly outside of Script/Proto, this stuff should be done post our next release.
                  Ryan Thrash, MODX Co-Founder
                  Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                  • 25663 MODX Staff
                  • 12,272 Posts
                  Scratch that ... scriptaculous is still all over the place. We’ll start purging after our next release. smiley
                    Ryan Thrash, MODX Co-Founder
                    Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                    • 31337
                    • 258 Posts
                    If we’re really in the process of nuking potential modx identifiers from sites, the /manager hardcoded URL is a great place to start