Can we tell by visiting a website that it is codeignited ? |
[eluser]notebook[/eluser]
Hi I am new to PHP , MVC and Codeigniter , i need to hire some people for my projects , they have sent me CVs with examples of websites developed in codeigniter framework. I could'nt find a way just through browsing the website that it was developed in codeigniter or some other framework or just simple plain php. One more question ,While learning PHP with codeigniter as my first framework and first step towards MVC, i have seen many tutorials on the internet showing controllers doing the jobs of models or perhaps my little knowledge of MVC makes me think like that. For example see this controller ...which i got it from here http://henrihnr.wordpress.com/2009/04/26...pplication Do you think generate table stuff and pagination like in the below example should come in a controller ? or it's just my misunderstanding about MVC and codeigniter ? Code: <?php
[eluser]SitesByJoe[/eluser]
You could try to use urls that would trigger Codeigniter errors. For example, a 404 error might still be set to CI's default. Trying to access a core file would return another CI error message etc... Only way I can think of to check though not fool-proof....
[eluser]InsiteFX[/eluser]
Show CodeIgniter Version: Code: echo 'CodeIgniter ' . CI_VERSION; InsiteFX
[eluser]theprodigy[/eluser]
[quote author="InsiteFX" date="1289347597"]Show CodeIgniter Version: Code: echo 'CodeIgniter ' . CI_VERSION; InsiteFX[/quote] I don't think you can do that when visiting a website (as per the title of the thread). Personally, I like @SitesByJoe's way. Do something that would trigger an error (purposely force a 404, or something like that). If the 404 is custom, try a different error.
[eluser]tonanbarbarian[/eluser]
a couple of things you could look for that would "suggest" the site might be CI 1. any site with a minimum of 2 "subfolders" in the path for he majority of pages and the first 2 subfolders are always fairly descriptive i.e. http://example.com/welcome/home might be CI http://example.com/welcome/1234 probably is not 2. added to #1 if the url also have index.php in it that is also a possible sign, although it is not definitive as the index.php is so easy to remove from the url but I see a lot not doing it i.e. http://example.com/index.php/welcome/home An of course I see a lot of people who put their CI code in a subfolder for no real reason so http://example.com/ci/index.php/welcome/home is a dead give away http://example.com/application/welcome/home would also suggest to me CI ideally though you do not want people to know your site runs on 1 particular technology or another so do whatever you can to disguise it, in case there are exploitable bugs found in the core of the version you are using
[eluser]WanWizard[/eluser]
Doesn't say anything. Is this a CI site? http://exitecms8.exitecms.org/en/option5/option5_2.html http://exitecms8.exitecms.org/triggeranerrorpage.html hint: look at the bottom of the page... ![]()
[eluser]Crimp[/eluser]
On the other hand, if the greatest hits of someone's CI portfolio drops default 404s and you are looking to hire...
[eluser]gRoberts[/eluser]
I'd probably do a number of different things. http://www.domain.co.uk/system/index.html - unless they have changed it, this should show "Directory access is forbidden." That said, I put my system folder outside of the htdocs/root folder, so the above wouldn't work on the majority of sites I have done. Obviously the 404 one would be best or simply asking the developer for proof that it's running CI. I.e. a sample of the source code that you can relate to a page.
[eluser]Jondolar[/eluser]
A great way to try to crack into a site is to know which application/framework, etc. the site is built upon and then try to exploit it's known weaknesses (if any). I would hope that you could not tell that a site was CI just by visiting it. If someone found an easy exploit built into CI, they could just search google for pages that revealed they were CI and then they could easily hack into the website. |
Welcome Guest, Not a member yet? Register Sign In |