Search This Blog

Friday, November 7, 2014

netstat (network statistics) command-line tool to displays network connections (both incoming and outgoing)

Netstat is a built in command line tool that provides you with information about TCP connections, network statistics and IP routing table.

Chapter 1
To displaying all connections
netstat -a

Output.


However that doesn't tell you much about what is going on, unless you know the ports that are in use.
By adding the option -b you can get more information

netstat -a -b or netstat -ab


You can also list the running processes using the PID using the -o switch.

netstat -ao



You can then compare the list with the tasks shown in Task Manager.
With just the -o switch (netstat -o) then you will see just the active connections.

Specific Port Information

If you are looking at the information on pure number form (so IP address and port number) use the -n switch

netstat -an
However this can provide you with more information than you need. Therefore if you are looking for specific port then you can filter that information.
For example to find a connection to web sites or other services using port 80 use this command:
netstat -an | findstr :80
Will show all connections on port 80
| is pipe, which is usually found by pressing SHIFT and then \ on the keyboard. It looks like a broken vertical line on the keyboard.
Repeating the results
If you want to repeat the results at frequent intervals, then you can just place a number at the end, which is the repeat time in seconds.
netstat -an 10
This will show the output of netstat -an every 10 seconds.
To combine the repeat with a filter, put the interval time before the filter:
netstat -an 10 | findstr :80
There is no break of any description between the results, it just appears in a single table, with no time stamp.
Recording the Results
Of course the usual technique to drop the results in to a text file also apply
netstat -an >c:\netstat.txt
Example try :netstat -nb

Netstat Help Text
netstat /?
Displays protocol statistics and current TCP/IP network connections.
NETSTAT [-a] [-b] [-e] [-f] [-n] [-o] [-p proto] [-r] [-s] [-t] [interval]
-a       Displays all connections and listening ports.
-b       Displays the executable involved in creating each connection or listening port. In some cases well-known executables host multiple independent components, and in these cases the sequence of components involved in creating the connection or listening port is displayed. In this case the executable name is in [] at the bottom, on top is the component it called, and so forth until TCP/IP was reached. Note that this option can be time-consuming and will fail unless you have sufficient permissions.
-e            Displays Ethernet statistics. This may be combined with the -s option.
-f             Displays Fully Qualified Domain Names (FQDN) for foreign addresses.
-n            Displays addresses and port numbers in numerical form.
-o            Displays the owning process ID associated with each connection.
-p proto  Shows connections for the protocol specified by proto; proto may be any of: TCP, UDP, TCPv6, or UDPv6. If used with the -s option to display per-protocol statistics, proto may be any of: IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.
-r            Displays the routing table.
-s            Displays per-protocol statistics. By default, statistics are shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6; the -p option may be used to specify a subset of the default.
-t            Displays the current connection offload state.
interval    Redisplays selected statistics, pausing interval seconds between each display. Press CTRL+C to stop redisplaying statistics. If omitted, netstat will print the current configuration information once.

Monday, August 18, 2014

hack hide files and folders hff password


1. Hi everyone,Let us see how to hack Hide Files & Folders
2. Download Software from the below link http://www.softstack.com/hff.html Download -> Install -> Run
3. If any error came while opening try to change the Compatibility mode

4. Default Password = admin , Additional password = admin

5. Goto Options  ->  password -> set new password set additional password



6. Now try with old password admin...
7. Open regedit
8. [HKEY_LOCAL_MACHINE\SOFTWARE\Hide Files and Folders\Settings2] "0x12a3b86cd"=""  "0x12a4b86cd"=""


9. Values is the password in encrypted format ,
10. Back up the current values, and clear it,

11. If no values password will be "admin"

12. Bingo....

Friday, August 15, 2014

Thursday, August 14, 2014

How to Make a Simple Feedback Form using HTML



Steps to making a feedback form on your website where people can email you information.
1. Copy the below code
2. Replace the following:
a. FormMail Demo: With your page title.
b. www.mydomain.com: With your domain name.
c. youremail@here.com: With your website email address.
3. Replace the words in with whatever you want that part of the form to say.
a. Whatever you want to say here
b. Visitor E-Mail
c. E-Mail Content
d. E-Mail Me!
4. Save it as a .html (e.g form.html)
5. Upload and you are done.