Wednesday, October 17, 2012

Difference between encoding and encryption?

Interesting to be suddenly being questioned by someone on this topic.
Here is a simple form to the answer.

    Encoding is changing the way data is presented
      - using a public, generally-understood, and (usually) low-overhead method
      - for the purpose of allowing the data to survive intact and easily recoverable after some sort of transfer.
    Encryption is changing the way data is presented
      - using a method or a key that is restricted and (as it happens) often computationally intensive
      - for the purpose of shielding the data from some people while making it available to others.

Monday, September 10, 2012

Getting Yahoo quotes into Excel

This link below shows a cool way to get Yahoo Stock quotes from Excel. It has a limitation of only allows to  get a maximum of 10 fields as it is being limited by Yahoo.

http://www.gummy-stuff.org/Yahoo-data.htm

Tuesday, September 4, 2012

How to Determine Whether your PC is being connected to a Domain Controller from Command Prompt (cmd)?

1. Type "set user" and Press "Enter" in the command prompt.
2. The result will show you:-
USERDNSDOMAIN=YourDNSDomain
USERDOMAIN=YourDomainName
USERNAME=YourLogonUsername
USERPROFILE=YourProfileDirectoryPath

How to Determine Which Domain Controller a PC is Using from Command Prompt (cmd)?

1. Type in that window "set logonserver" without quotes. Press "Enter" key.
2. Read the result of the output. The output will show you LOGONSERVER= and after the equals sign will be the name of the logon server.

Sunday, August 26, 2012

Wireshark filter to check for problem PC creating random account being lockout in AD

I have a PC that is residing in my office LAN which is causing accounts being lockout in the AD every now and then. The tool I used to trace down the PC is to use WireShark. By default, you could capture tons of information that is being transmit over the LAN but to cut things short, I used the default display filter to narrow down my time in tracing.

The steps being used in wireshark is as follows:-
1. Go to "Capture -> Options". My preference is to "Enable network name resolution" as it just save me time to figure out which computer name it is if it is able to resolve from the DNS/WINS.
2. Press the "Start" in the "Capture -> Options" menu after checking on "Enable network name resolution" will start the capturing of network packet from the default NIC.
3. In the "Filter" (Display Filter), type in this expression -> "kerberos.msg.type == 10"
4. After typing click on "Apply" and hopefully all things are right for you to see the result as show in the image below.
Based on the results, I only refer to the Info that display "AS-REQ" results. If a certain IP address is continuously display in the result, there is a high chance that this PC is the one causing the problem. So track down this PC and disconnect it from the network and make sure that the problem does not persist to confirm that this PC is the one.

Note: If the problem is still there, there might be a chance that there is more then a PC causing the problem or this is not the PC.

Wednesday, August 1, 2012

Onsite Engineer Toolkit Reference

For all those IT on-site engineers, this would be a good point of reference to gear up yourself before attending to customer calls.

Pls refer to the link below.
http://www.technibble.com/my-onsite-technician-gear/

Thursday, July 12, 2012