Telehack/README.md
James Paterni c15dfa04d1 add .gitignore, update README, and implement new features in nlogin, path2arg, and scp scripts
* Update nlogin: Better file handling. Allows for future additional files to be copied.
* Add SCP: Efficiently copy files to remote systems
* add path2arg: uupath tool
2024-11-12 23:50:25 -05: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 the provided hosts, or all connected hosts

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)
  • 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 command, run it with the rest of the arguments.

usage

path2arg.bas [command] <path>