2022-10-21 17:16:00 +02:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [sqlinject](./bitburner.ns.sqlinject.md)
|
|
|
|
|
|
|
|
## NS.sqlinject() method
|
|
|
|
|
|
|
|
Runs SQLInject.exe on a server.
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Signature:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
sqlinject(host: string): void;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| host | string | Hostname of the target server. |
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Returns:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
void
|
|
|
|
|
|
|
|
## Remarks
|
|
|
|
|
|
|
|
RAM cost: 0.05 GB
|
|
|
|
|
2023-04-28 20:19:30 +02:00
|
|
|
## Example
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
|
2023-04-28 20:19:30 +02:00
|
|
|
```js
|
2022-10-21 17:16:00 +02:00
|
|
|
ns.sqlinject("foodnstuff");
|
|
|
|
```
|
|
|
|
|