Update of /cvsroot/phpida/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23691
Modified Files:
012.php
Log Message:
Empty. We need to make a new version of this.
Index: 012.php
===================================================================
RCS file: /cvsroot/phpida/plugins/012.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** 012.php 21 Aug 2007 18:18:21 -0000 1.5
--- 012.php 21 Aug 2007 18:41:46 -0000 1.6
***************
*** 15,33 ****
class ida_012 extends plugin {
! static public function checkRequest($requestInfo) {
! $pluginObj = new plugins();
!
! $requestInfo['info'] = "The User-Agent is reported as bad";
! $requestInfo['risk'] = "high";
! $requestInfo['break'] = 0;
! $requestInfo['type'] = "Misc";
!
! if($pluginObj->getUaType($requestInfo['agent'])==2) {
! $requestInfo[0] = 1;
! } else {
! $requestInfo[0] = 0;
! }
! self::$res = $requestInfo;
! }
}
?>
\ No newline at end of file
--- 15,19 ----
class ida_012 extends plugin {
!
}
?>
\ No newline at end of file
|