New User Registration
Close

Register

New User








[X] Close

Overview

######### myPHPscripts Injection Scanner ########

Developed by Scott J. LeCompte from myPHPscripts.net

######### Introduction #########

Thanks for downloading myPHPscripts Injection Scanner! This file contains all the information you need to successfully install and configure the script for your website.

myPHPscripts Injection Scanner is a simple php script designed to:

* Parse URL query strings
* Detect malicious code
* Log data about offenders
* Log data about malicious code
* Notify the webmaster of injection attempts
* Inform the offender of the logged offense
* Ban the offender from all protected pages

######### Hardware & Software Requirements #########

The script was developed and tested under the following environment:

* Operating System: Linux
* Web Server: Apache 2.2.6
* PHP Version: 5.2.5
* MySQL Version: 5.0.45

######### Included Files & Folders #########

The zip file includes the following:

* /whois/ - <a href="http://www.phpwhois.org/" target="_blank" title="phpWhois">phpWhois is a php class for whois lookups.
* exploits.txt - A list of known character strings used in remote execution exploits. The default list is a contribution from <a href="http://armatechsquad.com/" target="_blank">Armatec.
* install.php - The base installer. This file will install and configure the script.
* license.txt - The GNU General Public License
* scan.php - The entire working code is in this file. It contains the base scanner, HTML output, and administration panel.
* readme.html - You are reading this file right now.
* .htaccess - Secures the configuration file and installation directory, and rewrites the admin panel URL. Empty by default.
* config.php - Contains all the configuration data for the script. Empty by default.

######### Installation #########

Follow these steps to install and configure the script for your website. These instructions apply to novice users. Advanced users may want to make changes.

1. Unzip the file.
2. Upload the contents of the injection_scanner directory to a directory of your choice on your webserver.
3. Change the permissions of the .htaccess and config.php files to CHMOD 777.
4. Create an empty MySQL database and write down the name, user, and password.
5. Visit the URL to the install.php file. It should be something like: http://www.yoursite.com/injection_scanner/install.php.
6. Fill out the form, write down the value in the Absolute Path form field, and click the install button. You should not need to change the Exploit List or Absolute Path.
7. Edit the source code for the page you want to protect. On the first line of the source code, insert the following code. Remember to replace /absolute/path/to/ with the absolute path you wrote down in step 6.

<?php include('/absolute/path/to/scan.php'); ?>

8. Make sure the extension of the file you are protecting is .php. If not, change it.
9. Visit the protected page and add the query string ?cmd= to the end of the filename. If your IP address is banned or logged, the script is working.
10. Visit the URL to the admin login page. It should be something like: http://www.yoursite.com/injection_scanner/admin/. Log in and delete the entry containing your IP address.
[X] Close
lead
View our reviews on Hot Scripts
Listed at Hot Scripts in PHP

Injection Scanner

The script does not work. The empty screen

User Post
-Ne!oM-
Member
Posts: 2
Posted: 2008-05-26 10:41:42
At first I wish to tell thanks for such useful script. Respect to the author.

After I insert yours include into the working script, it ceases to work, giving out the empty screen.

Earlier, by the same machine I checked your script in a test script:

Code:
<html>
<head>
<title> test </title>
</head>
<body>
<? php include ('/absolute/path/to/scan.php ');?>
<? php
echo "good PHP!";
?>

</body>
</html>


Instead of "absolute/path/to /" - I used my path.

And it worked perfectly well! But in the present script, after an insert of yours "include" I received the empty screen...

At me it is installed PHP ver 4.4.6, I know that is required 5.2.5 but to update PHP for me there is no possibility...

Whether it is possible for me to make the script worker? Why I receive the empty screen?


Thanks for attention.
Scott
Admin
Posts: 211
Posted: 2008-05-27 04:07:25
You are supposed to insert your own path.
-Ne!oM-
Member
Posts: 2
Posted: 2008-05-29 06:01:32
Yes, I know.
I used my path '/www/n-team/htdocs//is/scan.php' ,
But after that had the empty screen... Why?
Scott
Admin
Posts: 211
Posted: 2008-05-29 07:00:05
Did you include this file at the top of an existing file? Did you attempt to inject code into the URL?
Page: [ 1 ]

New Post

You must be logged in to post on the discussion boards.
Einstein Computers LLC - Computer Service, Repair, and Web Development in East Texas including Henderson, Laneville, Cushing, Mt. Enterprise, Reklaw, and Lake Striker