the interesting about "bh" software is that there are no rules. one example may show you one specific facet of some interaction of functionality you need, but can't even begin to teach you what you need to know.
more important than source code examples is a solid and comprehensive understanding of the concepts involved. when you boil it down it's all about making HTTP requests to get what you need, so a good understanding of the HTTP protocol is essential. once you have that, all you really need to is emulate it, wrap a funky loop around it and let it go.
obviously it's more nuanced than that, but at it's most simple level, that is what it is.
one set of tools that has helped me an incredible bit would be packet loggers. two of my favorites are HTTPAnalyzer and CommView. once you get something that allows you to view the request/response actions that are going behind the scenes in your web browser it gives you a window in to what kind of functionality you need to emulate.
probably a little higher level of sophistication than he was looking for, maybe, right off the bat.
Also if you have any resources which teaches how to make small bh programs in vb. I would be very glad
I will say that you'll have a much easier time making programs by doing some very basic things to start:
1)
A Clear Goal: Decide on what type of program you wish to make and for what service or site. What set of actions do you want your program to automate or semi-automate for you?
2)
Reseach, research, research: Comprehensively interact with the site/service you are looking to create this program for. Everything your program needs to do, do many times over by hand. Observe what you could call a "standard use case": How would a regular user go about doing whatever it is you're trying to do? Unless you know of, or have an idea for, a specific exploit try to emulate the normal use of the site/service as closely as you can.
3)
More research, the programming kind: Now that you have an idea of what you want to program, what exactly you would like it to do, and in what way it should do it you will want to look into what method of emulating these behaviors would be best for you particular case. You mention VB but not which version, so I can't be too specific. There are big differences between classic com visual basic (vb 3,4,5,6 for example) and VB.Net (2003, 2005, 2008, etc). But you will inevitably be faced with some general choices: of interfacing with an actual, open webbrowser; using some sort of browser control inside of vb; using (classic vb) a third-party http protocol ccontrol, the inet control or (vb.net) the httpwebrequest class (total garbage, but gets the job done) to emulate the http protocol requests that a browser sends "behind the scenes"; to interface directly with winsock connections yourself via a variety of methods. in classic vb there are winsock controls and, i believe, a windows api to deal with raw sockets. i havent worked in it for a very long time so i cant give you the best data there. in .net you would be looking at the system.net.sockets class or the system.net.tcpclient (i think). For the latter two methods you will most likely wish to get the packet loggers that Smack recommended previously. Most importantly: research the programming concepts behind the use and implementation of whatever method you choose. I can't stress that enough.
http://www.msdn.com is your friend. It's an irritating ass of a friend, but a good, vital friend none-the-less. You can not go anywhere very far in programming without learning those things thoroughly. If you really do you will be rewarded vastly. If you can master free threading, sockets, how to impliment ssl over raw sockets, etc in .net you will be able to do things most people wont even believe are possible. Trust me
There is really far too much just type here and I have .net work of my own to get back to. If you are looking to make a serious effort at learning feel free to PM me. I'll help, if i can, but i can't just give out my source and I definitely have time constraints.
Good luck
Edit: Sorry, came across the thread in seach and didnt realize it was specificly in the .net category. I'll leave the more classic vb oriented parts in because they're somewhat limited and some people may find them of some sort of use. Thanks
