.. _netscriptfunctions: Netscript Basic Functions ========================= This page contains the complete documentation for all functions that are available in Netscript. This includes information such as function signatures, what they do, and their return values. .. toctree:: :caption: Functions: hack() grow() weaken() sleep() print() tprint() disableLog() enableLog() isLogEnabled() scan() nuke() brutessh() ftpcrack() relaysmtp() httpworm() sqlinject() run() exec() spawn() kill() killall() scp() ls() ps() hasRootAccess() getHackingLevel() getHackingMultipliers() getHacknetMultipliers() getServerMoneyAvailable() getServerMaxMoney() getServerSecurityLevel() getServerMinSecurityLevel() getServerRequiredHackingLevel() getServerNumPortsRequired() getServerMaxRam() getServerUsedRam() serverExists() fileExists() isRunning() getPurchasedServerCost() purchaseServer() deleteServer() getPurchasedServers() getPurchasedServerLimit() getPurchasedServerMaxRam() scriptRunning() scriptKill() getScriptRam()