Jump to content
UBot Underground

How To Type Into A File Upload Dialog Box?


Recommended Posts

I'm trying to upload a file to a site and the only way is through the Open File dialog box.

 

All I want to do is type in the file name in the "File name:" field and click "Open".

 

It seems like the Windows Commands were designed to do this but its not possible to access the Ubot interface when the Open File dialog box is open.

 

What is the best way to create the Windows commands to upload a file?

Link to post
Share on other sites

OK Got this working with Windows Commands

click(<class="btn upload">,"Left Click","No")
wait(3)
plugin command("WindowsCommands.dll", "set dialog text", "Upload File", "File name:", "myphoto.jpg")
plugin command("WindowsCommands.dll", "click dialog button", "Upload File", "Open")
Link to post
Share on other sites

Now the only problem with this is I'm having to use Chrome 21. When I click the upload button in Chrome 49, Ubot crashes.

Problem signature:
  Problem Event Name:	CLR20r3
  Problem Signature 01:	UBotCefSharpBrowser.exe
  Problem Signature 02:	1.0.0.0
  Problem Signature 03:	58fbd826
  Problem Signature 04:	UBotCefSharpBrowser
  Problem Signature 05:	1.0.0.0
  Problem Signature 06:	58fbd826
  Problem Signature 07:	126
  Problem Signature 08:	e4
  Problem Signature 09:	System.NullReferenceException
  OS Version:	6.1.7600.2.0.0.256.1
  Locale ID:	1033
  Additional Information 1:	0a9e
  Additional Information 2:	0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:	0a9e
  Additional Information 4:	0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt

Link to post
Share on other sites
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...