-
Notifications
You must be signed in to change notification settings - Fork 621
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Usage: `scannerctl execute scan [OPTIONS] --path <FILE> [json]` This is in a very early state. We need to add storage options for ports or the whole scan to look them up when running. We additionally need to add a alive checks that will set the required parameter. The script_dependency check is also not enabled for now.
- Loading branch information
1 parent
bae71e8
commit 61d861b
Showing
18 changed files
with
672 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
if (description) | ||
{ | ||
script_oid("0.0.0.0.0.0.0.0.0.2"); | ||
script_version("2023-02-23T13:33:44+0000"); | ||
script_tag(name:"last_modification", value:"2020-12-07 13:33:44 +0000 (Mon, 07 Dec 2020)"); | ||
script_tag(name:"creation_date", value:"2009-05-12 22:04:51 +0200 (Tue, 12 May 2009)"); | ||
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:N"); | ||
script_name("Application Server Detection (HTTP)"); | ||
script_category(ACT_GATHER_INFO); | ||
script_tag(name:"qod_type", value:"remote_banner"); | ||
script_family("Product detection"); | ||
script_copyright("Copyright (C) 2023 Greenbone AG"); | ||
script_tag(name:"summary", value:"HTTP AS detection"); | ||
script_xref(name:"URL", value:"https://greenbone.net"); | ||
script_dependencies("1.nasl"); | ||
exit(0); | ||
} | ||
exit(42); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
e39d088df5527aad59ac29cdad03e80abc0033de9f19cce0a8235e8e502adc39 1.nasl | ||
1685505110659defb2d310f54950128fa5cc8867f89ff35cb647228e091e87e9 ./1.nasl | ||
2e21d3f6973e02e74ebc10dcc4ca77e7fbe414d6a8b985b2e0cda0111199a6aa ./plugin_feed_info.inc | ||
dd086316af60a82f1e4a8fe4fc8a92885a81bc538a55df1528cc509bc3e13c72 ./sha256sums | ||
88924cd3cbec2b070afd45fcd4aabd9096763379eb816c200b3dc4abfae96b08 ./2.nasl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"target": { | ||
"hosts": [ | ||
"127.0.0.1" | ||
], | ||
"ports": [ | ||
{ | ||
"range": [ | ||
{ | ||
"end": 22, | ||
"start": 22 | ||
} | ||
], | ||
"protocol": "tcp" | ||
} | ||
], | ||
"alive_test_methods": [ | ||
"icmp", | ||
"tcp_syn", | ||
"tcp_ack", | ||
"arp" | ||
], | ||
"credentials": [] | ||
}, | ||
"scanner_preferences": [], | ||
"vts": [ | ||
{ | ||
"oid": "0.0.0.0.0.0.0.0.0.2", | ||
"parameters": [] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.