Options
All
  • Public
  • Public/Protected
  • All
Menu

Module _internal/classes/scanner

Index

Classes

Functions

Functions

  • canCrack(ns: NS, hostname: string): boolean
  • Check if hostname can be cracked by current port openers.

    Parameters

    • ns: NS

      The Netscript object.

    • hostname: string

      The hostname to check.

    Returns boolean

    Whether hostname can be cracked.

  • canHack(ns: NS, hostname: string): boolean
  • Check if hostname can be hacked by current hacking level.

    export

    Parameters

    • ns: NS

      The Netscript object.

    • hostname: string

      The hostname to check.

    Returns boolean

    Whether hostname can be cracked.

Generated using TypeDoc