mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-25 18:50:56 +02:00
Changelog and markdown update
This commit is contained in:
@@ -35,19 +35,12 @@ This function returns true if you successfully start working on the specified pr
|
||||
|
||||
Note that creating a program using this function has the same hacking level requirements as it normally would. These level requirements are: \* BruteSSH.exe: 50 \* FTPCrack.exe: 100 \* relaySMTP.exe: 250 \* HTTPWorm.exe: 500 \* SQLInject.exe: 750 \* DeepscanV1.exe: 75 \* DeepscanV2.exe: 400 \* ServerProfiler.exe: 75 \* AutoLink.exe: 25
|
||||
|
||||
## Example 1
|
||||
## Example
|
||||
|
||||
|
||||
```ts
|
||||
// NS1:
|
||||
createProgram(“relaysmtp.exe”);
|
||||
```
|
||||
|
||||
## Example 2
|
||||
|
||||
|
||||
```ts
|
||||
// NS2:
|
||||
ns.createProgram(“relaysmtp.exe”);
|
||||
```js
|
||||
const programName = "BruteSSH.exe";
|
||||
const success = ns.createProgram(programName);
|
||||
if (!success) ns.tprint("ERROR: Failed to start working on ${programName}")
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user