Jump to content

How to exploit Missing Controller error of a website for hacking


ekirusk
 Share

Recommended Posts

Error: Index.phpController could not be found.

Error: Create the class Index.phpController below in file: app/Controller/Index.phpController.php

<?php
class Index.phpController extends AppController {

}

Notice: If you want to customize this error message, create app/View/Errors/missing_controller.ctp

Stack Trace

#0 /var/www/vhosts/thaiphiendn.edu.vn/httpdocs/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#1 {main}
Link to comment
Share on other sites

  • 2 weeks later...

If you want to learn more about this type of thing, here are some resources:

https://portswigger.net/web-security

https://github.com/digininja/DVWA

https://owasp.org/www-project-juice-shop/

Install or go at these as much as you like, do not go at live sites which you do not have full permission to test.

Link to comment
Share on other sites

2 minutes ago, ekirusk said:

@digininja how to exploit this error? And what methods to do that?plzzzzz

Error: Index.phpController could not be found.

Error: Create the class Index.phpController below in file: app/Controller/Index.phpController.php

<?php
class Index.phpController extends AppController {

}

Notice: If you want to customize this error message, create app/View/Errors/missing_controller.ctp

Stack Trace

#0 /var/www/vhosts/thaiphiendn.edu.vn/httpdocs/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#1 {main}
Link to comment
Share on other sites

No, we can't help you with that as you are going against a target you do not have permission to test against - this makes it illegal.

We do not allow illegal content on this site, any more requests on this matter and you will end up being banned.

Learn on sites you are allowed to test against, that way you won't end up getting in trouble over it. If you really want to learn, start from the basics, learn how to install CakePHP, create yourself a sample app, and in doing so you will learn what causes this issue and what can, and can't, be done with it.

  • Upvote 2
Link to comment
Share on other sites

13 hours ago, digininja said:

No, we can't help you with that as you are going against a target you do not have permission to test against - this makes it illegal.

We do not allow illegal content on this site, any more requests on this matter and you will end up being banned.

Learn on sites you are allowed to test against, that way you won't end up getting in trouble over it. If you really want to learn, start from the basics, learn how to install CakePHP, create yourself a sample app, and in doing so you will learn what causes this issue and what can, and can't, be done with it.

@digininja Can i have your email, sir?plzz

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...