Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Pen-Test
[Top] [All Lists]

Re: Executing PHP Code from MSSQL table

Subject: Re: Executing PHP Code from MSSQL table
Date: Wed, 17 Oct 2007 12:28:08 +0200 (IST)
On Mon, 15 Oct 2007, Danux wrote:
after testing a PHP-MSSQL app, i am able to insert and update tables
but i can't execute store_procedures, so, i was wondering if its
possible to update a table putting something like: "phpinfo()" or
(passthru("ipconfig")) in order to execute while loading the page?

You cannot execute strings directly, but if developers are
clueless enough it is very likely that they actually eval code
stored in db (this blunder is especially common in `content
management systems') -- grep for eval and other similar
functions.

Yet another common mistake is to store in database paths to code
that is included in pages.

-- 
Regards,
ASK

------------------------------------------------------------------------
This list is sponsored by: Cenzic

Need to secure your web apps NOW?
Cenzic finds more, "real" vulnerabilities fast.
Click to try it, buy it or download a solution FREE today!

http://www.cenzic.com/downloads
------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>