Jump to content
UBot Underground

Exbrowser Upload Images


Recommended Posts

Guys, Girls with exbrowsers plugin. I would like to ask you for help

I am trying to upload pics into a classified ads web:

 

If I navigate here

http://www.bazar.sk/pridanie-neprihlaseny/

Select category, next step subcategory, and after that I am trying to upload pic

 

http://imgur.com/sCFLzVz

 

change file field(<id="uploadPhotoButton">"pathtopicture.jpg")

 

That opens out dialog window, completely wrong image path.

 

 

Thanks for help.

Link to post
Share on other sites

I tried to help but everything is not translating correctly, not really willing to give that site all my info either, can the upload be completed without registration?

Link to post
Share on other sites

Yeah upload is possible without regisstration:

 

set(#l$plugin function("ExBrowser.dll""$ExBrowser Set Browser Language""English"), "Global")
plugin command("ExBrowser.dll""ExBrowser CleanUp")
plugin command("ExBrowser.dll""ExBrowser Launcher""Chrome""""")
plugin command("ExBrowser.dll""ExBrowser Navigate""http://www.bazar.sk/pridanie-neprihlaseny/")
plugin command("ExBrowser.dll""ExBrowser Wait For Element""<class=\"mainCat\">""Appear", 2)
plugin command("ExBrowser.dll""ExBrowser Click""<rel=\"14\">")
plugin command("ExBrowser.dll""ExBrowser Wait For Element""<onclick=\"setCatId(431)\">""Appear", 2)
plugin command("ExBrowser.dll""ExBrowser Click""<onclick=\"setCatId(431)\">")
wait(2)
plugin command("ExBrowser.dll""ExBrowser Change File Field""<id=\"uploadPhotoButton\">""pathtofile.jpg")

 

 

If this can help

Link to post
Share on other sites

Yeah upload is possible without regisstration:

 

set(#l$plugin function("ExBrowser.dll""$ExBrowser Set Browser Language""English"), "Global")

plugin command("ExBrowser.dll""ExBrowser CleanUp")

plugin command("ExBrowser.dll""ExBrowser Launcher""Chrome""""")

plugin command("ExBrowser.dll""ExBrowser Navigate""http://www.bazar.sk/pridanie-neprihlaseny/")

plugin command("ExBrowser.dll""ExBrowser Wait For Element""<class=\"mainCat\">""Appear", 2)

plugin command("ExBrowser.dll""ExBrowser Click""<rel=\"14\">")

plugin command("ExBrowser.dll""ExBrowser Wait For Element""<onclick=\"setCatId(431)\">""Appear", 2)

plugin command("ExBrowser.dll""ExBrowser Click""<onclick=\"setCatId(431)\">")

wait(2)

plugin command("ExBrowser.dll""ExBrowser Change File Field""<id=\"uploadPhotoButton\">""pathtofile.jpg")

 

 

If this can help

 

Hello.

 

I didn't test the code, but three things that jumped out are:

 

1.The set browser language option is not correct. Please look at the chrome documentation on how to set the browser language via Command Line.

The Option for GB Englisch is  en_GB  for example.

 

2. There is no path to the JPG file. Without a path, it can't find the file

3. You use the id= uploadPhotoButton  to set the file path. Is that really the element where the file value is normally stored? This looks like this is the button where you click afterwards. 

Normally this isn't the correct element to use here. But you see that in the html debugger when you do it manually. Select the file and before you click the upload button, you look where the path to your jpg file is stored. 

And that's the element you have to change. 

 

Dan

Link to post
Share on other sites

Hi,

 

Problem is that after running this code /path to the file is correct/ I ended up with this:

 

http://i.imgur.com/VnXbTE3.png

/just opened dialog widow/

Bizzare thing is, that even if I change path and I wanna upload different picture, it is still the same path, without grabing that particular file.

 

Problem also is, that there is no upload button. Once you select correct file, it will autoupload it.

 

Without exbrowser plugin change file field works without any problem, but the file keeps spinning and uploading without actually being uploaded.

 

http://i.imgur.com/wkfkSEK.png

Link to post
Share on other sites

Looks like the site is using a JavaScript uploader for the pictures. 

I played around with it a bit but wasn't able to get it working. 

There are so many variations and techniques out there, so that not all techniques are able to solve a problem.

 

It might be that the current version of ExBrowser can't solve this upload problem.

At least not on his own. You need something to automate that file upload dialog window.

Dan

Link to post
Share on other sites

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...