Skip to content

Scripting problem : Access to the original url

Hello,

I'm trying to make GSA post to the urls i used in my global list .

Basically the template works like this :

Register
Login
Post 

The problem is that GSA will use the url which is after the login phase. 

How can i do in order to make it go back the original url used in the Global list ?

Original url/7986
Register : url/register
Check
Login: url/login - redirected to url/user
Post : url/user but i want url/7986

Thank you for your help.
Regards,
Diaze

Comments

  • SvenSven www.GSA-Online.de
    wouldn't it be better to script it like discovering the post url on STEP1 by a script?
  • The problem is that sometimes it doesn't discover it. 

    Also i really want to post to the global list i submit and not the urls discovered by the software. 

    If i let it discover urls, it might end up not posting on the ones i want. 

  • SvenSven www.GSA-Online.de

    you can do a work around like this...

    [start_url]

    type=extract

    static=1

    find url=%original_targeturl%


    [register_step1]

    modify url=%start_url%


    ...

    [step1]

    modify url=%start_url%

Sign In or Register to comment.