Skip to content

GSA don't extract password from e-mail

Hello, I create my own script, but I have a password problem. GSA don't use password from e-mail, it use a randomize password.
My code:
[email_pw]
type=extract
front1=Hasło:|Has*o:|Has*o: |Hasło: |Hasło:
back=\n
back2=" "
back3=<
E-mail looks like:


Login code:
[LOGIN_STEP1]

submit success=>Wyloguj si*<|*Moje Og*oszenia*
submit failed=*Niepoprawny adres email lub hasło*|Niepoprawny adres email|Sorry, but the login information you provided was incorrect.

verify on unknown status=1

form name=*loginsubmit|*Zaloguj si*
form id=loginform

set unknown variable=%leave%

email=%login%
pass=%password%

I have information that password is incorrect. I checked that GSA use a randomize password.
How fix this?

Comments

  • SvenSven www.GSA-Online.de
    edited January 2019
    you are doing it wrong...

    The code to extract the emails included none ascii chars...thats not working. End on other languages you would miss the password as well.

    A better version is this...

    [email_pw]
    type=extract
    front1=@
    front2=:
    back=\n
    back2=" "
    back3=<
    
  • bodzio2018bodzio2018 Poland
    edited January 2019
    Thanks,
    it's better, but still is a one error, now it take password from email but to long:
    example:

    15:31:22: [-] 1/1 login failed (*wrong password*) - https://www.testowastrona.com/logowanie - L:Cecylia.Vanwinkle97@xxxxx E:Cecylia.Vanwinkle97@xxxxx P:a0ajjiv7

    Wiadomo__
  • SvenSven www.GSA-Online.de
    and what exactly is wrong? The abort? extracted password ?
  • Extracted password is wrong, in email password is:a0ajjiv7, but GSA take to long:
    "a0ajjiv7

    Wiadomo__"
  • SvenSven www.GSA-Online.de
    arg ok... change first back= into back=\n
Sign In or Register to comment.