How To Retrieve All Saved Passwords from Browsers, WiFi, Memory in Windows and Linux with LaZagne

Greetings everyone, I hope you all are fine and shine. In this tutorial I will show you how to extract saved passwords from an exploited system. This tool is actually a python script called LaZagne. The guy who created this script is Alessandro, and all the credit goes to him. This tool really helps hackers and pen-testers in getting the sensitive information.

This tool is available for all popular platforms like Windows, Linux, Mac.

NOTE: This tool doesn’t have the ability to crack all the hashes perfectly.

Now let’s see how it works.

1.First thing is to download this script and it’s very simple. Download this from the following link.
git clone

2.Next navigate to the directory where you have cloned or download the zip (extract if zipped).

3.Before running this tool we must install the required packages for this tool so we didn’t face any problem. Probably you’ll get error if you don’t do it.
pip install -r requirement.txt

  1. Now simply just run the tool by typing the following

This will show you the help menu

here’s how to take in use.

Now if you want to extract the browsers passwords, then type the follwing.
./ browsers

Now this will show the URL, Login, Password

Now if you want to extract the wifi passwords, simply type the following.
./ wifi
With this you will get the passwords, SSIDs of the saved wifi in your system.
if you want to extract the passwords saved in your memory, then do the following.
./ memory

You can also save the credntials by putting ‘-oN’ (./ memory -oN)

with this you will see the normal text fine in the laZagne folder(Probably be named credentials.txt).

same idea for Mac OS, if you have problem check out the Github page of the tool.

Now if you want to do that with windows, simply follow the link

Now once you extract the zip file simply navigate to that specific directory with the help of cmd where you have downloaded the laZagne.

Now it’s simple just like we did it on linux
laZagne.exe -h

NOTE: if you want to save all the sensitive information silently (without being displed on screen), you can simply put the -quiet.

lazagne.exe browsers -quiet -oN


Excellent guide, I’ll definitely be taking a look at the script.


Is it possible to do same with un-rooted android.

I didn’t try, but I guess it will work

I have guessed many things about android, but in vain.
I think that someone should make full fledged course on hacking android.

[email protected]:/home/comdroid/LaZagne# pip install -r requirement.txt
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at
ERROR: Could not open requirements file: [Errno 2] No such file or directory: ‘requirement.txt’

how can resolve this on executing pip install -r requirement.txt

Please describe your environment, are you using Ubuntu, Debian, Arch or Fedora? Secondly, you will need to install pip2 manually.