Learning BH programming

tilraen

Registered Member
Joined
Sep 28, 2008
Messages
70
Reaction score
78
Hi,
I'm wanting to know if there are any resources on how to get started in black hat programming. I'm mainly interested in writing automation programs.

note: I'm not asking how to program, I've got a degree in software engineering. I want to learn stuff specific to black hat programming.

Cheers
 
Define: "Black hat prgramming".

You have an idea for a program, you decide what language you use to write it in and start writing the code. It's really not that hard. Unless I missed your point.
 
wtf is BH programming? Programming is programming, if you know PHP/Mysql/cUrl, you'll go a long way. If you had a degree in Software Engineering, you'd know this.
 
mmm I suppose you're all right, I was just hoping there was some sort of resource to guide me a bit (kinda liek gamedev.net for game development). And actually I'm in my 4th year in software engineering so I don't technically have a degree yet, but if you've done any degrees lately you'll know they don't actually teach that much, mainly just java programming.
 
hi Iam in same boat...
and I think we need to learn... php... javascript.....
and best palce to start is w3 otherwise ...lots of php forums
i have not yet started...
and I dont agree with degree logic....simple....
 
Well, if you have the skills, the only thing you actually need to learn is IM, to boot, and then, BH techniques so you can automate those or come with new ideas.
 
I`ve learned much languages for something like this but the best results i get with C# in combination with http://www.codeproject.com/KB/IP/httpwebrequest_response.aspx. If you understand both, then you don`t have any problems with automating web things in the future.
 
I haven't come across any tutorials specifically bh programming like automation. However, if you search sites like planetsourcecode.com and codeproject.com for specific topics like browser automation you'll find what you're looking for.

-SDT
 
u need php, perl, sql also a bit of .net might be usefull if u want to share with others. javascript of course wont hurt but not neccessary at all.
 
What you presumably want to do is bot programming. This means you want to simulate browser behaviour. Check amazon for "bot programming", nice books available.

* Depending on your target, you need a java script library (especially for popular sites like social bookmarking sites, they implemented some tricks to block simple html bots)
I use htmlunit (java) which works great for me for any automation purpose.
Afaik, for .net something is also available, even a huge ebook was shared here once.

* Other languages (php, perl, etc) offer also some browser emulating libs, but maybe w/o js support.

* Macro processors for controlling your normal webbrowser are also available, some people report great success with them.

My recommendation: stick with java or .net and the corresponding libs, this is most effective imho in terms of success/time.
 
What you presumably want to do is bot programming. This means you want to simulate browser behaviour. Check amazon for "bot programming", nice books available.

* Depending on your target, you need a java script library (especially for popular sites like social bookmarking sites, they implemented some tricks to block simple html bots)
I use htmlunit (java) which works great for me for any automation purpose.
Afaik, for .net something is also available, even a huge ebook was shared here once.

* Other languages (php, perl, etc) offer also some browser emulating libs, but maybe w/o js support.

* Macro processors for controlling your normal webbrowser are also available, some people report great success with them.

My recommendation: stick with java or .net and the corresponding libs, this is most effective imho in terms of success/time.

Was about to ask a question but this pretty much answers it :)

Also, any specific recommendations on the book list? I always like learning a language based on a book. That way you're less likely to copy and paste code from an online tutorial and you're more inclined to actually learn it.
 
Last edited:
There's a C# Bot programming book floating around in the downloads section. I imagine you could find it on any one of the torrent sites as well.

-SDT
 
I'm prefer to program in C#. It's versatile and powerful, but knowing some php will help you when you have to interact with a php-based site. I like to think about what I want to accomplish, and then choose the language I will program the solution in.

There's lots of posts here asking for software solutions or comparing software products. Any one of them could be your first foray into "black hat programming." You just need to ask yourself, "How would I solve that problem or how would I have made that application better."

This is a great place to learn IM, and there's hundreds of places to learn programming. I don't know of any that combine the two in one site... but truefully, as a future software engineer, it's up to you to know how to apply your knowledge of software to a real-world problems. There's plenty of opportunities to write "BH Software" here, so my recommendation is to do it.
 
I am actually in the same boat, I learned C++ but only console stuff and just started learning C# and vb.net.

I am using this resource for C#

Code:
[URL]http://idealprogrammer.com/videos/c-soup-to-nuts-22-free-one-hour-videos-from-microsoft-expert/[/URL]
 
It really depends on what it is you want to do.

C# and C+ will take you quite a long way as you will obviously pick up a lot of languages on the way.
 
Yeah, there's no such thing as BH programming. There is programming to use with BH techniques. Learn how to use the IE object (or the gecko) and how to tackle javascript tar pits and you'll be in the game. The first task, if you allow me, is to make a bot that go on gmail, create a new account and popup just the captcha for manual introduction. So the script has to go there, follow a link, identify the captcha image and show it to you, send your input back and finish the project. On the client side there will be only captchas and more captchas. Also, cool you make it use proxy to create more than one account at a time. automatic name and password generation from libraries. and you have yourself a bh product. cool huh?
 
There's a C# Bot programming book floating around in the downloads section. I imagine you could find it on any one of the torrent sites as well.

-SDT

Yea i have it and its pretty useless (very basic stuff).
My suggestion is PHP for server side and c# for desktop developement.
 
I've been using ubot and winautomation for a few weeks and this has made me very interested in both 'bot programming and p2p frameworks. I have access to MS Dreamspark so I downloaded Visual Studio and Expression Studio, and will probably build a server to run (my free copy of) Win2k8 Server. Since these tools have basically been handed to me on a platter, I have decided to use them. (Screw Linux and OSS) My problem is time, focus and direction. I'm short on all three fronts. I realize that I need to focus on just one of these programming language to begin with, though - so my question is this: Are there reasons to choose C# or C++ instead of vb.net? Is one easier to use with mysql/php than the other? Which one is more suited for building p2p apps? I know, I know... google is my friend, but experience and opinions from BHW trump google. I'm also interested in what other forums people use to learn programming.
(Edit: I'm thinking MSDN forums, forums.mysql.com, and phpfreaks.com)
 
Last edited:
Back
Top