Sign in to follow this  
Followers 0
jimmy999

textarea value copy

3 posts in this topic

hi, i make this script

#include
#include
#include
#include
#include
#include
#include
#include




$hFile = FileOpen("dd.txt", 0)
$Index = 1
$Form1 = GUICreate("Info", 259, 104, 192, 124)
GUISetBkColor(0x80FF80)
$Label1 = GUICtrlCreateLabel("Please whait...", 24, 32, 208, 37)
GUICtrlSetFont(-1, 26, 800, 0, "Arial Narrow")
GUICtrlSetColor(-1, 0xFF0000)
GUICtrlSetCursor(-1, 15)
GUISetState(@SW_SHOW)
While True

$Line = FileReadLine($hFile, $Index)
If @error Then
MsgBox(0, "test...", "done")
FileClose($hFile)
GUIDelete()
ExitLoop
Else
$Index += 1
EndIf
$oIE = _IECreate("http://evuln.com/tools/xss-encoder/", 1, 1, 0)
_IELoadWait($oIE)
$string = _IEGetObjByName($oIE, "ascii")
_IEFormElementSetValue($string, $Line)

$oInputs = _IETagNameGetCollection($oIE, "input")
For $oInput In $oInputs
If $oInput.value = "Encode" Then
_IEAction($oInput, "click")

EndIf
Next

;here i whant to copy textarea value

i tried: $hex = _IEGetObjByName($oIE, "hex")
_IEAction($hex, "copy")

but not work.

WEnd

http://imageshack.us/photo/my-images/690/capturdfd.png

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

good question is "Do you want to allow this webpage to access your Clipboard?"

workaround

$hex = _IEGetObjByName($oIE, "hex")
MsgBox(0,'',_IEFormElementGetValue($hex))
ClipPut(_IEFormElementGetValue($hex))
Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 

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  
Followers 0