Options
All
  • Public
  • Public/Protected
  • All
Menu

Module helpers/sf4/backdoor

Index

Executable

Importable

Executable

  • main(ns: NS): Promise<void>
  • Backdoor a host using the Terminal.

    alpha

    Does not currently backdoor, only prints out route.

    example

    Backdoor single passed in host.

    run /helpers/backdoor.js [host0]
    
    example

    Backdoor multiple passed in hosts.

    run /helpers/backdor.js [host0] ... [hostn]
    

    Parameters

    • ns: NS

      The Netscript object.

    Returns Promise<void>

Importable

  • backdoor(ns: NS, route: false | string[]): Promise<void>
  • Connect to a host chain using route and backdoor the last server.

    alpha

    Does not currently backdoor, only prints out route.

    export
    async

    Parameters

    • ns: NS

      The Netscript object.

    • route: false | string[]

      Route to use to backdoor, including target.

    Returns Promise<void>

Generated using TypeDoc