|
|
|
|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 67
Members: 0
Total: 67
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
how to add priviledges to user in sql injection |
|
Posted: Wed Sep 05, 2012 6:13 am |
|
|
kbt0000 |
Beginner |
|
|
Joined: Sep 05, 2012 |
Posts: 1 |
|
|
|
|
|
|
|
One of ways to add priviledges to user in mysql is to use grant command. For example in order to add all priviledges use this syntax:
grant all priviledges on datbase to user
But i do not know how to use this command in sql injection with concrete link. For example, i inject as follow:
http://site.com/shop.php?id=2&sid=3 grant all priviledges on hunterde_dev to hunterde_dev@localhost--
But i receive a syntax error. So does anyone know how to use this command in sql injection?Or anyone know how to add priviledges or escalate priviledges to the user whom we connect to the database on network with, please tell me. Thank in advance |
|
|
|
|
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
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|
|