bitburner.ns.sqlinject.md

February 15, 2026 ยท View on GitHub

Home > bitburner > NS > sqlinject

NS.sqlinject() method

Runs SQLInject.exe on a server.

Signature:

sqlinject(host?: string): boolean;

Parameters

Parameter

Type

Description

host

string

(Optional) Hostname/IP of the target server. Optional. Defaults to current server if not provided.

Returns:

boolean

True if the player runs the program successfully, and false otherwise.

Remarks

RAM cost: 0.05 GB

Runs the SQLInject.exe program on the target server. SQLInject.exe must exist on your home computer.

Example

ns.sqlinject("foodnstuff");