Cool1Net6 Posted November 27, 2006 Share Posted November 27, 2006 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- Link to comment Share on other sites More sharing options...
/dev/null Posted November 27, 2006 Share Posted November 27, 2006 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 * Link to comment Share on other sites More sharing options...
Cool1Net6 Posted November 27, 2006 Author Share Posted November 27, 2006 A firewall on the internal network forces every computer connected to authenticate with an internal server before accessing the outside network (internet). -Cool- Link to comment Share on other sites More sharing options...
NeoFoX Posted November 27, 2006 Share Posted November 27, 2006 (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 November 27, 2006 by NeoFoX [center][font="Arial"]--- The Neo and Only --- [/font][font="Arial"]--Projects---[/font]Image to Text converterText to ASCII converter[/center] Link to comment Share on other sites More sharing options...
AzKay Posted November 27, 2006 Share Posted November 27, 2006 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 NeoWhat are you dribbling about? # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
NeoFoX Posted November 27, 2006 Share Posted November 27, 2006 What are you dribbling about? 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] Link to comment Share on other sites More sharing options...
Cool1Net6 Posted November 27, 2006 Author Share Posted November 27, 2006 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- Link to comment Share on other sites More sharing options...
jvanegmond Posted November 27, 2006 Share Posted November 27, 2006 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? github.com/jvanegmond Link to comment Share on other sites More sharing options...
AzKay Posted November 27, 2006 Share Posted November 27, 2006 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 NeoAh, I thought he was talking about TCP. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
/dev/null Posted November 27, 2006 Share Posted November 27, 2006 (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.....CheersKurt Edited November 27, 2006 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 * Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now