Category Archives: Windows XP

Simple example about create DLL with FASM.

This is the simplest example of how to use assembly language to create a DLL file functional.

It is written using flat assembler (FASM).

Example is simple and I created for testing with python.

You can call the function created with other programming languages??.

After I created the DLL file can execute the following python code to check if it works correctly.

python dll

Let’s go to the DLL file creation.

Theory says about this example, show in the end of this tutorial:

format directive allows to select the output format.

entry directive sets the entry point for Portable Executable, the value of entry point should follow.

include directive includes the specified source file at the position where it is used and should be followed by the quoted name of file that should be included.

section directive defines a new section, it should be followed by quoted string defining the name of section, then one or more section arguments can follow.

Available arguments are: code, data, readable, writeable, executable,shareable, discardable, notpageable.

section is marked to contain fixups, they are generated automatically and no more data needs to be defined in this section.

In the section code we define two procedures.

The first procedure allows a DLL to use its entry-point function for allocating memory in the virtual address space of the calling process or to open handles accessible to the process.

The second procedure will call a MessageBox function from operating system, see more here.

data directive begins the definition of special PE data.

It should be followed by one of the data identifiers (export, import, resource or fixups) or by the number of data entry in PE header.

This example can be developed and completed with additional functions.

Posted in Assembler, Programming, Windows XP. Tagged with , , .

Change settings and passwords in Windows using Linux

In this tutorial I will present a way to change or delete a user password in a Windows XP operating systems or Windows 7.

On Windows Vista I have not tried it yet, but you can try.

I get under Fedora 15 this software, using yum .

You need to locate SAM file.Under Windows 2000 and XP is normally located at


Then you need to navigate and find a number of files like SAM, SYSTEM, SECURITY…

Once you have located the SAM you can start using chntpw.

Use this command to see the help

If you want list all the users on in the SAM file, use this command:

Use this command to change the password or clear the password:

The windows_user is the user list by command chntpw SAM

There are other options that can be applied to windows user, but these two are used.

This program can be used on a linux install on USB.

Posted in Linux, Windows 7, Windows XP. Tagged with , , .

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 , .

Install Mono on Windows XP.

To install Mono 2.6.4 with gtk # 2.12.10 softwares, you must download this software from here.

In the next image we see all the platforms…
We chose the Windows platform.

mono tutorial

The next image will show you how I installed Mono software”

mono tutorial

This is all for today.

Posted in Windows XP. Tagged with , .

How to find duplicates of an image on Internet ?

We use an extension that accesses a site specialized.

This is the extension named:
TinEye Reverse Image Search

After installation we can use it easily by clicking the right mouse.

In the menu that appears, we will find this tool: on TinEye Image Search.

Click on it and you will be redirected to the official web site with the outcome.

Posted in Linux, Windows 7, Windows 8, Windows XP. Tagged with , , .