How compile and install keePassX 2.0

Compile KeePassX 2.0 on K/Ubuntu 14.04

Download source code: https://www.keepassx.org/downloads, choose “the Source code tarball”.

Prerequisites:

# apt-get install build-essential cmake qt4-qmake libqt4-dev libgcrypt-dev zlib1g-dev

Go in the folder where you downloaded the source code and type following commands:

$ tar -zxvf keepassx-2.0.tar.gz
$ cd keepassx-2.0
$ mkdir build
$ cd build
$ cmake ../
$ make -j 4
$ sudo make install

Number of cyber attacks daily

My personal monitor of cyber attacks

In the last year i have noticed an increase of cyber attacks to my website. I have decided to collect them and make a statistics of attack daily. The first question is “Who do this cyber attack?”. Well, in some cases are just bored people, but in general are automatic programs that search some keywords on all websites and if they find them they try an attack. Another interesting question is the choice of this keyword used by determining which website to attack. For instance the keyword “SAM” is one of the most words searched.

Click on image to view the updated graph
The linear chart shows the number of cyber attacks that receive every day the site fred151.net

Bypass Windows logons with Utilman.exe trick and Solution

Hole security in windows system

Utilman.exe is a Windows application that is designed to allow the user to configure Accessibility options such as the magnifier, High Contrast Theme, Narrator and On screen keyboard before they log onto the system.

This application is run as administrator, so the trick is replace utilman.exe with cmd.exe. You can use a linux distrubution, a windows cd, old bootable floppy disk to access to hard disk and rename utilman.exe to utilman.exe.bak, make a copy of cmd.exe and name it utilman.exe.

The main problem of this trick is that the antivirus or firewall are useless and everyone can modify your computers to obtain more information or run malicious software in your company network.

Example of commands:

> cd C:\Windows\System32
> ren Utilman.exe Utilman.exe.bak
> copy cmd.exe Utilman.exe

Restart your computer and before login press Windows Key +U and you should get a Command Prompt.

You can for example add a new administrator account and after delete it.

> net user Admin admin1234 /add
> net localgroup Administrators Admin /add

Solution

  1. you have to set a password for BIOS and set the primary boot device from your hard disk.
  2. disable the Utilman.exe. To disable utilman.exe before logon i have written a program compatible to all versions of windows 7, 8.

If you want protect your company with my program,please contact me by my online form.

Please leave you company name, number of employed, and your skype contact or phone.

Prime Numbers

“The Music of the Primes”

I’m ever fascinated about sequence numbers and prime numbers. So this is the why of this creation. This is my first program written in language C. All people know the power of prime numbers, they are still using in algorithms to crypt the comunications. A small definition “A prime number (or a prime) is a natural number greater than 1 that has no positive divisors other than 1 and itself” that enclosed a powerful magic. the number 2 is the only even prime numbers by definition. I suggest to you a book: Marcus Du Sautoy, “The Music of the Primes”, Fourth Estate.

How works?

Prime Numbers has a simple algorithm that can check all divisors of a number n minor of square root of n, the algorithm don’t check the even numbers. It has a good execution speed. The program was tested on 64 bit architectures. The max range depends of the type of machine you use, in the most cases under UNIX the max range value is 18.446.744.073.709.551.615.

How to use it?

Prime Numbers must be executed by terminal and need some parameters to run good.

Usage: prime_number -f [n] -t [n] -o [file]
Options:
-f Start from [number]
-t Finish to [number]
-o Write on file

-h --help Display this information
-v Active verbose mode, shows prime numbers, else shows a percent

An Example, the prime numbers between 0 and 100:

$ ./prime_number -f 2 -t 100 -o primi.txt

Versions

Prime Numbers v1.2 (x64)

Data: 12/12/2010
Features:

Compiled on Ubuntu 10.10 x64 bit
Parametres by command line

windows(x86) MD5: 15933b7484ae9805596847602ad5b795 prime-numbers_v1.2.zip

Prime Numbers v1.2 (Win x32/x64)

Data: 12/12/2010
Features:

Compiled on virtual machine running windows XP 32 bit
Parametres by command line

linux (x64) MD5: 3a89f6c17d01d5df5bd7500b707524cd prime-numbers_v1.2.tar.gz

