Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
RevCMS Exploit problem
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Rastaberry" data-source="post: 300230" data-attributes="member: 1734"><p>So there's obviously an exploit in RevCMS the password forgotten case but the problem is I can delete the cases in class core. </p><p></p><p>But when I delete this code in class.users.php </p><p></p><p>[code]</p><p></p><p>final public function forgotten()</p><p> {</p><p> global $template, $_CONFIG, $core;</p><p> </p><p> if(isset($_POST['forgot']))</p><p> {</p><p> </p><p> $template->form->setData();</p><p> unset($template->form->error);</p><p> </p><p> if($this->nameTaken($template->form->for_username))</p><p> {</p><p> if(strlen($template->form->for_password) > 6)</p><p> {</p><p> if($this->getInfo($this->getID($template->form->for_username), 'seckey') == $core->hashed($template->form->for_key))</p><p> {</p><p> $this->updateUser($this->getID($template->form->for_username), 'password', $core->hashed($template->form->for_password));</p><p> $template->form->error = 'Account recovered! Go <b><a href="index">here</a></b> to login!';</p><p> return;</p><p> }</p><p> else</p><p> {</p><p> $template->form->error = 'Secret key is incorrect';</p><p> return;</p><p> }</p><p> }</p><p> else</p><p> {</p><p> $template->form->error = 'Password must have more than 6 characters.';</p><p> return;</p><p> }</p><p> }</p><p> else</p><p> {</p><p> $template->form->error = 'Username does not exist';</p><p> return;</p><p> }</p><p> }</p><p> }</p><p></p><p>[/code]</p><p></p><p></p><p>Then it gives this error: </p><p></p><p><strong>Fatal error</strong>: Class Revolution\users contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Revolution\iUsers::forgotten) in <strong>C:\xampp\htdocs\app\class.users.php</strong> on line<strong>482</strong></p><p><strong></strong></p><p><strong>Is there any solvation for this problem?</strong></p></blockquote><p></p>
[QUOTE="Rastaberry, post: 300230, member: 1734"] So there's obviously an exploit in RevCMS the password forgotten case but the problem is I can delete the cases in class core. But when I delete this code in class.users.php [code] final public function forgotten() { global $template, $_CONFIG, $core; if(isset($_POST['forgot'])) { $template->form->setData(); unset($template->form->error); if($this->nameTaken($template->form->for_username)) { if(strlen($template->form->for_password) > 6) { if($this->getInfo($this->getID($template->form->for_username), 'seckey') == $core->hashed($template->form->for_key)) { $this->updateUser($this->getID($template->form->for_username), 'password', $core->hashed($template->form->for_password)); $template->form->error = 'Account recovered! Go <b><a href="index">here</a></b> to login!'; return; } else { $template->form->error = 'Secret key is incorrect'; return; } } else { $template->form->error = 'Password must have more than 6 characters.'; return; } } else { $template->form->error = 'Username does not exist'; return; } } } [/code] Then it gives this error: [B]Fatal error[/B]: Class Revolution\users contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Revolution\iUsers::forgotten) in [B]C:\xampp\htdocs\app\class.users.php[/B] on line[B]482[/B] [B] Is there any solvation for this problem?[/B] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
RevCMS Exploit problem
Top