modxcms / docs

7 stars 9 forks source link

[POSSIBLE HACKED SCRIPT] Reverse Engineer xPDO Classes from Existing Database Table #48

Open narkan opened 9 years ago

narkan commented 9 years ago

Page Title

Reverse Engineer xPDO Classes from Existing Database Table

URL

http://rtfm.modx.com/revolution/2.x/case-studies-and-tutorials/reverse-engineer-xpdo-classes-from-existing-database-table

Issue or Suggestion

The main schema-building php script toward the bottom of the page has some odd invisible code in it. See suspect commented <!--php tag at begininng. I ran it twice - grrr!

Cheers Toby

goldsky commented 9 years ago

The wiki script always tries to sanitize the php's open tag, but seems not clean for that in particular.

Mark-H commented 9 years ago

Hmmm, am I overlooking the problem here? Aside from the php tag which I suspect is "sanitised" like rico says, I don't see any issues with that script?