|
|
|
|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 50
Members: 0
Total: 50
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Possiblee ?! - newbie`s firststeps |
|
Posted: Wed May 18, 2005 12:31 pm |
|
|
Involar |
Beginner |
|
|
Joined: May 18, 2005 |
Posts: 2 |
|
|
|
|
|
|
|
I was wondering if its possible to get/write smth from a db with php site with programs like Absinthe, sql inject etc ...
While learning and searching for help i met this example
Code: | }
$exploit = "194 3 172 7 "; // Query to update character
for ($i = 0; $i < strlen($charname); $i++)
{
$exploit .= ord(substr($charname, $i, 1)) . " ";
}
for ($i = 10-strlen($charname); $i > 0; $i--)
{
$exploit .= "0 ";
}
|
this exactly somehow discovers the Name of my Character in the DB ...
and
Code: |
$charvar = explode(" ", $exploit);
$exploit = "\$exploit = ";
for ($i = 0; $i < count($charvar); $i++)
{
$exploit .= "chr(" . $charvar[$i] . ") . ";
}
$exploit = substr($exploit, 0, strlen($exploit)-3);
$exploit .= ";";
eval($exploit);
socket_write($socket, $exploit, strlen($exploit));
socket_close($socket);
|
and so on you probably understand, can do everything with that char - change his name stats and so on ...
Is this possible with the programs i mentioned and if does, i would be very gratefull if you explain how to
thx alot |
|
|
|
|
|
|
|
|
Posted: Mon Jun 27, 2005 2:21 am |
|
|
ZeroValue |
Beginner |
|
|
Joined: Jun 27, 2005 |
Posts: 1 |
|
|
|
|
|
|
|
Hi, I'm a brazillian programmer and a mu player too. This code is a sql injection that edits the char in the game, you can modify anything: stats, items, etc.
I'm developing a program based on the code (complete), if u wanna know more about this, mail me, zerovalue@gmail.com.
Sorry, my english is very poor... |
|
|
|
|
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
|
|
|
|
|
|
|