Category Archives: Windows 7

Programming with FASM – first steps .

The FASM is a self-assembling open-source 80×86 assembler for

DOS, Windows and Linux. It supports all 8086-80486/Pentium instructions

with MMX, SSE, SSE2 and with more features.

FASM contains many programming options and features.

The source code can be written in different ways because of control

directives, macros and management of resources.

FASM, by default uses the Intel syntax for the assembly


You can go on and download it.

Below we see the files that are used by fasm.

The FASMW is a GUI to help in programming, as shown here.

fasmw GUI

Let’s see some example and how this working…

In this first example you will see a message box.

See result in image show below:

fasm message box

First line include some macro – functions.

If the source code is another folder, like for example in a folder

named asm in same folder with INCLUDE, then you need to declare this

macros in this way:

As you see the fasm is not case sensitive , in this case.

The next two lines are data declarations.

Code execution takes place between the two labels:

Code between these labels is written in assembler and can be easy


If you think it is easy then let’s see a second example, here’s the

source code:

It seemed more complicated and structured differently from the first


Let’s see the result.

fasm another example

As I said above, fasm – The flat assembler is a series of directives

and special words.

That help us if we know, if not then we use what we know.

Let’s look the source code of the second example and try to understand

it a bit.

Tihis tell us about creating PE file for the x86-64 architecture or if

you want use PE64 keyword instead of PE in the format declaration

This select the Portable Executable output format and will be a console


Also can be console or GUI for Windows applications,

native for Windows drivers, EFI, EFIboot or

EFIruntime for the UEFI or optional DLL and


Next entry directive sets the entry point for MZ executable.

The section directive defines a new section and it should be

followed by flags.

We have three sections in this instance one for data, one for code and

one for other data

Other source code lines are easily recognized by how they were reported

in these sections.

I hope you enjoyed the tutorial, I will expect you to come and other


Use the contact page to write

Posted in Assembler, Programming, Windows 7. 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 , , .

Web service and XML with Windows PowerShell .

In this tutorial I show you the basics of poarse XML file and acces website.

Also I show that with the graphical user interface (GUI) using Windows PowerShell

It is very easy to using a Web service in PowerShell V2.

We can use that with the new Cmdlet New-WebServiceProxy.

The PowerShell knows how to handle XML.We just need to cast it to an XML object

Let’s try to get weather from internet.

This is the source code:

Run this script with powershell or with Windows PowerShell Integrated Scripting Environment (ISE)

Now that we see weather infos from London City Airport – United Kingdom.

powershell weather

Posted in All, PowerShell, Programming, Windows 7. Tagged with , , .

Creating GUIs with Windows PowerShell

In this tutorial I show you the basics of creating a graphical user interface (GUI) using Windows PowerShell

The framework of libraries .NET also referred to as assemblies, are provided specifically for graphical user interface creation, web application development, business process handling and database access, and more…

WinForms is a subset of the .NET framework designed specifically for the creation of Windows based GUIs.

To start Windows PowerShell from the Start menu, click Start, write powershell, and will see something like:

powershell start

The next image shows us the ways to write source code, command line and Windows PowerShell Integrated Scripting Environment (ISE).

powershell tools

Let’s try one example.I will use source from last tutorial about reading BIOS info.

This is the source code:

Run this script with powershell or with Windows PowerShell Integrated Scripting Environment (ISE)

Now that we have seen a simple GUI created in Windows PowerShell.

powershell GUI

Posted in All, PowerShell, Programming, Windows 7. 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 , , .