Author
Message
sixonetonoffun Spouse Contemplates Divorce Joined: Jan 02, 2003 Posts: 2499
Posted:
Wed May 05, 2004 8:27 pm
Ok I only tried on the most recent files didn't apply the extra code changes.
chatserv The Mouse Is Extension Of Arm Joined: May 02, 2003 Posts: 1396 Location: Puerto Rico
Posted:
Wed May 05, 2004 8:45 pm
Code: $result=sql_query("SELECT lid, url, title, description, date, hits, downloadratingsummary, totalvotes, totalcomments, filesize, version, homepage FROM ".$prefix."_downloads_downloads WHERE sid=$sid order by $orderby limit $min,$perpage", $dbi);
Change to:
Code: $result=sql_query("SELECT lid, url, title, description, date, hits, downloadratingsummary, totalvotes, totalcomments, filesize, version, homepage FROM ".$prefix."_downloads_downloads WHERE sid='$sid' order by $orderby limit $min,$perpage", $dbi);
sixonetonoffun Spouse Contemplates Divorce Joined: Jan 02, 2003 Posts: 2499
Posted:
Wed May 05, 2004 9:28 pm
Yeah that does it wonders.
sixonetonoffun Spouse Contemplates Divorce Joined: Jan 02, 2003 Posts: 2499
Posted:
Thu May 06, 2004 5:12 am
In 7.2 its a little different too.
Code:
$result=$db->sql_query("SELECT lid, url, title, description, date, hits, downloadratingsummary, totalvotes, totalcomments, filesize, version, homepage FROM ".$prefix."_downloads_downloads WHERE sid=$sid order by $orderby limit $min,$perpage");
manunkind Client Joined: Apr 26, 2004 Posts: 368 Location: Albuquerque, NM
Posted:
Thu May 06, 2004 6:29 am
Anybody know if NS Download is safe from these exploits?
chatserv The Mouse Is Extension Of Arm Joined: May 02, 2003 Posts: 1396 Location: Puerto Rico
Posted:
Thu May 06, 2004 7:31 am
For that particular line just search for WHERE sid=$sid and replace with WHERE sid='$sid' (add quotes to the $sid variable)
sixonetonoffun Spouse Contemplates Divorce Joined: Jan 02, 2003 Posts: 2499
Posted:
Thu May 06, 2004 2:27 pm
Yeah I'd check out any modules that where based on the original closely there is a good chance this was missed in some along the way.
Goto page Previous 1 , 2 , 3 , 4
View next topic
View previous topic
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