Author Archives: admin


born 1976, Falticeni , Suceava , Romania

Using netsh command under windows xp.

Netsh allows you to display or modify the network configuration of a computer that is currently running.

Netsh also allows you to run a group of commands in batch mode against a specified computer.

Netsh can also save a configuration script in a text file for archival purposes.

This feature help you configure other servers.

How to save configuration :

How to set the old configuration saved:

An example of input settings manually for static IP:

An example of input settings manually for dynamic IP:

You can create several such files for different network configurations.

Posted in Commands, Windows XP. Tagged with , .

The indication of a denial of service (DoS) attack.

One common method of denial-of-service attack ( DoS) involves saturating the target machine with external communications requests.

If you want an indication of a denial of service (DoS) attack against your system’s , just run this command:

This command executes this steps.

Show all tcp connections in numeric format :

Parsing connections that are received from the network:

Count how many answers of SYN_RECV are:

You can perform a lot more complex things using netstat.
You can also add this in your .bashrc file.

Posted in Commands. Tagged with , .

How to display memory in real time on Linux systems.

To display information about memory, we use the following command:

But if we want the data displayed in terminal to be maintained, we will use:

The combination of two orders, will solve our problem.

Here is the final command:

Here is the displayed result:

free -mt

It will display used and free memory every two seconds.

Posted in Commands, Linux. Tagged with , .

error: ‘for’ loop initial declarations are only allowed in C99 mode

Some errors you might encounter when you compile with code::blocks.

The one of many reason is you have written a code like:

To solve this error , just write code like this:

Posted in Errors. Tagged with .

warning: implicit declaration of function …

Some errors you might encounter when you compile with code::blocks.

It seems that your header files have no prototype declared for some of the functions.

In this case the function itself is implicitly treated as the function prototype.

You need add some parentheses. If you code is like :

…then the code will be:

Posted in Errors. Tagged with .