Scripts for the game Bitburner
Go to file
2022-02-10 17:10:26 +00:00
scripts Added a unix-style argument parser 2022-02-10 17:10:26 +00:00
README.md Added a unix-style argument parser 2022-02-10 17:10:26 +00:00

BitBurner - Scripts

These scripts are for playing the open source game BitBurner

Table of Contents

[[TOC]]

Setup

The repository can be loaded into the game by doing the following:

  1. Download the update script ingame: wget https://gitlab.zakscode.com/ztimson/BitBurner/-/raw/develop/scripts/update.js scripts/update.js
  2. Run update script: run scripts/update.js

Quick Start

# Start the node manager
run scripts/node-manager.js 8

# Chain the crawler, auto-pwner & miner to hack everything within 3 hops
run scripts/crawler.js 3 scripts/auto-pwn.js scripts/miner.js

Scripts

auto-pwn.js (WIP)

Automatically gains root on a target machine. After being pwned, the specified files will be coppied & ran.

It's recomended you use this in combination with miner.js

bruteforce.js (WIP)

Attacks target until security falls bellow threshold. Useful for throwing extra compute power & cracking a specific computer.

It's recommended you use any extra compute power on your home computer/servers to break strong servers & speed up the process.

crawler.js (WIP)

Scans the network to a desired depth & runs the specified script against targets.

It's recommended you use this in combination with auto-pwn.js.

miner.js (WIP)

Will weaken, spoof & hack the target in a loop.

It's recommended you run this in combination with auto-pwn.js to gain root & run the miner on the remote machine.

node-manager.js

RAM: 5.70 GB

[home ~/]> run scripts/node-manager.js --help
Running script with 1 thread(s), pid 128 and args: ["--help"].
/scripts/node-manager.js: 

Buy, upgrade & manage Hacknet nodes automatically.

Usage:	run node-manager.js [OPTIONS] LIMIT
	run node-manager.js --balance 1E6 4
	run node-manager.js --help

	LIMIT			 Limit the number of nodes the manager will buy

Options:
	-b --balance=num	 Prevent spending bellow this point
	-h --help		 Display help message

update.js

RAM: 1.60 GB

[home ~/]> run scripts/update.js --help
Running script with 1 thread(s), pid 129 and args: ["--help"].
/scripts/update.js: 

Automatically update scripts from the repository using wget.

Usage:	run update.js
	run update.js --help

Options:
	-h --help		 Display help message