Telehack/README.md
james 1f565bebae Update README.md
Some things didn't make sense.
2024-11-13 14:09:42 +00:00

1.2 KiB

Telehack Basic Scripts

nlogin

Will attemt to login to remote systems via provided path.

  • If login is not available it will run porthack on the remote host.
  • If porthack.exe does not exist on a remote host it will download it from the previous host before continuing.

usage

run nlogin <host1> [host2] [host3] [...]

nremps

Checks if hosts are rooted.

  • If no hosts are listed as arguments it will run on all connected hosts, otherwise it will run on the provided hosts.

usage

run nremps [host1] [host2] [host3] [...]

scp

Copy files from one host to another.

  • If file is not an executable it will follow the provided uupath to the destination and write the file (faster than FTP)
  • If file is an executable you can:
    • Copy file to each remote host in provided uupath
    • Dial a host directly and manually copy the file via ftp (iptun required)

usage

run scp <source> [host1] [host2] [host3] [...]

path2arg

Convert a uupath to arguments (replace bangs with spaces).

  • Optionally if the first argument is a file/command, run it with the rest of the arguments.

usage

path2arg.bas [command] <path>