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.
|
|
|
|
|
|
|
|
### usage
|
|
|
|
```bash
|
|
|
|
run nlogin <host1> [host2] [host3] [...]
|
|
|
|
```
|
2024-11-12 17:24:44 +00:00
|
|
|
## nremps
|
|
|
|
Checks if hosts are rooted the provided hosts, or all connected hosts
|
2024-11-12 04:01:07 +00:00
|
|
|
|
2024-11-12 17:24:44 +00:00
|
|
|
If no hosts are listed as arguments it will run on all connected hosts, otherwise it will run on the provided hosts.
|
|
|
|
|
|
|
|
### usage
|
|
|
|
```bash
|
|
|
|
run nremps [host1] [host2] [host3] [...]
|
2024-11-13 04:50:25 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## 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
|
|
|
|
```bash
|
|
|
|
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
|
|
|
|
```bash
|
|
|
|
path2arg.bas [command] <path>
|
2024-11-12 17:24:44 +00:00
|
|
|
```
|