Help with exscript with Cisco asa

2014-12-07 Thread Edward Manning
I am trying to login to enable mode on a Cisco ASA with this script. I can’t seem to get the enable mode to work. Can anyone help. Does anyone know of a good doc for exscript lib. Thank you Ed from Exscript.util.start import quickstart from Exscript.util.file import get_hosts_from_fil

Re: gethostbyaddr()

2014-07-28 Thread Edward Manning
Chris Thank you for the info. I figure it out. But thank you again. Ed > On Jul 28, 2014, at 5:42 PM, Chris Kaynor wrote: > > On Mon, Jul 28, 2014 at 2:33 PM, Edward Manning wrote: > I wrote this code, but it seem to work fine if I only have one ip in the > file. When I hav

gethostbyaddr()

2014-07-28 Thread Edward Manning
I wrote this code, but it seem to work fine if I only have one ip in the file. When I have more than one IP in the file I get a error. Does anyone have an idea why. import socket def main(): # get file names infileName = input ("What file our the IP adderss in? ") outfile