How to make a bootable floppy with GRUB

How make a bootable floppy to available partitions linux and windows

This guide is written to start an old notebook with two partitions: Linux and Windows 98. We will use the distribution DSL (Damn Small Linux) because it is one of the lightest distributions in the world. DSL can run on old notebook with 16MB of RAM.
Ok let’s go, download an ISO image of DSL, such as 4.0syslinux, and burn it on CD. Run the CD and install DSL on partition, if you have some trouble or you don’t know how make partitions on HDD (Hard Disk Drive) i suggest to you read my guide “good hack”.

Start DSL and type in console:

$ sudo -s

Now insert a formattated floppy in FAT and type:

# mount /dev/fd0 /mnt/auto/floppy
# mkdir /mnt/auto/floppy/grub

Copy the GRUB files and the startup menu:

# cp /boot/grub/stage* /mnt/auto/floppy/grub
# cp /boot/grub/menu.lst /mnt/auto/floppy/grub

Umount the floppy disk with the following command:

# umount /mnt/auto/floppy

Install stage1 in the MBR (Master Boot Record) sector of floppy disk:

# grub

After you have run grub, write these commands in order, ignoring the messages:

> root (fd0)
> setup (fd0)
> quit

Now we will modify the GRUB configuration by editing the file menu.lst, you can use the editor of Linux or Notepad on a Windows machine.
For editing the file on Linux write in terminal:

# sudo -s
# mount /dev/fd0 /mnt/auto/floppy

Open Emelfm and open the folder “/mnt/auto/floppy/grub” and open the file menu.lst
The file menu.lst should looks like this:

# This sets the default entry to boot.
# Remember that GRUB counts from 0, so 1 is the second entry.
default 0
# This sets the length of time in seconds that grub will wait for the user to select an OS
# before it boots the default on. I reccommend at least 15 seconds.
timeout 15
#Enter the entry for DSL here. Something like this.

title DSL
kernel /boot/linux24 root=/dev/hda5 quiet vga=normal noacpi noapm nodma noscsi frugal
title DSL fb800x600
kernel /boot/linux24 root=/dev/hda5 quiet vga=788 noacpi noapm nodma noscsi frugal

title DSL fb1024x768
kernel /boot/linux24 root=/dev/hda5 quiet vga=791 noacpi noapm nodma noscsi frugal

title DSL fb1280x1024
#kernel /boot/linux24 root=/dev/hda5 quiet vga=794 noacpi noapm nodma noscsi frugal

title DSL with toram, mydsl, restore, hostname, and passwords
kernel /boot/linux24 root=/dev/hda5 quiet vga=normal noacpi noapm noscsi frugal dma toram mydsl=hda5 restore=hda5 host=DSL1 secure

title DSL with XFree86
kernel /boot/linux24 root=/dev/hda5 quiet vga=normal noacpi noapm noscsi frugal dma toram mydsl=hda5/xfree restore=hda6 host=DSL1 secure

title DSL with mydsl,
restore, persistentancy, hostname, and passwords

kernel /boot/linux24 root=/dev/hda5 quiet vga=normal noacpi noapm noscsi frugal dma toram mydsl=hda3 restore=hda3 home=hda3 opt=hda3 host=DSL1 secure

title DSL Runlevel 2
kernel /boot/linux24 root=/dev/hda5 quiet vga=normal noacpi noapm noscsi nodma frugal 2 base norestore

#title DSL Check filesystem(s)
kernel /boot/linux24 root=/dev/hda5 quiet vga=normal noacpi noapm noscsi nodma frugal 2 base norestore legacy checkfs

We will modify the file in this way:
– we type the character ‘#’ on the beginning of the line with “defaul 0”
– under “title dsl” we have to add the command “root (hd0,X)” where X is the number who we find substracting the number of hdaY y-1=x Y is the value that Linux uses to identify the partition where is installed, but GRUB subtracting 1 to this value, for example a partition as hda7 for GRUB will be (hd0,6).
– we can comment out the line of other starting commands of DSL typing the character “#” at the beginning of each line
– for running Windows 98 we must add this instructions:

title Windows 98
hide (hd0,0)
hide (hd0,1)
unhide (hd0,2)
rootnoverify (hd0,2)
chainloader +1
makeactive

