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. |

| Subject: | RE: sql injection with order by |
|---|---|
| Date: | Fri, 8 Apr 2005 15:30:06 -0700 |
Adding the '--' comments out everything after the sql you're putting in. It won't work without it because you are getting a syntax error on what you are trying to run. -----Original Message----- From: dietf dietf [mailto:dietf@yahoo.com] Sent: Thursday, April 07, 2005 8:52 PM To: pen-test@securityfocus.com Subject: sql injection with order by Hi all, I am trying to make an injection with the statement below, SQL = "SELECT ProID, CusID, Name FROM ProTur WHERE Lan=0 AND CusID='%Customer%' ORDER BY Sira, ProjeTurID" in the statement above I inject ")select @@version-- for the variable Customer. But unless I have ended inject code with -- nothing happens. I get SQL = "SELECT ProID, CusID, Name FROM ProTur WHERE Lan=0 AND FirmaID=")select @@version-- ORDER BY Sira, ProjeTurID" what is the problem? can anybody tell me? Is the problem occurs from the word ORDER BY? Thanks
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Rogue AP Wireless on Windows/Linux, szynkro@gmail.com |
|---|---|
| Next by Date: | Re: Fingerprinting Firewall, Byron L. Sonne |
| Previous by Thread: | sql injection with order by, dietf dietf |
| Next by Thread: | Re: sql injection with order by, Chitresh Sen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |