Jump to content

get cli email and pass and proxy


Recommended Posts

Posted (edited)

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
Posted (edited)
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

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
  • Recently Browsing   0 members

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