From a9e3aadc508ed3799d1dcf696927cd864339091a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Jos=C3=A9=20Nicola?= Date: Wed, 18 Dec 2024 08:29:16 +0100 Subject: [PATCH] Add simple authenticated scan config (#1792) --- .../openvasd/simple_auth_ssh_scan.json | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 rust/examples/openvasd/simple_auth_ssh_scan.json diff --git a/rust/examples/openvasd/simple_auth_ssh_scan.json b/rust/examples/openvasd/simple_auth_ssh_scan.json new file mode 100644 index 000000000..44c3d73eb --- /dev/null +++ b/rust/examples/openvasd/simple_auth_ssh_scan.json @@ -0,0 +1,78 @@ +{ + "target": { + "hosts": [ + "localhost" + ], + "ports": [ + { + "protocol": "tcp", + "range": [ + { + "start": 22, + "end": 22 + } + ] + }, + { + "protocol": "tcp", + "range": [ + { + "start": 80, + "end": 80 + } + ] + }, + { + "protocol": "tcp", + "range": [ + { + "start": 443, + "end": 443 + } + ] + } + ], + "alive_test_methods": [ + "icmp" + ], + "credentials": [ + { + "service": "ssh", + "port": 22, + "up": { + "username": "username", + "password": "password" + } + } + ] + }, + "vts": [ + { + "oid": "1.3.6.1.4.1.25623.1.0.90022" + }, + { + "oid": "1.3.6.1.4.1.25623.1.0.900498" + }, + { + "oid": "1.3.6.1.4.1.25623.1.0.103739" + }, + { + "oid": "1.3.6.1.4.1.25623.1.0.12288" + }, + { + "oid": "1.3.6.1.4.1.25623.1.0.50282" + }, + { + "oid": "1.3.6.1.4.1.25623.1.0.103997" + }, + { + "oid": "1.3.6.1.4.1.25623.1.0.103739" + }, + { + "oid": "1.3.6.1.4.1.25623.1.0.108449" + }, + { + "oid": "1.3.6.1.4.1.25623.1.0.105782" + } + ] +}