Login   Register  
PHP Classes
elePHPant
Icontem

File: redme_en.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of andrei vadimovich  >  Web Shell Searcher  >  redme_en.txt  >  Download  
File: redme_en.txt
Role: Documentation
Content type: text/plain
Description: readme en
Class: Web Shell Searcher
Search for words in files
Author: By
Last change:
Date: 2010-08-18 14:36
Size: 1,176 bytes
 

Contents

Class file image Download
Class for search a web-shells. 
Work principle - search of coincidence. In a base file words lie,
which meet in a web-shells. The class touches all files on your 
web resource also searches there for coincidence to base

Variables:
	- $base_file - a base file. The necessary format: txt
 	- $alternative_base - words for search. The necessary format: word1, word2
 	If this variable is defined, search will be carried out 
	 Only by these words(word)
 	- $extension - expansion of files in which it is necessary to search
 	- $scan_dir - directory for check
 	- $chmod - if this variable is defined, search will be is made only
 	In those directories, if chmod 777
	
Example of start without parameters:
	$check=new WSSClass_c();
	print_r($check->check_dirs());
	
	At such start - the current directory will be scanned
	
	
Scanning of the previous directory
- Only files with expansion php
- Words for search - system, cmd
- To search only in directories with chmod 777

	$check=new WSSClass_c();
	$check->alternative_base("system,cmd");
	$check->extension="php";
	$check->scan_dir="..";
	$check->chmod=true;
	
	print_r($check->check_dirs());