Every FASL script starts with a basic construct eg,
- Some library includes
- Some FASL Variables,
FASL.vulnID = 40672;
FASL.attackType = ATTACK_NONINTRUSIVE;
FASL.protocol = PROTOCOL_TCP;
FASL.os = OSG_LINUX;
FASL.filtertype = REGEXP_FILTER;
FASL.filters.osVersion = "(RHEL2\.1AS|RHEL2\.1ES|RHEL2\.1WS)";
- And a function faslmain(parms)
I had some questions that I cannot find in the FASL documentation (fsldoc) either?? like,
1) What are these variables used for especially "FASL.filters.osVersion"?
2) What is the structure of the "parms" passed to the faslmain()??
This question could be naïve but I couldn't find it anywhere . Let me know if someone has already figured it out.
The FASL variables at the top are used to identify the parameters used to determine when the check is run against a target system. So in your example above, that check is identified as...
Per your second question, it is my understanding that parms is just a variable to allow you to pass a variable between different functions.