Sign in to follow this  
Followers 0
StevieK

Stop Script, reading parameter-files

3 posts in this topic

Hi Folks,

is there any possibility to stop the current script? For example: I try to log in an web-application (using FF.au3). If it succeeds, the script should go on, if not the script should stop... I'm sure it's an easy thing, but I couldn't find anything in the helpfile or the online-doc.

My second problem: Is it possible to read a parameter-file and to run a script in a loop with each parameter? For example: Read a textfile with several logins and try every login-name.

Thanks a lot for your help

Cheers

Stefan

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Exit - Terminates the script.

FileRead ( filehandle or "filename" [, count] ) - Read in a number of characters from a previously opened text file.

FileReadLine ( filehandle or "filename" [, line] ) - Read in a line of text from a previously opened text file.

IniRead ( "filename", "section", "key", "default" ) - Reads a value from a standard format .ini file.

loops:

While...WEnd

For...To...Step...Next

Do...Until

With...EndWith

For...In...Next

Did you read/search the Help? :)

Edited by shEiD

Share this post


Link to post
Share on other sites

Another untalented script kiddie trying to dictionary-attack a login page.

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