For /f %%i in (testservers.txt) do ping -n 1 %%i >>state.txt
https://superuser.com/questions/733168/batch-script-to-find-out-whether-a-host-is-up-or-down
Penetration Testing, Vulnerability Assessment, Malware Analysis, Reverse Engineering, Packet Analysis, Wireshark, tshark, tcpdump, Tips & Tricks, Notes, Network Security, Unix, Solaris, Firewalls, Cisco ASA, Cisco PIX, Checkpoint, Netscreen
For /f %%i in (testservers.txt) do ping -n 1 %%i >>state.txt
https://superuser.com/questions/733168/batch-script-to-find-out-whether-a-host-is-up-or-down
Cth
..
..
VBA
Keep in mind that ssh stands for secure shell, and if you store your user, host and password in plain text files you are misleading the tool an creating a possible security gap
./ssh_session
https://stackoverflow.com/questions/1340366/how-to-make-ssh-receive-the-password-from-stdin
...
https://daanlenaerts.com/blog/2016/07/01/python-and-ssh-paramiko-shell/