Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

POC Device auto discovery#245

Open
SquirrelDeveloper wants to merge 1 commit intomasterfrom
poc-device-discovery
Open

POC Device auto discovery#245
SquirrelDeveloper wants to merge 1 commit intomasterfrom
poc-device-discovery

Conversation

@SquirrelDeveloper
Copy link
Copy Markdown
Collaborator

No description provided.


try {
// Enhanced nmap command with XML output
const { stdout, stderr } = await execAsync(`nmap -p 22 --open -sV ${subnet} -oX -`);

Check failure

Code scanning / CodeQL

Uncontrolled command line

This command line depends on a [user-provided value](1).
const servers = await discoverSSHServers(subnet);
res.json(servers);
} catch (error: any) {
res.status(500).send(error.message);

Check warning

Code scanning / CodeQL

Exception text reinterpreted as HTML

[Exception text](1) is reinterpreted as HTML without escaping meta-characters.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants