![]() |
|
Rating hack bug - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Rating hack bug (/thread-1185.html) |
Rating hack bug - SubJunk - 2007-02-21 Hi there, Rating: Not sure what's causing that. Any ideas? Rating hack bug - trisweb - 2007-02-21 Could it be someone hacked it to insert a value greater than 5? You may want to check for that if it's possible... Rating hack bug - trisweb - 2007-02-21 No hack needed, I found it. This averages the current score with 500,000 `http://www.dualmonitorbackgrounds.com/themes/dmb/db.php ?j=499999 &q=39 &t=68.122.159.210 &c=500000` I'm sorry, I tested it on this image to find the exploit -- http://www.dualmonitorbackgrounds.com/abstract/MyBalls.jpg.html . It originally had a rating of 1.1 with 17 votes, you probably want to change the db back. There's no limit to how hight that number can go, because the maximum vote is controlled by the query attribute In db.php, change Rating hack bug - SubJunk - 2007-02-21 Awesome, thanks. I'll change it tomorrow. I appreciate it a lot Might want to edit the code on the Trac too (if you haven't already) Rating hack bug - SubJunk - 2007-02-22 Worked like a charm, thanks again! Rating hack bug - emc - 2009-01-04 http://www.zenphoto.org/zenphoto/zp-core/plugins/rating.php?clear_rating=1 unacceptable bye Rating hack bug - emc - 2009-01-04 sorry Rating hack bug - acrylian - 2009-01-05 Thanks, we will look at that. |