Difference between revisions of "NoOp"

From SpybotWiki
Jump to: navigation, search
Line 1: Line 1:
''NoOp'' is the short form of ''No Operation'' and is a simple command that does not anything to the results list, but can assist as a blind helper for some operations, since it understands [[Advanced file parameters|advanced file parameters]].
+
''NoOp'' is the short form of ''No Operation'' and is a simple command that does not anything to the results list, but can assist as a blind helper for some operations.
  
 
==Usage==
 
==Usage==
  NoOp:[advanced file parameters],<any number of optional parameters here>
+
  NoOp:<advanced file parameters>[,any number of optional useless fun parameters here]
  
 
===Examples===
 
===Examples===
Line 9: Line 9:
  
 
The first example checks the environment variable ''greeting'' whether it is set to ''HelloWorld'', and if so, lets the scanner skip the following 10 lines during On-Demand scans. The second example operates similarly, but tests only for the existance of said environment variable.
 
The first example checks the environment variable ''greeting'' whether it is set to ''HelloWorld'', and if so, lets the scanner skip the following 10 lines during On-Demand scans. The second example operates similarly, but tests only for the existance of said environment variable.
 +
 +
===Description===
 +
* The first parameter is the only one actually used. You can specify a file name here using the [[filename]] advanced parameter, which will always be parsed first, and on which [[Advanced file parameters|advanced file parameters]] are later executed (without [[filename]], they'll be run on an empty filename). After 1.5.2, [[filename]] also supports [[Path templates|path templates]]. {{PathTemplates}}
 +
 +
==Scan Results==
 +
None, since this is a nearly passive command used only for flow control.
  
 
==See also==
 
==See also==
 
* [[Advanced file parameters]]
 
* [[Advanced file parameters]]
 
* [[Description templates]]
 
* [[Description templates]]
 +
* [[Path templates]]
  
 
===Similar commands===
 
===Similar commands===
Line 18: Line 25:
  
 
[[Category:SBI Commands]]
 
[[Category:SBI Commands]]
[[Category:SBI Commands (current)]]
 

Revision as of 12:20, 18 February 2008

NoOp is the short form of No Operation and is a simple command that does not anything to the results list, but can assist as a blind helper for some operations.

Usage

NoOp:<advanced file parameters>[,any number of optional useless fun parameters here]

Examples

NoOp:"chkenv=greeting:HelloWorld,skipcount=10"
NoOp:"isenv=greeting,skipcount=10"

The first example checks the environment variable greeting whether it is set to HelloWorld, and if so, lets the scanner skip the following 10 lines during On-Demand scans. The second example operates similarly, but tests only for the existance of said environment variable.

Description

  • The first parameter is the only one actually used. You can specify a file name here using the filename advanced parameter, which will always be parsed first, and on which advanced file parameters are later executed (without filename, they'll be run on an empty filename). After 1.5.2, filename also supports path templates. PT

Scan Results

None, since this is a nearly passive command used only for flow control.

See also

Similar commands

None, this is a blind thing.