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

How to check if a page contain a keyword.

Discussion in 'BlackHat Lounge' started by Ayomav, Jan 1, 2012.

  1. Ayomav

    Ayomav Regular Member

    Joined:
    Nov 23, 2011
    Messages:
    250
    Likes Received:
    19
    Hello,

    I have list of appx 30,000 urls.Half of them contain a keyword, I want to gather these half urls.How do I check for many urls if a page contain a keyword.

    How would you do this in imacros or maybe other language.

    Thanks
     
  2. Kaistar

    Kaistar Power Member

    Joined:
    Jan 9, 2010
    Messages:
    562
    Likes Received:
    333
    Open list in Notepad++

    Ctrl F and in the Find panel check Mark Line
    Place your keyword in the Find What field and click Find All

    A blue marker is placed next to all lines with your keyword in.

    Then close the find box and select Search/Copy Bookmarked Lines from the menu.

    All lines with your keyword are now in your clipboard, paste to a new document.
     
  3. Ayomav

    Ayomav Regular Member

    Joined:
    Nov 23, 2011
    Messages:
    250
    Likes Received:
    19
    Sorry, I think I wasn't clear.the keyword is in the PAGE, not in the url.
     
  4. washington2010

    washington2010 Regular Member

    Joined:
    Apr 1, 2011
    Messages:
    331
    Likes Received:
    44

    I think he wants to find the keyword in the actual page? Could have read that wrong though.
     
    • Thanks Thanks x 1
  5. Kaistar

    Kaistar Power Member

    Joined:
    Jan 9, 2010
    Messages:
    562
    Likes Received:
    333
    Apologies, my bad. Read it wrong.
    Figured that if the keyword was in the URL then it was pretty plain that it would probably be on the page somewhere ;-)