Read a Web Scanner query example
- 08 Feb 2024
- 1 Minute to read
- Print
- DarkLight
Read a Web Scanner query example
- Updated on 08 Feb 2024
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Here are two examples of the same query - using both the Command Line, and the Constructor - that scans for IPs hosted in Japan, seen in the last 7 days.
1. Command Line query
Command Line queries are executed using SPQL syntax. Here's a breakdown of the syntax involved in the above query:
Code | Role | Description |
---|---|---|
scan_date | Field name | The date the IP was scanned |
> | Operator | Is greater than |
now-7d | Value | The previous 7 days |
AND | Separator | And the |
tld | Field name | Top level domain |
= | Operator | Is equal to |
jp | Value | Japan |
2. Constructor query
Using the same parameters, the same query can also be executed using the Constructor feature.
As you can see, each collection of a single Field name
, Operator
and Value
represents a self-contained Expression
, linked together by the AND
separator:
Was this article helpful?