utilitiesWhen creating a website, you often have to look for one or another piece of code in files. Especially when snapping the template. The problem can be solved if you have a shell and basic knowledge of the grep command. But it is bad if you don’t. The utility is designed for just such occasions. The operational principle of it is extremely simple. Specify which files to scan (only the file extensions, basic ones are by default). Specify the folder to be scanned (all of its subfolders are scanned). And then the string to search. Those who know regular expressions can use them in a mode for regular expressions. For example in such a way /(<a *.*?href=[\'\"]?http[s]?:\/\/.*?<\/a>)+/ you will find files that have external links. And like this - the files that have email-s / [a-z0-9 \.] + @ [A-z0-9 \.] + / I. Examples are indicative, you can write down your own expressions.

Important! Before copying a file find-string.php to your server, specify the username and password to access it in the lines:

    $ Nick = "admin"; / / Attention!!! Change it!

    $ Password = "1234"; / / Attention!!! Change it!

    You can download the script here (Version 0.1.0)

Installation:

    Specify a name and password to access the script in the file find-string.php in lines:

$ Nick = "admin"; / / Attention!!! Change it!

$ Password = "1234"; / / Attention!!! Change it!

1.    Copy the file find-string.php to the root directory of your site.

2.    Open the file http://your web site / find-string.php in your browser.

    We wish you less problems with security of your projects !