Hello Guys!
I am Afghan Assassin as you all know, today i teach you "
I must say that i am a Linux user and share my knowledge about linux not MS windows so please if you are reading and following my blog, delete your MS windows and install Kali-Linux.
1 : How to find IP address of a website
2 : How to find OS of website by its IP using Nmap
3 : Finding website ports
1)How to find any website IP address
Open your Kali-Linux terminal and type "nslookup" nslookup is our command and the next we type our site address, remove http/https and just type as example :
nslookup www.afghangovernment.com
As you can see in below image :
2) How to find OS of website by its IP using Nmap
First we must know what is Nmap and what it can do
Nmap
Nmap is one of such tools. It sends seven TCP/IP crafted packets (called tests) and waits for the answer.
Just know this it can help us :D
For using Nmap, we need to start Metasploit and for starting Metasploit we need to start Postgresql
For starting postresql open your terminal and type this command
service postresql start
And for starting MSF (Metasploit framework)
service metasploit start
Now we have to enter msfconsole, for that, type msfconsole on terminal and be patient :D
After it starts it looks like this image :
Now in the msf command line type :
db_nmap
Now you are in nmap
now we want to find information about this IP address 192.254.190.3, i found this using nslooup to www.afghangovernment.com (nslookup www.afghangovernment.com)
Its just example! :D
type : db_nmap (IP address)
Now we want to find how many ports this website have
For that Follow steps
After fetting info about IP address with db_nmap
Now type :
services -h
Then type :
services
Now you can see all open and filtered ports as example in below images :
This was just a part of exploiting website with Metasploit, i will teach more about it in future
Share, Comment, and like it if you want :)
My contact address :
My Gmail:
hamedmh346@gmail.com
My FB:
https://www.facebook.com/AfghanAssassin.official.1
Keep visiting for tutorials
Enjoy!
Good bye.
No comments:
Post a Comment