[Phpida-cvs] ida ida.php,1.23,1.24
Status: Alpha
Brought to you by:
xqus
From: Audun L. <xq...@us...> - 2007-08-21 18:56:54
|
Update of /cvsroot/phpida/ida In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29611 Modified Files: ida.php Log Message: removed the --analyze option Index: ida.php =================================================================== RCS file: /cvsroot/phpida/ida/ida.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** ida.php 21 Aug 2007 18:42:32 -0000 1.23 --- ida.php 21 Aug 2007 18:56:55 -0000 1.24 *************** *** 173,177 **** */ die("Unknown option: ".$argument); ! break; /** * Prevent Ida from loading and saving the .idarc file --- 173,177 ---- */ die("Unknown option: ".$argument); ! break; /** * Prevent Ida from loading and saving the .idarc file *************** *** 324,348 **** //TODO: Don't do anything if we don't got any plugins. foreach($this->loadedPlugins as $loadedPlugin) { ! $this->userAgents[$requestInfo['agent']]=1; ! call_user_func(array('ida_'.$loadedPlugin, 'checkRequest'), $requestInfo); ! $pluginData = call_user_func(array('ida_'.$loadedPlugin, 'getResult')); ! if($pluginData[0]==1) { ! $this->report($pluginData); ! if(trim($pluginData['break'])==1) { ! break; ! } ! } ! } ! } ! ! ! /** ! * --analyze ! */ ! if(($pluginData[0]==0) && ($this->optAnalyze==true)) { ! $pluginData['info'] = "Nothing found.."; ! $pluginData['risk'] = "low"; ! $this->report($pluginData); ! } } --- 324,338 ---- //TODO: Don't do anything if we don't got any plugins. foreach($this->loadedPlugins as $loadedPlugin) { ! $this->userAgents[$requestInfo['agent']]=1; ! call_user_func(array('ida_'.$loadedPlugin, 'checkRequest'), $requestInfo); ! $pluginData = call_user_func(array('ida_'.$loadedPlugin, 'getResult')); ! if($pluginData[0] == 1) { ! $this->report($pluginData); ! if(trim($pluginData['break'])==1) { ! break; ! } ! } ! } ! } } |