Forums: Web Form Auto Filler? - Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Web Form Auto Filler?

#1 User is offline   CheapSteam 

  • Private
  • Icon
  • Group: Members
  • Posts: 1
  • Joined: 08-October 07

Posted 08 October 2007 - 06:39 PM

Just wondering is it possible for vb to auto fill web forms for me? For example aim.com ?
0

#2 User is offline   genxweb 

  • Corporal
  • Icon
  • Group: Members
  • Posts: 189
  • Joined: 14-December 03

Posted 10 October 2007 - 09:14 AM

View PostCheapSteam, on Oct 9 2007, 02:39 AM, said:

Just wondering is it possible for vb to auto fill web forms for me? For example aim.com ?



Yes it is, but i am not sure about aim.

Create a basic web browser in vb using the web browser component. This component basically allows you to create a web browser in vb based off the IE engine in a few seconds. Once this is done create two text boxes and 1 command button. In the command button put

  WebBrowser1.Navigate(TextBox1.Text + TextBox2.Text)


Now the easy part is done.

Next download live http headers for Firefox. This will allow you to capture the string used to post data to the form you are accessing (This works well for http posts not sure about java and so on). Once you capture the string you should see what URI is being called and where your data is being entered. Copy that url and uri to text box 1. Now in text box 2 is where you will put your message.

Ie in a recent project i did I used a vb app to post to a shoutbox.

in text1 I had hxxp://domain.com/thread.php?add+ in text2 I entered the text I wanted posted and then pressed the command button to post it.

I hope this works. I have more info on my site at hxxp://www.digitaloffensive.com
0

#3 User is offline   Jeffrey 

  • Specialist
  • Icon
  • Group: Specialist
  • Posts: 1,108
  • Joined: 11-December 05

Posted 23 October 2007 - 05:11 PM

What you are looking for is known as a BHO or Browser Helper Object. You can write them in VB6 as long as you have a special type library. Google for "visual basic 6 bho"
Security by design, not implementation.

[My Blog
]
0

#4 User is offline   CloudyOne 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 82
  • Joined: 13-October 03

Posted 25 October 2007 - 09:45 AM

If you're going to be filling out the same info everytime (no extra conditions) there are browser macroer plugins for firefox. I use the IMacro plugin, which works great, and i can even minimize the browser and do other stuff on my computer while it completes filling in my forms and doing everything it recorded to do!

https://addons.mozil...efox/addon/3863
0

#5 User is offline   clicky 

  • Private
  • Icon
  • Group: Members
  • Posts: 2
  • Joined: 30-July 07

Posted 08 December 2007 - 07:42 PM

yah, you can do this through the WebBrowser control. i did the same project a few months back. the functions you might find useful are at http://www.compuonli...ll_form_ie.html - making an automatic form filler should be simple from there.

headers are;
Public Sub SetInputField(doc As HTMLDocument, Form As Integer, Name As String, Value As String)
Public Function GetInputField(doc As HTMLDocument, Form As Integer, Name As String) As String
Public Sub SetCheckBox(doc As HTMLDocument, Form As Integer, Name As String, Value As Boolean)
Public Sub SetRadioButton(doc As HTMLDocument, Form As Integer, Name As String, Name2 As String)
Public Function SetComboBoxValue(ByVal doc As IHTMLDocument3, Form As Integer, Name As String, Name2 As String)
Public Function SetComboValue(ByVal doc As IHTMLDocument3, Form As Integer, Name As String, Name2 As String)

0

#6 Guest_RandomCode_*

  • Group: Guests

Posted 12 January 2008 - 01:05 PM

You can do that easily if you use the webbrowser control and use DOM to access the html structure.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

  • Share



Our Sponsors:


SwiftLayer Affiliate Web Hosting