Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

CSS custom script - is this possible?

Hi, I'm trying to determine if it's posible to write a script that will retrieve an html page, return some user credentials (login) to the server, and upon successful authentication, download a small text file. The service will be declared active if these three steps are successful

I have seen that it's not recommended to use disk I/O operations in scripts, which is something I will take into consideration, but is the scripting language capapble of performing these three functions within one script?

Many Thanks in advance

4 REPLIES
Cisco Employee

Re: CSS custom script - is this possible?

how is the login performed ?

The basic feature ?? or NTLM ? or something else ?

With basic feature, the answer is yes you can.

Check the script ap-kal-httpauth.

With NTLM, the answer is now.

If something else, it depends how the info appears on the wire.

Gilles.

New Member

Re: CSS custom script - is this possible?

Hi Gilles,

Thank as always for your response.

From what I can see, the authentication is NTLM. In your post, did you mean "with NTLM, the answer is no" ?

I have taken a network trace of the whole process which I want the CSS to emulate.

Cheers, Dom

Cisco Employee

Re: CSS custom script - is this possible?

With NTLM this is not possible.

Because the server sends some kind of challenge that is different each time.

The response of the client will depend on the challenge and again it will also be different.

So, you first would need to know the NTLM protocol which is Microsoft proprietary so it's hard to find info, and implementing this in a script will be even harder.

So, the answer is no way.

Gilles.

New Member

Re: CSS custom script - is this possible?

Thanks very much for your help :]

214
Views
15
Helpful
4
Replies