Thread: Python Scanner and Google Search
-
08-13-2012, 01:45 AM #1
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.
-
-
08-16-2012, 02:25 PM #2
-
08-16-2012, 11:14 PM #3
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.
-
08-27-2012, 09:04 PM #4Garage Hyper Addict



- 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
-
08-29-2012, 03:59 PM #5
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
-
09-07-2012, 06:58 AM #6
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.
-
09-07-2012, 07:08 AM #7
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.



LinkBack URL
About LinkBacks



Reply With Quote


Poizon Web Exploiter 2.0
06-18-2013, 10:34 PM in Tools & Scripts