Waraxe IT Security Portal
Login or Register
May 2, 2025
Menu
Home
Logout
Discussions
Forums
Members List
IRC chat
Tools
Base64 coder
MD5 hash
CRC32 checksum
ROT13 coder
SHA-1 hash
URL-decoder
Sql Char Encoder
Affiliates
y3dips ITsec
Md5 Cracker
User Manuals
AlbumNow
Content
Content
Sections
FAQ
Top
Info
Feedback
Recommend Us
Search
Journal
Your Account
User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144

People Online:
Visitors: 78
Members: 0
Total: 78
Full disclosure
Microsoft Windows .XRM-MS File / NTLM Information DisclosureSpoofing
[IWCC 2025] CfP: 14th International Workshop on Cyber Crime -Ghent, Belgium, Aug 11-14, 2025
Inedo ProGet Insecure Reflection and CSRF Vulnerabilities
Ruby on Rails Cross-Site Request Forgery
Microsoft ".library-ms" File / NTLM Information Disclosure (Resurrected 2025)
HNS-2025-10 - HN Security Advisory - Local privilege escalation in Zyxel uOS
APPLE-SA-04-16-2025-4 visionOS 2.4.1
APPLE-SA-04-16-2025-3 tvOS 18.4.1
APPLE-SA-04-16-2025-2 macOS Sequoia 15.4.1
APPLE-SA-04-16-2025-1 iOS 18.4.1 and iPadOS 18.4.1
Business Logic Flaw: Price Manipulation - AlegroCartv1.2.9
Stored XSS in "Message" Functionality - AlegroCartv1.2.9
XSS via SVG Image Upload - AlegroCartv1.2.9
BBOT 2.1.0 - Local Privilege Escalation via Malicious ModuleExecution
83 vulnerabilities in Vasion Print / PrinterLogic
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Sql injection -> A simple sql password bypass question.
Post new topicReply to topic View previous topic :: View next topic
A simple sql password bypass question.
PostPosted: Thu Feb 21, 2008 5:45 am Reply with quote
S_R_S
Beginner
Beginner
Joined: Feb 21, 2008
Posts: 1




I'v read many sql injection tutorials and google this but I can't figure out this question.
If I type admin:' or 1=1-- and I get an error can I type admin:' or a=a-- and have a chance of it working?
or if 1 of them is block their all blocked?

Thanks for the help,
S_R_S
View user's profile Send private message
PostPosted: Thu Feb 21, 2008 8:27 am Reply with quote
gibbocool
Advanced user
Advanced user
Joined: Jan 22, 2008
Posts: 208




im not so sure what you're asking, but you'll find if putting a ' doesnt work for you then that's because ' are escaped (i.e. have backslash before).
View user's profile Send private message Visit poster's website
PostPosted: Thu Feb 21, 2008 11:52 am Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




This example of yours:

Code:

or a=a--


It is flawed! If you do not surround string with quotes, then sql engine will think, that it's something else - like field names or aliases.
Right version is:

Code:

or 'a'='a'--


Next - what sql? MSSQL? PostgreSql? MySql? Oracle?

And please provide detailed error message(s).
View user's profile Send private message Send e-mail Visit poster's website
A simple sql password bypass question.
www.waraxe.us Forum Index -> Sql injection
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT
Page 1 of 1

Post new topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



PCWizardHub - Helping you fix, build, and optimize your PC life
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2024 Janek Vind "waraxe"
Page Generation: 0.037 Seconds