Skip to content

Commit 80b3570

Browse files
authored
Merge branch 'main' into ipv6
2 parents 61d1dfc + fe34055 commit 80b3570

File tree

29 files changed

+86
-52
lines changed

29 files changed

+86
-52
lines changed

.github/workflows/build-rs.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ jobs:
3838
cp "./${DIST}/install/usr/local/bin/openvasd" "${ASSETS_SUBDIR}/openvasd"
3939
cp "./${DIST}/install/usr/local/bin/scannerctl" "${ASSETS_SUBDIR}/scannerctl"
4040
cp "./${DIST}/install/usr/local/bin/feed-verifier" "${ASSETS_SUBDIR}/feed-verifier"
41-
- name: verify
42-
shell: bash
43-
run: |
44-
# I think it is not good that we rely on dynamic libs
45-
apt update && apt install -y \
46-
libsnmp-dev
47-
${ASSETS_SUBDIR}/openvasd -h
48-
${ASSETS_SUBDIR}/scannerctl -h
41+
# - name: verify
42+
# shell: bash
43+
# run: |
44+
# # I think it is not good that we rely on dynamic libs
45+
# apt update && apt install -y \
46+
# libsnmp-dev
47+
# ${ASSETS_SUBDIR}/openvasd -h
48+
# ${ASSETS_SUBDIR}/scannerctl -h
4949
- name: archive
5050
uses: actions/upload-artifact@v4
5151
with:

.github/workflows/linting.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
- uses: actions/checkout@v5
2020
- uses: ./.github/actions/setup-rust
2121
- run: cargo fmt --check
22-
- run: cargo clippy --all-targets -- -D warnings
23-
- run: cargo clippy --all-targets --features experimental -- -D warnings
22+
- run: cargo clippy --all-targets -- -D warnings --no-deps
23+
- run: cargo clippy --all-targets --features experimental -- -D warnings --no-deps
2424
Rust-Typos:
2525
runs-on: ubuntu-latest
2626
defaults:

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ message ("-- Configuring the Scanner...")
88

99
# VERSION: Always include major, minor and patch level.
1010
project (openvas
11-
VERSION 23.29.0
11+
VERSION 23.30.1
1212
LANGUAGES C)
1313

1414
if (POLICY CMP0005)

charts/openvasd/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ version: 0.1.0
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "23.29.0"
24+
appVersion: "23.30.1"

doc/manual/nasl/built-in-functions/glue-functions/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ This part contains functions that are dependent on openVAS.
88

99
- **[get_preference](get_preference.md)** - get a preference
1010
- **[get_script_oid](get_script_oid.md)** - get the OID of the current script
11+
- **[notus_error](notus_error.md)** - Get the last notus error as string
12+
- **[notus](notus.md)** - Starts a notus scan with given data
13+
- **[safe_checks](safe_checks.md)** - takes no argument and returns the boolean value of the “safe checks” option.
1114
- **[script_get_preference_file_content](script_get_preference_file_content.md)** - get the file contents of a plugins preference that is of type "file"
1215
- **[script_get_preference_file_location](script_get_preference_file_location.md)** - get the location of a plugin preference of type "file"
1316
- **[script_get_preference](script_get_preference.md)** - get the value of a plugin preference
17+
- **[update_table_driven_lsc_data](update_table_driven_lsc_data.md)** - Set information, so that openvas can start a table driven lsc
1418
- **[vendor_version](vendor_version.md)** - get vendor version

doc/manual/nasl/built-in-functions/host-functions/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Host functions are used to get, resolve, compare and add hosts to the vhosts lis
77
## TABLE OF CONTENT
88

99
- **[add_host_name](add_host_name.md)** - add a host name to the vhost list
10+
- **[get_host_name](get_host_name.md)** - get the currently scanned host
1011
- **[get_host_names](get_host_names.md)** - get a list with found hostnames
1112
- **[get_host_name_source](get_host_name_source.md)** - get the hostname source
1213
- **[resolve_host_name](resolve_host_name.md)** - get an IP address corresponding to the host name
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Krb5 functions
2+
3+
## General
4+
5+
Functions related to krb5 (Kerberos).
6+
7+
## Table of contents
8+
9+
- **[krb5_error_code_to_string](krb5_error_code_to_string.md)** - Returns a string representation of either the given code or the cached code.
10+
- **[krb5_find_kdc](krb5_find_kdc.md)** - Find the KDC for a given realm.
11+
- **[krb5_gss_init](krb5_gss_init.md)** - initialize the krb5 GSS-API library.
12+
- **[krb5_gss_prepare_context](krb5_gss_prepare_context.md)** - Creates the initial ticket request for the krb5 GSS-API library and prepares the context for further use.
13+
- **[krb5_gss_session_key](krb5_gss_session_key.md)** - Returns the session key or NULL if none was found.
14+
- **[krb5_gss_update_context](krb5_gss_update_context.md)** - Updates the context with the provided data and caches the output for the application.
15+
- **[krb5_gss_update_context_needs_more](krb5_gss_update_context_needs_more.md)** - Returns true when the previous `krb5_gss_update_context` requires further information/calls.
16+
- **[krb5_gss_update_context_out](krb5_gss_update_context_out.md)** - Returns the data for the application to send to the service.
17+
- **[krb5_is_failure](krb5_is_failure.md)** - Returns 1 if the last stored krb5 or given result code is a failure, 0 otherwise.
18+
- **[krb5_is_success](krb5_is_success.md)** - Returns 1 if the last stored krb5 or given result code is a success, 0 otherwise.

doc/manual/nasl/built-in-functions/krb5/krb5_error_code_to_string.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,12 @@
88

99
*str* **krb5_error_code_to_string**(int);
1010

11-
1211
## DESCRIPTION
1312

1413
Returns a string representation of either the given code or the cached code.
1514

1615
The cached code reflects the error code of the last krb5 function call.
1716

18-
1917
## RETURN VALUE
2018

2119
Returns a human readable version of the result code.

doc/manual/nasl/built-in-functions/krb5/krb5_find_kdc.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## NAME
44

5-
**krb5_find_kdc** - Find the KDC for a given realm
5+
**krb5_find_kdc** - Find the KDC for a given realm.
66

77
## SYNOPSIS
88

@@ -14,7 +14,6 @@
1414

1515
This function opens the krb5.conf file (located either by environment variable KRB5_CONFIG or /etc/ktrb5.conf) and looks for an kdc entry for the given realm.
1616

17-
1817
## RETURN VALUE
1918

2019
The found KDC or *NULL* if the KDC could not be found.
@@ -29,5 +28,3 @@ Returns *NULL* if the realm is not found or the krb5.conf file could not be open
2928
kdc = insstr(realm: 'EXAMPLE.COM');
3029
display(kdc);
3130
```
32-
33-

doc/manual/nasl/built-in-functions/krb5/krb5_gss_init.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## NAME
44

5-
**krb5_gss_init** - initialize the krb5 GSS-API library
5+
**krb5_gss_init** - initialize the krb5 GSS-API library.
66

77
## SYNOPSIS
88

@@ -20,7 +20,6 @@ When there is an already initialized context it will be destroyed and a new one
2020

2121
Returns 0 on success otherwise it is an failure.
2222

23-
2423
## EXAMPLES
2524

2625
```c#
@@ -29,5 +28,3 @@ if (krb5_is_failure(result)) {
2928
exit(42);
3029
}
3130
```
32-
33-

0 commit comments

Comments
 (0)