#1
|
|||
|
|||
getting hostname and ip addr from session
I have a ton of hosts in my session and i would like to create a host file from the info in my session.
i know i can export the session but it comes out in xml format with lots of info per session. is there a know script that i can use to get this done. thanks in adv. yours truely, glItcHy |
#2
|
||||
|
||||
Quote:
If I'm misunderstanding your original goal, please let me know. Which platform are you running SecureCRT on... Windows? Mac? Linux? What is the "hostname" that you'd want to map each session's IP address to -- would it be the session name itself? The script example, "Iterate Over Saved Sessions" found on our scripting examples "sticky" would be the place to start, but as of yet the example is in VBScript code, not python, so it won't work for you if you're on a non-Windows platform with your SecureCRT installation. --Jake
__________________
Jake Devenport VanDyke Software Technical Support YouTube Channel: https://www.youtube.com/vandykesoftware Email: support@vandyke.com Web: https://www.vandyke.com/support Last edited by jdev; 01-13-2020 at 12:34 PM. |
#3
|
|||
|
|||
answer
well found this on the securecrt forum and it did exactly what i wanted...
below is the thread to the answer https://forums.vandyke.com/showthread.php?t=10585 thanks ...k/glitch |
![]() |
Tags |
hostname , ip address , parsing |
Thread Tools | |
Display Modes | Rate This Thread |
|
|