Skip to content

Add: ip_reverse_lookup() nasl builtin rust implementation#2184

Open
jjnicola wants to merge 2 commits intomainfrom
ip-reverse-lookup
Open

Add: ip_reverse_lookup() nasl builtin rust implementation#2184
jjnicola wants to merge 2 commits intomainfrom
ip-reverse-lookup

Conversation

@jjnicola
Copy link
Copy Markdown
Member

@jjnicola jjnicola commented Apr 1, 2026

What:
Add: ip_reverse_lookup() nasl builtin rust implementation

Why:
missing and used in the feed

How:
Run the following NASL script with scannerctl and openvas-nasl. Compare the output

$ cat ip_reverse_lookup.nasl 
display(ip_reverse_lookup("192.168.1.1"));
display(ip_reverse_lookup());
openvas-nasl -X ip_reverse_lookup.nasl -t 192.168.123.55 # without target
openvas-nasl -X ip_reverse_lookup.nasl -t 192.168.1.1 #has hostname
openvas-nasl -X ip_reverse_lookup.nasl -t 192.168.1.50 #does not have a hostname

target/debug/scannerctl execute script ~/my_nasl/ip_reverse_lookup.nasl
target/debug/scannerctl execute script ~/my_nasl/ip_reverse_lookup.nasl -t 192.168.1.1
target/debug/scannerctl execute script ~/my_nasl/ip_reverse_lookup.nasl -t 192.168.1.50

Checklist:

  • Tests
  • PR merge commit message adjusted

@jjnicola jjnicola requested a review from a team as a code owner April 1, 2026 13:32
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA ee431e8.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

@github-actions github-actions bot added the minor_release creates a minor release label Apr 1, 2026
@jjnicola jjnicola force-pushed the ip-reverse-lookup branch from 70c704f to 62ea659 Compare April 1, 2026 17:30
@github-actions github-actions bot added minor_release creates a minor release and removed minor_release creates a minor release labels Apr 1, 2026
@github-actions github-actions bot added minor_release creates a minor release and removed minor_release creates a minor release labels Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor_release creates a minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant