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 Web-App-Sec
[Top] [All Lists]

Re: Magic Quotes

Subject: Re: Magic Quotes
Date: Tue, 10 Oct 2006 12:39:50 +0400
but that is in GBK and only against add slashes.
if magic quotes is on, and you do not add any other means of filtering, it works fine.
and you are protected, however you can still inject normal SQL ( , ; CHAR( , etc...)
it looks like as long as the developer expresses their variables as '$x' instead of $x they are safe.


Dok



----- Original Message ----- From: "Chris Shiflett" <chris@shiflett.org>
To: "DokFLeed" <dokfleed@dokfleed.net>
Cc: <webappsec@securityfocus.com>
Sent: Tuesday, October 10, 2006 5:39 AM
Subject: Re: Magic Quotes



DokFLeed wrote:
I am researching in bypassing Magic Quotes enforced by PHP

You might be interested in this post:

http://shiflett.org/archive/184

Magic quotes isn't an ideal approach, because it escapes input (in a
generic and incomplete way) for one particular purpose. This complicates
input filtering (having to account for extra characters), provides a
false sense of security, pushes responsibility to the configuration of
the environment, can't be relied upon (requires every PHP developer to
write inelegant code to deal with the lack of predictability), etc.

It is also being removed.

Chris




-------------------------------------------------------------------------
Sponsored by: Watchfire

Watchfire has new programs available for pen testers and consultants to use AppScan in client engagements. AppScan is the leading Web application assessment tool. Want to see it for yourself? Take a look today!

https://www.watchfire.com/securearea/appscancamp.aspx?id=701500000008YSz
--------------------------------------------------------------------------

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