Options
All
  • Public
  • Public/Protected
  • All
Menu

Module helpers/discover

Index

Executable

Executable

  • main(ns: NS): Promise<void>
  • Get all available and crackable hosts via Terminal, to a default depth of 5.

    export
    example

    Discover hosts to depth of 5.

    run /helpers/discover.js
    
    example

    Discover hosts to passed in depth.

    run /helpers/discover.js [depth]
    

    Parameters

    • ns: NS

      The Netscript object.

    Returns Promise<void>

Generated using TypeDoc