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

Learning to create bots..

Discussion in 'General Programming Chat' started by procrastinator, Oct 2, 2008.

  1. procrastinator

    procrastinator Registered Member

    Joined:
    Jun 16, 2008
    Messages:
    52
    Likes Received:
    13
    I started pushing myself to learn php/mysql. I know the language decently but not great. I am looking for tutorials sites that help with bot building.

    Example: auto log in to youtube and log out

    Any help is greatly appreciated.
     
  2. Mr. Crazy

    Mr. Crazy Newbie

    Joined:
    Apr 22, 2008
    Messages:
    18
    Likes Received:
    3
    You might want to look into learning cURL for PHP.
    This should let you grab sites and log in to them using PHP.

    Here's an example from php.net that shows you how to grab a website:
    Code:
    hxxp://php.net/manual/en/curl.examples.php
    And here's a few sites I found off the big G. They don't log into You*tube specifically, but you might be able to modify them or get a general idea of how to go about doing it:
    Code:
    hxxp://w-shadow.c0m/blog/2007/07/07/logging-in-with-curl-and-php/
    hxxp://www.trap17.c0m/index.php/automatic-login-using-curl_t38162.html
     
  3. catman08

    catman08 Junior Member

    Joined:
    Jan 11, 2008
    Messages:
    171
    Likes Received:
    109
    Occupation:
    IM
    Location:
    Europe
    There is also a book from michael schrenk that is just about bot creation .... i have read it and it is the best bot creating book there is on the market.

    He also gives a lot of examples and wrapper classes to make bot creation a lot simpler. Especially for the beginner this is a great book.

    cheers

    P.S. That is the guys website:
    Code:
    http://www.schrenk.com/nostarch/webbots/
    If you have more questions ... feel free to pm me.
     
    • Thanks Thanks x 2
    Last edited: Nov 22, 2008
  4. dekadent30

    dekadent30 Power Member

    Joined:
    Nov 10, 2008
    Messages:
    516
    Likes Received:
    146
    i have to learn php/mysql blackhat seo with php knowledge is much easier
     
  5. fatboy

    fatboy Elite Member

    Joined:
    Aug 13, 2008
    Messages:
    1,618
    Likes Received:
    3,227
    Occupation:
    Retired
    Location:
    Old Peoples Home
    That book will be with me next week - looks really good and thanks for posting it up :)
     
  6. catman08

    catman08 Junior Member

    Joined:
    Jan 11, 2008
    Messages:
    171
    Likes Received:
    109
    Occupation:
    IM
    Location:
    Europe
    no problem ... i am happy to help. :)
     
  7. fatboy

    fatboy Elite Member

    Joined:
    Aug 13, 2008
    Messages:
    1,618
    Likes Received:
    3,227
    Occupation:
    Retired
    Location:
    Old Peoples Home
    Book arrived today - some good reading ahead me thinks!
     
  8. graham23s

    graham23s BANNED BANNED

    Joined:
    Jul 26, 2008
    Messages:
    154
    Likes Received:
    106
    That is a good book! i'm in the middle of developing a directory auto submitter, i bought this book which is a must if you want to master curl:

    Code:
    http://rapidshare.com/files/167727580/curl_php_book_v2.1.pdf
    Graham
     
    • Thanks Thanks x 1
  9. catman08

    catman08 Junior Member

    Joined:
    Jan 11, 2008
    Messages:
    171
    Likes Received:
    109
    Occupation:
    IM
    Location:
    Europe
    thanks for the share graham ... it looks like an interesting book too. :)

    @fatboy ... cool! Yes it is indeed a great read this michael is an awesome guy ... he knows his stuff, knows how to motivate his readers and he is cool. michael is also a speaker at defcon. I have learned so much from him. :)
     
  10. fatboy

    fatboy Elite Member

    Joined:
    Aug 13, 2008
    Messages:
    1,618
    Likes Received:
    3,227
    Occupation:
    Retired
    Location:
    Old Peoples Home
    Was he in Vegas this year - I didn't see him if he was :(
     
  11. catman08

    catman08 Junior Member

    Joined:
    Jan 11, 2008
    Messages:
    171
    Likes Received:
    109
    Occupation:
    IM
    Location:
    Europe
    No i think he did not attend this year ... unfortunately. :(
    But he did last year at defcon 15.
     
  12. phr0zt

    phr0zt Regular Member

    Joined:
    Jun 30, 2007
    Messages:
    439
    Likes Received:
    182
    Here's the book catman was talking about, for anyone who's interested.
    I didn't upload it, but I've looked through it, looks pretty good! =)

    WebBots, Spiders, and Screen Scrapers:

    Code:
    hxxp://rs311.rapidshare.c0m/files/137563422/w.e.b.bots.spirs.n.scr.scrapers-virTuAlZin.rar
    enjoy!
     
    • Thanks Thanks x 1
  13. r-webb-k

    r-webb-k BANNED BANNED

    Joined:
    Dec 19, 2006
    Messages:
    373
    Likes Received:
    407
    thankyou soo much man im going to learn how to code my own backlink building tool:D
     
  14. fatboy

    fatboy Elite Member

    Joined:
    Aug 13, 2008
    Messages:
    1,618
    Likes Received:
    3,227
    Occupation:
    Retired
    Location:
    Old Peoples Home
    Were you in Vegas this year then - first time I have gone to BH in Vegas and loved the place!

    Defcon was an eye opener to say the least!