|
|
|
|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 51
Members: 0
Total: 51
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Sql Inject !! ?? <<< [ Code ] |
|
Posted: Sun May 08, 2005 2:55 pm |
|
|
Devil-00 |
Regular user |
|
|
Joined: Apr 27, 2005 |
Posts: 6 |
Location: Palestine , Jerusalem |
|
|
|
|
|
|
Hi all ,,
i have board [ PsBoard 0.1 Beta ] ..
when i view member.php code i saw this code
Code: |
}elseif($Action==View){
$UserID=$_GET[UserID];
if(!$UserID){
error("Go Back");
GoTo("javascript:history.back()");
}
$selectdbforviewuser=mysql_query("SELECT * From users Where UserID='$UserID'") or die (mysql_error());
while($row=mysql_fetch_array($selectdbforviewuser)){
extract($row);
|
we can do inject in ?
Code: |
$selectdbforviewuser=mysql_query("SELECT * From users Where UserID='$UserID'")
|
sorry for my bad english !! |
|
|
|
|
Posted: Sun May 08, 2005 5:09 pm |
|
|
waraxe |
Site admin |
|
|
Joined: May 11, 2004 |
Posts: 2407 |
Location: Estonia, Tartu |
|
|
|
|
|
|
As i can see:
Code: |
Where UserID='$UserID'
|
there is single quotes in right place. So no sql injection here in normal conditions ("magic_quotes_gpc=on")... |
|
|
|
|
|
thanks |
|
Posted: Tue Sep 27, 2005 2:59 pm |
|
|
Devil-00 |
Regular user |
|
|
Joined: Apr 27, 2005 |
Posts: 6 |
Location: Palestine , Jerusalem |
|
|
|
|
|
|
Hello
Thank You ( waraxe ) For Your Reply
Thanks ,, |
|
|
|
|
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
|
|
|
|
|
|
|