+ Reply to Thread
Results 1 to 5 of 5

Thread: Python Scanner and Google Search Share/Save - My123World.Com!

  1. #1
    Garage Newcomer BlackCherry is on a distinguished road BlackCherry's Avatar
    Join Date
    May 2012
    Posts
    6
    Thanks
    2
    Thanked 2 Times in 1 Post

    Python Scanner and Google Search



    Hi all!!! I make this script to join some scanners at one, its have these functions:
    - Scan the ip of server.
    - Scan for open ports.
    - Show the server of ip.
    - Show the source code of website.
    - Google search at browser.
    - Google search at terminal that shows 50 results and save at cherry-sites.txt
    - Read the text file.

    Its useful for pen tests or for just have fun!!!

    Here is the code: https://github.com/BkCherry/Cherry-Scanner

    If someone could help me or have some sugestions for functions contact me: bkcherry11[at]gmail[dot]com.


    Black Cherry.

  2. The Following 2 Users Say Thank You to BlackCherry For This Useful Post:

    Crim3R (08-15-2012), [s] (08-13-2012)

  3. #2
    InfoSec Consultant 41.w4r10r has a spectacular aura about41.w4r10r has a spectacular aura about41.w4r10r has a spectacular aura about 41.w4r10r's Avatar
    Join Date
    Jul 2010
    Location
    Pune
    Posts
    302
    Thanks
    31
    Thanked 82 Times in 37 Posts
    Quote Originally Posted by BlackCherry View Post
    Hi all!!! I make this script to join some scanners at one, its have these functions:
    - Scan the ip of server.
    - Scan for open ports.
    - Show the server of ip.
    - Show the source code of website.
    - Google search at browser.
    - Google search at terminal that shows 50 results and save at cherry-sites.txt
    - Read the text file.

    Its useful for pen tests or for just have fun!!!

    Here is the code: https://github.com/BkCherry/Cherry-Scanner

    If someone could help me or have some sugestions for functions contact me: bkcherry11[at]gmail[dot]com.


    Black Cherry.
    can you please elaborate more about this functions i mean what exactly we get using this functions?
    - Show the server of ip.
    - Show the source code of website.
    - Google search at browser.

  4. #3
    Garage Newcomer BlackCherry is on a distinguished road BlackCherry's Avatar
    Join Date
    May 2012
    Posts
    6
    Thanks
    2
    Thanked 2 Times in 1 Post
    These functions show some informations about the host:
    - Show the server of ip:
    def server():
    ip = sys.argv[2]
    h=httplib.HTTPConnection(ip)
    h.request("GET", "index.html")
    r=h.getresponse()
    print r.getheader('server')

    It will get the ip and look for header 'server' of index.html page.

    -Show the source code of website:
    Its a simple function to show the html source code of the site.
    usock = opener.open(url) # open the url
    url = usock.geturl()
    data = usock.read() # read the data received that is the source code.

    - Google search at browser:
    It's open one page at some webbrowser to search what you want. Just for quick search.
    The complete search can be done at google search at terminal with the command:
    python cherry3.py -g
    >> Search: python
    # it will show 50 websites and save at cherry-sites.txt

    That's it!!! Have fun!!!

    Black Cherry.

  5. #4
    Garage Hyper Addict b0nd is a jewel in the roughb0nd is a jewel in the roughb0nd is a jewel in the roughb0nd is a jewel in the rough b0nd's Avatar
    Join Date
    Jul 2010
    Location
    irc.freenode.net #g4h
    Posts
    649
    Thanks
    139
    Thanked 272 Times in 110 Posts
    Appreciate if you could add in some screenshots. That would help viewers get a glimpse of it's functionalities without running the tool.
    [*] To follow the path: look to the master, follow the master, walk with the master, see through the master,
    ------> become the master!!! <------
    [*] Everyone has a will to WIN but very few have the will to prepare to WIN
    [*] Invest yourself in everything you do, there's fun in being serious

  6. #5
    neo
    neo is offline
    InfoSec Consultant neo is on a distinguished road
    Join Date
    Jul 2010
    Posts
    313
    Thanks
    99
    Thanked 54 Times in 36 Posts
    If you have just created it for learning python don't continue reading my post.

    If not read ahead->
    I am unable to see what extra feature you have added to your scanner.
    More than these facilities are available if you use python library for nmap (python-nmap : using nmap from python)
    If you have created this for others to use at-least one feature should be there which is new or not available in other tools.
    Orkut id: neo1981
    Blog: infosec-neo.blogspot.com
    Nothing is Impossible*


    *Conditions Apply

  7. #6
    Garage Newcomer BlackCherry is on a distinguished road BlackCherry's Avatar
    Join Date
    May 2012
    Posts
    6
    Thanks
    2
    Thanked 2 Times in 1 Post
    I will post some screenshots of the scanner.
    I create this for fun and to learn how the scanners works too. I know that have many tools and scanners more powerfull than that i created, but i like to create this kind of scripts and i'm learning a lot doing this.

    Black Cherry.

  8. #7
    Garage Newcomer BlackCherry is on a distinguished road BlackCherry's Avatar
    Join Date
    May 2012
    Posts
    6
    Thanks
    2
    Thanked 2 Times in 1 Post
    I will post some screenshots of the scanner.
    I create this for fun and to learn how the scanners works too. I know that have many tools and scanners more powerfull than that i created, but i like to create this kind of scripts and i'm learning a lot doing this.

    Black Cherry.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts