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

Automation

Discussion in 'BlackHat Lounge' started by david2222, Dec 21, 2012.

  1. david2222

    david2222 Registered Member

    Joined:
    Feb 27, 2012
    Messages:
    97
    Likes Received:
    12
    Location:
    Mars
    Hello BHW,

    It's been a while, happy to be here again!

    I badly need help in automating a task that is proving to be a big pain. I have been playing with imacros and zenno for the last couple of days but always get stuck somewhere. So i need few minutes from brilliant minds. Here is the scenario:

    1- I have a webpage say dog.html with an article. This article contains a specific word suppose a word 'dog'.
    2- Now, there are hundreds of words {cat, snake, mice....} which will replace word 'dog' one by one and save the resulting file as cat.html, snake.html, mice.html....

    Flow diagram will be like this:

    Go to page dog.html -----> Find word 'dog' and replace with first word 'cat'-----> save the output file as cat.html and so on.

    Now the above loop will continue by taking targeted words from an excel/csv sheet and replace with word 'dog' and continues.

    Happy Christmas
     
    Last edited: Dec 21, 2012
  2. BHopkins

    BHopkins Moderator Staff Member Moderator Jr. VIP

    Joined:
    Dec 31, 2010
    Messages:
    2,311
    Likes Received:
    1,387
    Gender:
    Male
    Occupation:
    ORM and SEO company owner
    Location:
    California
    Home Page:
    You could definitely do that. I don't know of anything that does it currently, but you could develop it as a php script, desktop program, or just about anything that can do a find and replace.
     
  3. david2222

    david2222 Registered Member

    Joined:
    Feb 27, 2012
    Messages:
    97
    Likes Received:
    12
    Location:
    Mars
    @BHopkins

    thank you for your reply. I am stupditly a newbie to programming. Could you send me the tutorial link or anything to develop a PHP script for this.

    Have a nice day!
     
  4. BHopkins

    BHopkins Moderator Staff Member Moderator Jr. VIP

    Joined:
    Dec 31, 2010
    Messages:
    2,311
    Likes Received:
    1,387
    Gender:
    Male
    Occupation:
    ORM and SEO company owner
    Location:
    California
    Home Page:
    Sure, here is the best programming tutorial you'll ever receive. I don't do any programming, I've just hired enough devs to know what's possible. :)
     
  5. david2222

    david2222 Registered Member

    Joined:
    Feb 27, 2012
    Messages:
    97
    Likes Received:
    12
    Location:
    Mars
    giving it a go.

    Thank you again, as there are very less people on this planet who have time for others!