1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Learning BH programming

Discussion in 'General Programming Chat' started by tilraen, Aug 19, 2009.

  1. tilraen

    tilraen Registered Member

    Joined:
    Sep 28, 2008
    Messages:
    71
    Likes Received:
    77
    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
     
  2. heiska

    heiska Junior Member

    Joined:
    Dec 5, 2008
    Messages:
    138
    Likes Received:
    169
    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.
     
  3. jcdenton1

    jcdenton1 Newbie

    Joined:
    May 21, 2008
    Messages:
    2
    Likes Received:
    3
    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.
     
  4. tilraen

    tilraen Registered Member

    Joined:
    Sep 28, 2008
    Messages:
    71
    Likes Received:
    77
    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.
     
  5. blackhattrial

    blackhattrial Regular Member

    Joined:
    Jul 22, 2008
    Messages:
    410
    Likes Received:
    131
    Location:
    black hat world -
    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....
     
  6. roamer

    roamer Power Member

    Joined:
    Dec 2, 2008
    Messages:
    500
    Likes Received:
    479
    Occupation:
    Gfx designer, vfx and mgfx
    Location:
    plɹoʍ ǝɥʇ punoɹɐ ƃuıɯɐoɹ
    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.
     
  7. Coding4Flo

    Coding4Flo Newbie

    Joined:
    May 2, 2009
    Messages:
    3
    Likes Received:
    1
    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.
     
    • Thanks Thanks x 1
  8. sdtopensied

    sdtopensied Regular Member

    Joined:
    Sep 1, 2009
    Messages:
    211
    Likes Received:
    113
    Occupation:
    Software Developer
    Location:
    Western Hemisphere
    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
     
  9. iglow

    iglow Elite Member

    Joined:
    Feb 20, 2009
    Messages:
    2,080
    Likes Received:
    856
    Home Page:
    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.
     
  10. cooooookies

    cooooookies Senior Member

    Joined:
    Oct 6, 2008
    Messages:
    1,008
    Likes Received:
    216
    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.
     
    • Thanks Thanks x 1
  11. CoolDrMoney

    CoolDrMoney Regular Member

    Joined:
    Aug 26, 2009
    Messages:
    258
    Likes Received:
    95
    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: Jan 6, 2010
  12. sdtopensied

    sdtopensied Regular Member

    Joined:
    Sep 1, 2009
    Messages:
    211
    Likes Received:
    113
    Occupation:
    Software Developer
    Location:
    Western Hemisphere
    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
     
  13. dabado

    dabado Newbie

    Joined:
    Oct 29, 2009
    Messages:
    13
    Likes Received:
    1
    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.
     
  14. BlackBlackBlack

    BlackBlackBlack Newbie

    Joined:
    Nov 29, 2009
    Messages:
    25
    Likes Received:
    4
    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]
    
     
  15. rickstar

    rickstar Elite Member

    Joined:
    Dec 9, 2009
    Messages:
    1,979
    Likes Received:
    871
    Home Page:
    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.
     
  16. portuguese

    portuguese Newbie

    Joined:
    Jan 17, 2010
    Messages:
    10
    Likes Received:
    0
    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?
     
  17. kaidoristm

    kaidoristm Power Member

    Joined:
    Feb 13, 2009
    Messages:
    561
    Likes Received:
    726
    Occupation:
    Freelancer
    Location:
    Estonia
    Home Page:
    Yea i have it and its pretty useless (very basic stuff).
    My suggestion is PHP for server side and c# for desktop developement.
     
  18. greyhatdude

    greyhatdude Regular Member

    Joined:
    Sep 13, 2008
    Messages:
    377
    Likes Received:
    255
    Occupation:
    Medical Field
    Location:
    Philippines, here I come.
    Home Page:
    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: Jan 31, 2010
  19. slickcooldude

    slickcooldude Newbie

    Joined:
    Jul 12, 2009
    Messages:
    38
    Likes Received:
    4
    good book for learning about webbots, spiders, and scrapers

    hxxp://rapidshare.com/files/182076915/Webbots.Spiders.and.Screen.Scrapers.rar
     
    • Thanks Thanks x 2
  20. greyhatdude

    greyhatdude Regular Member

    Joined:
    Sep 13, 2008
    Messages:
    377
    Likes Received:
    255
    Occupation:
    Medical Field
    Location:
    Philippines, here I come.
    Home Page:
    ...with php and curl. Thanks given.