Jump to content
Sign in to follow this  
smallbit

In object input add attribute value=" " FF.au3

Recommended Posts

<input type="password" class="" placeholder="pass" name="Passwd" id="Passwd">

I have this. I want swap on this.

<input type="password" class="" placeholder="pass" name="Passwd" id="Passwd" value="ADD ATTribute">

I want to do because I can't use _FFobj($obiect,"value","password547"); to send password to input value because input haven't this space(value="").

Share this post


Link to post
Share on other sites

Hehe if input haven't space value, By default it creates.

The program not work because I have defect in name variable.

I put a variable that does not exist.

Func loguj($login,$pass,$logxpath,$passxpath,$clickxpath)
   $a=_FFXPath( $logxpath, "", 9)
   _FFObj($a, "value", $login)

  ; $cField = "Passwd"
   ;_FFXPath("//form//input[@name='" & $cField & "']")
   ;_FFCmd("FFau3.xpath.value='" & $pass & "'") ; It also runs

   $b=_FFXPath( $pasxpath, "", 9) ;look $pasxpath correct $passxpath
   _FFObj($b,"value", $pass)

   $c=_FFXPath( $clickxpath, "", 9)
   _FFClick($c)
EndFunc

Share this post


Link to post
Share on other sites

As you are headed towards a script that would in effect be a spammer, I would guess the help is about to dry up...  may want to start asking isolated questions instead of posting full reproducers that tread a narrow path.

Malware of any form - trojan, virus, keylogger, spam tool, "joke/spoof" script, etc

 

Edited by boththose

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

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  

×
×
  • Create New...