| |||||
| |||||
Search Irongeek.com:
Help Irongeek.com pay for bandwidth and research equipment: |
Back To MAN Pages From BackTrack 5 R1 Master List
For example, some NAS boxes send a NAS-Port attribute
which is a 32-bit number composed of port, card, and interface, all in
different bytes. To see these attributes split into pieces, you can
have an entry in the 'users' file like:
where the attributes Vendor-Interface, Vendor-Card, and Vendor-Port
are attributes created by either you or a vendor-supplied
dictionary.
The methematical operators supported by the expression module are:
NOTE: The modulo remainder operator is '%%', and not '%'. This
is due to the '%' character being used as a special character for
dynamic translation.
NOTE: These operators do NOT have precedence. The parsing
of the input string, and the calculation of the answer, is done
strictly left to right. If you wish to order the expressions, you
MUST group them into sub-expression, as shown in the previous
example.
All of the calculations are performed as unsigned 32-bit integers.
15 most recent posts on Irongeek.com:
|
If you would like to republish one of the articles from this site on your
webpage or print journal please contact IronGeek.
Copyright 2020, IronGeek
Louisville / Kentuckiana Information Security Enthusiast