Telehack Scripts and notes
Find a file
james 1f565bebae Update README.md
Some things didn't make sense.
2024-11-13 14:09:42 +00:00
.gitignore add .gitignore, update README, and implement new features in nlogin, path2arg, and scp scripts 2024-11-12 23:50:25 -05:00
nlogin.bas add .gitignore, update README, and implement new features in nlogin, path2arg, and scp scripts 2024-11-12 23:50:25 -05:00
nremps.bas added nremps.bas 2024-11-12 12:24:44 -05:00
path2arg.bas add .gitignore, update README, and implement new features in nlogin, path2arg, and scp scripts 2024-11-12 23:50:25 -05:00
README.md Update README.md 2024-11-13 14:09:42 +00:00
scp.bas add .gitignore, update README, and implement new features in nlogin, path2arg, and scp scripts 2024-11-12 23:50:25 -05:00

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>