Jump to content
Lewis

get cli email and pass and proxy

Recommended Posts

hey, im looking to grab the email and password as well as proxy info that is entered via cli

im planning to use it to login with norandoms (explvs login handler)

i currently:

grab new login and pass from a file, use explvs login handler to enter info, if banned/locked grab new info from file, retry

but it grabs the first email:pass from the file on very first login, where as i want it to login first with cli entered email/pass upon first login, then if banned/locked grab new info from a file

how would i make it so i can do:

    LoginEvent loginEvent = new LoginEvent(cli email, cli pass);

 

i need this as i plan to swap to:

if banned/locked

write a new .bat file with new login info and run

so you can see why id need it to login first with cli user/pass

 

i have to use norandoms due to script being paused when osbots handler logs in (meaning if acc disabled the script will end, where as i need it to continue)

Edited by Lewis
Link to comment
Share on other sites

31 minutes ago, Lewis said:

 

hey, im looking to grab the email and password as well as proxy info that is entered via cli

 

going by this

 

Say you have this as your cli

-script LewisScript:lewis@mail.com-123456

 

GetParameters will return: lewis@mail.com-123456

Split that by '-' and you have your params.

String[] params = getParameters().split("-");
String email = params[0];
String password = params[1]

 

I don't see why that wouldn't work, if you are using norandoms

 

I dont think you can grab the initial account details from CLI, so you are better off not using them, and having them all in a file and just starting from the top, and working down if accounts are banned

Edited by Tom
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...