Your menu.lst should looks like this:

# This sets the default entry to boot.
# Remember that GRUB counts from 0, so 1 is the second entry.
#default 0
# This sets the length of time in seconds that grub will wait for the user to select an OS
# before it boots the default on.
I reccommend at least 15 seconds.
timeout 15
#Enter the entry for DSL here. Something like this.

title DSL
root (hd0,4)

kernel /boot/linux24 root=/dev/hda5 quiet vga=normal noacpi noapm nodma noscsi frugal

#title DSL fb800x600
#kernel /boot/linux24 root=/dev/hda5 quiet vga=788 noacpi noapm nodma noscsi frugal

#title DSL fb1024x768
#kernel /boot/linux24 root=/dev/hda5 quiet vga=791 noacpi noapm nodma noscsi frugal

#title DSL fb1280x1024
#kernel /boot/linux24 root=/dev/hda5 quiet vga=794 noacpi noapm nodma noscsi frugal

#title DSL with toram, mydsl, restore, hostname, and passwords
#kernel /boot/linux24 root=/dev/hda5 quiet vga=normal noacpi noapm noscsi frugal dma toram mydsl=hda5 restore=hda5 host=DSL1 secure

#title DSL with XFree86
#kernel /boot/linux24 root=/dev/hda5 quiet vga=normal noacpi noapm noscsi frugal dma toram mydsl=hda5/xfree restore=hda6 host=DSL1 secure

#title DSL with mydsl, restore, persistentancy, hostname, and passwords
#kernel /boot/linux24 root=/dev/hda5 quiet vga=normal noacpi noapm noscsi frugal dma toram mydsl=hda3 restore=hda3 home=hda3 opt=hda3 host=DSL1 secure

#title DSL Runlevel 2
#kernel /boot/linux24 root=/dev/hda5 quiet vga=normal noacpi noapm noscsi nodma frugal 2 base norestore

#title DSL Check filesystem(s)
#kernel /boot/linux24 root=/dev/hda5 quiet vga=normal noacpi noapm noscsi nodma frugal 2 base norestore legacy checkfs

title Windows 98
hide (hd0,0)
hide (hd0,1)
unhide (hd0,2)
rootnoverify (hd0,2)
chainloader +1
makeactive

title Partition 2(floppy)
hide (hd0,0)
unhide (hd0,1)
hide (hd0,2)
chainloader (fd0) +1

title Partition 3(floppy)
hide (hd0,0)
hide (hd0,1)
unhide (hd0,2)
chainloader (fd0) +1

Save the file, if you are working on Linux waiting one minute for the sync. Reboot the pc with the floppy and enjoy your DSL Linux. If you have some trouble to make the floppy you can use the floppy image that i have created.

[Download] This file zip contain:
-bootlinux.img (file for booting a cd-rom of linux on old pc which don’t have the boot of cd-rom)
-floppy image.exe (program to write the img file)
-grub091dsl.img (the floppy image i have created)
-recoveryPM8_disk_1.img
-recoveryPM8_disk_2.img (emergency disk of partition magic, useful to create partition on DOS)
-win95bootfloppy.img (bootable floppy of Windows 95 with optical support for cd-rom, mscdex.exe)

Remove the updating advertisement of Avira AntiVir 8/9/10 *

Guide for Windows 7

Now i will show you the simplest way to block avnotify.exe. This metod avoid the annoyance message “The size of the file AVNOTIFY.EXE has been modified! …ect”.

The tool gpedit.msc is present in Ultimate/Professional/Enterprise Windows versions only. If you have other versions, I am sorry, i have no solutions for you.

Start > gpedit.msc (WINDOWS KEY + E, digit “gpedit.msc”)

Go into the folder “Computer Configuration > Windows Settings > Security Settings > Software Restriction Policies”.

Right click on “Software Restriction Policies”, choose the menu’s voice “New Software Restriction Policies”, in this way we active the security policies’s Windows.

After the activation of the policies it will appears two sub-directory. Go under sub-directory called “Additional Rules”. Right click in the blank area and choose voice’s menu “New Path Rule…”.

Search the file avnotify.exe in installation’s directory of Antivir, usually it’s

C:\Program Files\Avira\AntiVir Desktop\avnotify.exe

