Updated docs

This commit is contained in:
Zakary Timson 2022-02-10 03:17:39 +00:00
parent 7d928a51c8
commit 15d3766b35

View File

@ -6,8 +6,8 @@ These scripts are for playing the [open source](https://github.com/danielyxie/bi
## Setup ## Setup
The repository can be loaded into the game by doing the following: The repository can be loaded into the game by doing the following:
1. Download the update scritp in-game by running: `wget https://gitlab.zakscode.com/ztimson/BitBurner/-/raw/develop/scripts/update.js scripts/update.js` 1. Download the update script ingame: `wget https://gitlab.zakscode.com/ztimson/BitBurner/-/raw/develop/scripts/update.js scripts/update.js`
2. Run the update script to pull the entire repository: `run scripts/update.js` 2. Run update script: `run scripts/update.js`
## Quick Start ## Quick Start
```bash ```bash
@ -16,45 +16,45 @@ run scripts/node-manager.js 8
# Chain the crawler, auto-pwner & miner to hack everything within 3 hops # Chain the crawler, auto-pwner & miner to hack everything within 3 hops
run scripts/crawler.js 3 scripts/auto-pwn.js scripts/miner.js run scripts/crawler.js 3 scripts/auto-pwn.js scripts/miner.js
``` ```
## Scripts ## Scripts
### auto-pwn.js ### [auto-pwn.js](./scripts/auto-pwn.js) (WIP)
Automatically gains root on a target machine. After being pwned, the specified files will be coppied & ran. 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` It's recomended you use this in combination with `miner.js`
### bruteforce.js ### [bruteforce.js](./scripts/bruteforce.js) (WIP)
Attacks target until security falls bellow threshold. Useful for throwing extra compute power & cracking a specific computer. 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. It's recommended you use any extra compute power on your home computer/servers to break strong servers & speed up the process.
### crawler.js ### [crawler.js](./scripts/crawler.js) (WIP)
Scans the network to a desired depth & runs the specified script against targets. 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`. It's recommended you use this in combination with `auto-pwn.js`.
### miner.js ### [miner.js](./scripts/miner.js) (WIP)
Will weaken, spoof & hack the target in a loop. 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. 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 ### [node-manager.js](./scripts/node-manager.js)
Manages the specified number of nodes buying any if they don't exist. Manages the specified number of nodes buying any if they don't exist.
It's recommended you run this from your home computer, it useses 5.6 GB of RAM. It's recommended you run this from your home computer, it useses 5.6 GB of RAM.
``` ```
Usage: Usage: run node-manager.js [OPTION] LIMIT
run node-manager.js <num> [savings]
num - Target number of nodes Limit - Limit the number of nodes the script will buy
savings - Prevent spending bellow this point
Options:
Help - Displays this help message
Balance - Prevent spending bellow this point
``` ```
### update.js ### [update.js](./scripts/update.js)
Automaticlly downloads all the scripts in this repo using the in-game `wget`. Automaticlly downloads all the scripts in this repo using the in-game `wget`.
``` ```
Usage: Usage: run update.js
run update.js
``` ```