Amazon Great Offers

April 27, 2017

Windows: Find which port is getting used/mapped by which process/program with details from task manager

Hi friends,

Today, I have come across with a situation of finding the port-program mapping.

Procedure


  • Open command prompt
  • Enter the following command
  • Syntax: netstat -aon | find ":"
  • Example: netstat -aon | find ":80"
  • Get the PID (Process Id) from the list



  • Execute the following command
  • Syntax: tasklist "PID eq "
  • Example: tasklist "PID eq 9192"


Please send your queries and feedback to psrdotcom@gmail.com

April 22, 2017

Windows Oracle startup issue

Hi friends,

When your Oracle is unable to connect, do the following procedure

Open command prompt
Connect as sysdba
cmd> sqlplus "/ as sysdba"
sql> startup
Once the command executed successfully, then you should be able to login to Oracle

Please send your comments and feedback to psrdotcom@gmail.com

April 05, 2017

Capture localhost (127.0.0.1) system packets using RawCap

Hi friends,

Today I am going to share the knowledge of capturing network packets in local system i.e. localhost.

Using RawCap utility, you can capture the loopback adapter packets which are our localhost packets.

Procedure

Download the RawCap.exe from Netresec website url
http://www.netresec.com/?page=RawCap
Once you download it
Open command prompt with administrator privileges
You have the following options while running the RawCap.exe

Syntax

RawCap.exe
-c <-> Stop capturing after the specified packet count reached
-f <-> Flush each packet without buffering
-s

Example 1:
RawCap.exe 127.0.0.1 dump.pcap
Note: Ctrl + C to stop the capturing

Example 2:
RawCap.exe -c 1000 127.0.0.1 dump.pcap
After 1000 packets, the capturing will stop

Please send your feedback and comments to psrdotcom@gmail.com

Featured Post

Java Introdcution

Please send your review and feedback to psrdotcom@gmail.com