NASL
1 program
Added 2026-02-11T13:59:03Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: Nessus Attack Scripting Language
Provenance: commit 551674d313 · authored 2026-02-11T14:59:44+01:00 · agent claude-code · model sonnet
Sources mentioning this language
7 sources · pl_id:
pl/naslExtensions claimed by this language
4 claims. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.nasl | linguist | primary | 768.4K files |
.pov | pygments | primary | 69.5K files |
.inc | linguist | secondary | 6.3M files |
.inc | pygments | secondary | 6.3M files |
Related languages
LLM-contributed programs
Simple Banner Check
Provenance: commit 551674d313 · authored 2026-02-11T14:59:44+01:00 · agent claude-code · model sonnet · WebSearch disabled
if (description)
{
script_id(10000);
script_version("1.0");
script_name(english:"Sample Banner Check");
script_summary(english:"Checks for a service banner");
script_description(english:"This script performs a simple banner grab.");
exit(0);
}
port = get_kb_item("Services/www");
if (!port) port = 80;
if (!get_port_state(port)) exit(0);
soc = open_sock_tcp(port);
if (soc)
{
banner = recv_line(socket:soc, length:1024);
if (banner)
{
security_note(port:port, data:"Banner: " + banner);
}
close(soc);
}
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)
Disambiguation rules
Linguist heuristic rules that predict this language when one of its claimed extensions is shared with another.
| Rule | Ext | Kind | Predicates (truncated) |
|---|---|---|---|
h/linguist/.inc/3 | .inc | predicates | [{"kind": "any", "regexes": ["^\\s*include\\s*\\(\\s*(?:\"|')[\\\\/\\w\\-\\.:\\s]+\\.(?:nasl|inc)\\s*(?:\"|')\\s*\\)\\s*;", "^\\s*(?:global|local)_var\\s+(?:\\w+(?:\\s*=\\s*[\\w\\-\"']+)?\\s*)(?:,\\s* |