Sign in to follow this  
Followers 0
Cool1Net6

TCP Basic Authentication

10 posts in this topic

I will try to keep this brief...

My PC lives on a network that requires the user to type in a username & password combo every 4 hours. I am trying to get rid of the visible username/password screen by making a program to authenticate in the background. I don't know much about TCP/IP, but I am willing to learn anything.

Is there a way to detect a basic authentication challenge using TCP and AutoIt?

-Cool-

Share this post


Link to post
Share on other sites



I will try to keep this brief...

My PC lives on a network that requires the user to type in a username & password combo every 4 hours. I am trying to get rid of the visible username/password screen by making a program to authenticate in the background. I don't know much about TCP/IP, but I am willing to learn anything.

Is there a way to detect a basic authentication challenge using TCP and AutoIt?

-Cool-

I'm pretty sure that TCP has nothing to do with your authentication issue. So, what exactly forces you to authenticate? Windows? Any application? Anything else?


__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post


Link to post
Share on other sites

A firewall on the internal network forces every computer connected to authenticate with an internal server before accessing the outside network (internet).

-Cool-

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Well, perhaps something like this would help you a bit:

While 1
    If Not WinExists("Untitled -") Then
    Sleep(1000)
    Else
    ControlSend("Untitled", "", "Edit1", "TESTING")
    ExitLoop
    EndIf
WEnd

Open notepad, minimize it.. and run the script ;)

Neo

Edited by NeoFoX

[center][font="Arial"]--- The Neo and Only --- [/font][font="Arial"]--Projects---[/font]Image to Text converterText to ASCII converter[/center]

Share this post


Link to post
Share on other sites

Well, perhaps something like this would help you a bit:

While 1
    If Not WinExists("Untitled -") Then
    Sleep(1000)
    Else
    ControlSend("Untitled", "", "Edit1", "TESTING")
    ExitLoop
    EndIf
WEnd

Open notepad, minimize it.. and run the script ;)

Neo

What are you dribbling about? :lmao:

# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

What are you dribbling about? :lmao:

Well.. if it's an 'Pop-up box' or a 'Log-in screen'... you can wait until it's active and then send your login info.

Maybe, my example isn't in that shape... but it can be used for this purpose ;)

Neo


[center][font="Arial"]--- The Neo and Only --- [/font][font="Arial"]--Projects---[/font]Image to Text converterText to ASCII converter[/center]

Share this post


Link to post
Share on other sites

Well.. if it's an 'Pop-up box' or a 'Log-in screen'... you can wait until it's active and then send your login info...

This is possible, but the box changes depending on what program gets the challenge. IE is different than Firefox is different than Opera is different than Winamp... you get the point. I am looking to build a program that catches the challenge before any other program knows about it.

-Cool-

Share this post


Link to post
Share on other sites

Use an IE object to poll for the box. You should test, if you create an IE object and navigate to a website or network place you get the box that asks you to input the box.

How does your network require you to activate it? I mean, can you create a connection through AutoItv3 and get that same box?

Share this post


Link to post
Share on other sites

Well.. if it's an 'Pop-up box' or a 'Log-in screen'... you can wait until it's active and then send your login info.

Maybe, my example isn't in that shape... but it can be used for this purpose ;)

Neo

Ah, I thought he was talking about TCP.

# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

#10 ·  Posted (edited)

Ah, I thought he was talking about TCP.

Sigh... they allways talk about TCP ..... even if the problem is not at ALL related to TCP.....

Cheers

Kurt

Edited by /dev/null

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0