End! Enjoy your Avira Antivir! And use No Notify Avira to remove the startup splash screen of Antivir, it will increase you computer boot-speed.

No Notify Avira

One day

Bored by the popup advertising of Avira Antivir, i decided to write a little program in batch to remove that nag screen. I wrote this tool for my friends, whom like it. One day i decided to simplify the life of many people sharing my program, so i published it on softpedia.com “No Notify Avira 3.3.1.” In short time my program has been appreciated and downloaded and used with successfully from many people. Ever in short time Avira noticed this program and decided to identify No Notify Avira as virus. With the virus updating definition of 23 March 2010 No Notify Avira v3.3.1 has been classified as malware. We know that the advertise is an earn. I contacted Avira and said that it would be a “false positive”, but they replied with this email:

Avira email

In my opinion only the persons who has downloaded my program, can say: “No Notify Avira is not a virus!”.
“The ethic is the most important thing of a person that can be see through out his actions, determining his reputation”. (thanks Mr. C.P. for the reflections)

Press clipping

Win Magazine is the most sold computing magazine in Italy, and it wrote about NoNotifyAvira (Certificated by ADS)

Win Magazine wrote an article about NoNotifyAvira ๐Ÿ™‚

How it works ?

No Notify Avira modify two keys of regedit: one for the popup advertising and the other for the startup splash screen. With windows 7 No Notify Avira use a special command line (icacls.exe) that block the excuting of “avnotify.exe” that is the responsable of the advertising. No Notify Avira used the tools of your O.S. (windows) to block “avnotify.exe”, it doesn’t touch in any way Avira Antivir.

How to use it ?

First of all disable your antivirus Avira Antivir Guard.

Suspend realtime protection

Download the last version of No Notify Avira.

==> Download NoNotifyAvira-v4.0.1 <==

MD5: d659c6cc0a76fe6c0a880206fe72d82b NoNotifyAvira-v4.0.1.zip.aes256

$ openssl enc -in NoNotifyAvira-v4.0.1.zip.aes256 -out NoNotifyAvira-v4.0.1.zip -d -aes256 -k fred_151

Execute No Notify Avira with administrator privileges

Allow NoNotifyAvira to run with administrator privileges

NOTE:
If after the second update you will still received some errors, please read the F.A.Q.

F.A.Q.

1) After the update i have received this message “The size of AVNOTIFY.EXE has been modified! This could be made by virus”

Only with the first update could show this error. This it’s caused by Windows that block permanently avnotify.exe changing its size (icacls.exe). If the problem still persists, block manually the file avnotify.exe, read the article to use the manual procedure.

2) After the update i have received this message “Out of memory! Shutting down AVNOTIFY”

Block manually the file avnotify.exe, read the article to use the manual procedure.

Versions

No Notify Avira v4.0.1 (win95/98/NT/XP/Vista x32/7 x32/7 x64)

NoNotifyAvira-v4.0.1

Date: 24 May 2011 16:00
Features:

  • simple graphic
  • detecting O.S. bit automatically
  • it can remove itself
  • readme.txt present

No Notify Avira v3.4.1 (win95/98/NT/XP/Vista x32/7 x32/7 x64)

NoNotifyAvira-v3.4.1

Date: 03 April 2010 15:03
Features:

  • BUG #01 fixed
  • readme.txt present

No Notify Avira v3.4 (win95/98/NT/XP/Vista x32/7 x32)
Date: 29 March 2010 21:40
Features:

  • Last Avira Antivir 10 supported
  • No temponary files

BUG:

#01 : windows 7 ultimate x64 modify the startup string of avira in

[HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run]
"avgnt"="C:\Program Files (x86)\Avira\AntiVir Desktop\avgnt.exe" /min /ns

You can use the last release to resolve the problem.

No Notify Avira v3.3.1 (win95/98/NT/XP/Vista x32/7 x32)
Date: 22 March 2010 23:05
Features:

  • Avira Antivir 8 & 9 supported
  • Windows 7 x32 supported
  • Simplicity grapichs

No Notify Avira v3.0 (win95/98/NT/XP/Vista x32)
Date: 02 September 2009 10:04
Features:

  • Avira Antivir 8 & 9 supported
  • Two temponary files used (reg_01.reg & reg_02.reg)
  • Stable release