Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mrgrd56/bitburner-scripts

Bitburner Game Scripts
https://github.com/mrgrd56/bitburner-scripts

bitburner javascript

Last synced: 10 days ago
JSON representation

Bitburner Game Scripts

Awesome Lists containing this project

README

        

# bitburner-scripts
Bitburner Game Scripts

## Server Hacking

[home ~/]
```sh
wget https://raw.githubusercontent.com/MRGRD56/bitburner-scripts/main/home/nuke.js nuke.js
```

```sh
./nuke.js SERVER_NAME
```

```sh
connect SERVER_NAME
```

[SERVER_NAME ~/]
```sh
wget https://raw.githubusercontent.com/MRGRD56/bitburner-scripts/main/remote-server/multihack.js multihack.js
```

```sh
./multihack.js
```

*OR*

```sh
./multihack.js 0
./hack.js -t 30
./weak.js -t 3
./grow.js -t 3
```

## cdnpm.js *download libraries from cdnjs.com*

```sh
wget https://github.com/MRGRD56/bitburner-scripts/raw/main/home/cdnpm.js cdnpm.js
```

#### Library Downloading

```sh
./cdnpm.js [PACKAGE_NAME]
```

> `DESTINATION_DIRECTORY` must be an **absolute** path. By default it is `/`.

Example:
```
[home ~/]> ./_a/cdnpm.js axios /_a/node_modules/

Running script with 1 thread(s), pid 458 and args: ["axios","/_a/node_modules/"].

/_a/cdnpm.js: Getting package URL...

/_a/cdnpm.js: Downloading library...

/_a/cdnpm.js: Successfully downloaded to '/_a/node_modules/axios.min.js'

[home ~/]> ls /_a/node_modules/

axios.min.js lodash.min.js
```