Remote File Inclusion Scanner
NoPax wrote: Yeah funny and usefull =) But if you have a lot php files it's to much work to look through everyone. Perhaps there is a tool which scanns the files and say ther is one or not.
Greetz NoPax
I believe that there isn't such thing. There are RFI scanners, which request the server with for instance the most common types of rfi, like http://google.com/index.php?page=, and then determine whether there is the vulnerability or not, but file scanner, I don't think so. Anyway why do you need it, just switch off register_globals in php.ini. And if you really want one, then just write something that looks for every include function in the file, and if found, checks whether it is properly sanitized…
dammit too late:D
I need it because it would save a lot of time if you look through new php projects and to find a vuln.
@Zaphir I can try to programm it, but I'm pretty sure it will not work =) And I have to read about this Regex in Wikipedia because I have never heard that before.
Greetz NoPax
NoPax wrote: @Zephyr I can try to programm it, but I'm pretty sure it will not work =) And I have to read about this Regex in Wikipedia because I have never heard that before.
Regex = Regular Expression
It wouldn't be difficult at all. Just look up some quick references to regex and throw something together until one works.
NoPax wrote: Yeah I will try it =) Is it possible to write it in VB 6 ? At time I don't have any other programming language on my notebook.
Greetz NoPax
Erh? You can just go ahead and download some stuff like, compilers, and such. You -could- do it in VB6.0, you -should- do it in Python/perl, or, PHP.
I found some scripts and one programm.
So here is the code if some one is interested in it: http://snippets.dzone.com/posts/show/5094
And the prog: http://sourceforge.net/projects/securityscanner/
Thank you for your help.
Greetz NoPax
NoPax wrote: It wouldn't have any sense only to use that. So it's really easy to program. I will start tomorrow programming it. But next week I am away so it will be ready in two weeks =) And it's always good to learn new stuff =) Exactly. I respect people who are ready to learn new things in order to solve their problems themselves, instead of just downloading premade tools ^^