Subscribe

Enter your email address:

Categories

 

November 2009
M T W T F S S
    Dec »
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Archives

Disclaimer

© 2009 Zero Intellect. All rights reserved. The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway. This material is not sponsored or endorsed by any of the vendors mentioned in this website and their Logos are trademarks of their own and their affiliates.

Manipulating network routing tables with the ROUTE command

 

We might sometimes need to manually configure the routes in the routing table. To get a better understanding of the capabilities of the ROUTE command, its best to get started with the documentation. Hence, running a route command without any parameters gives us the syntax and documentation of this command as can be seen

Continue reading Manipulating network routing tables with the ROUTE command

Securing your URL with Hexadecimal codes

 

Hexadecimal equivalent codes of ASCII characters can be used to represent characters of a URL’s path and filename.

Each hex number is preceded by a “%” symbol to identify the following two numbers/letters as a hexadecimal representation of the character

An ASCII chart can be used for the conversion from ASCII to Hex or

Continue reading Securing your URL with Hexadecimal codes

IP Address and URL obscuring

 

We all know IP addresses to be of the form XX.XX.XX.XX where XX is an octet ranging from 1 to 255 (Although other rules apply as to what the value of XX could be depending on either of the four octets)

 

However, for users who want to obscure the actual IP address can

Continue reading IP Address and URL obscuring

Types of Port Numbers

 

Port numbers are divided into three types. Well known, registered and dynamic

 

Well Known Ports

These range from 0 to 1023 and are well known and defined. For the sake of simplicity UDP and TCP port numbers for the same service are the same. Examples are

smtp   25 / tcp   Simple Mail Transfer Protocol smtp  

Continue reading Types of Port Numbers

Netstat Torn Apart

 

I use the NETSTAT command frequently during my consulting assignments, however apart from the common options; I never delved into using all options of the command. My curiosity got the better of me and I went on to explore all the options of the NETSTAT command, so here goes

NETSTAT (network statistics) is a

Continue reading Netstat Torn Apart

How to get your own IP Address

 

I have been asked by many people of the best way to get your IP address. Here I demonstrate a few common methods to get your own IP address  

 

IPCONFIG

By far the quickest and most common method of getting your IP address on Windows based systems is the ipconfig command which

Continue reading How to get your own IP Address

C++ printing out a specific pattern

 

Sometimes we come across elementary C++ programming tasks but which require you to tax your brain because of the logic involved

 

I came across a question which asked the user to write a c++ program to print the pattern above for any value of N (where N are the number of rows)

1234554321

Continue reading C++ printing out a specific pattern

Types of Data Objects in C++

 

A data object is a block in computer memory that can either contain a single value of a group of values. The value of the data objects can be accessed using a simple variable or another complex expression. Each object has a unique data type which determines how much storage would be allocated in

Continue reading Types of Data Objects in C++

C++ Logical Negation Operator

 

The logical negation operator ! [exclamation] used in C++ and many other languages. However the return value of the operator is overlooked by many people.

 

The syntax of the operator follows is

 

! cast-expression

 

Where, the cast-expression operand must be of scalar type (returning only a single value, not multiple values

Continue reading C++ Logical Negation Operator

Exceeding the range of data types in C++

 

My friend recently gave his C++ oral examination and one of the questions asked by the invigilators was regarding incrementing a variable after it has been set to the maximum value in its range

To be specific, in his case the invigilator asked him the output of a variable of type int if initialized

Continue reading Exceeding the range of data types in C++