Telehack/README.md

40 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

2024-11-12 04:01:07 +00: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.
2024-11-12 04:01:07 +00:00
### usage
```bash
run nlogin <host1> [host2] [host3] [...]
```
2024-11-12 17:24:44 +00:00
## 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.
2024-11-12 17:24:44 +00:00
### usage
```bash
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
```bash
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
```bash
path2arg.bas [command] <path>
2024-11-12 17:24:44 +00:00
```