Passthief Save Abandoned

A Python script to steal all the passwords via the use of plugins :smiling_imp:

Project README

:: passthief :unlock: :running::dash:

A Python script to steal all the passwords via the use of plugins :smiling_imp:

Disclaimer:

This tool is not intended to be used for illegal and/or malicious purposes such as theft, violating privacy etc.
I am not responsible for any damage you cause while using this tool.

Usage:

passthief is a Python script designed to work with dynamic loading of modules or plugins, whatever you may call them.
By default Firefox and Chrome modules are enabled.
If you wish to use a module called "linux", you call the script like this:

./passthief.py -m linux

The output should be something like this(if the module is present):


	██████╗  █████╗ ███████╗███████╗████████╗██╗  ██╗██╗███████╗███████╗
	██╔══██╗██╔══██╗██╔════╝██╔════╝╚══██╔══╝██║  ██║██║██╔════╝██╔════╝
	██████╔╝███████║███████╗███████╗   ██║   ███████║██║█████╗  █████╗
	██╔═══╝ ██╔══██║╚════██║╚════██║   ██║   ██╔══██║██║██╔══╝  ██╔══╝
	██║     ██║  ██║███████║███████║   ██║   ██║  ██║██║███████╗██║
	╚═╝     ╚═╝  ╚═╝╚══════╝╚══════╝   ╚═╝   ╚═╝  ╚═╝╚═╝╚══════╝╚═╝
	Version 0.2.1
	
[*] Checking modules:
[*] Loaded module: Linux
[*] Loaded module: Firefox
[*] Loaded module: Chrome

Started: 10/12/2017 3:9
-Chrome:
...
-Firefox:
...
-Linux:
...
Finished: 10/12/2017 3:9

Otherwise, it would fail to load the module and continue with what it has by default.

Writing a module:

If you wish to write a module for passthief,you're lucky because it's very easy.
All you have to do is create a corresponding .py file in the modules directory.
Let's write a test module together:

cd modules
touch test.py

Open up your favorite code/text editor and let's get started.

# You can use 3rd party imports too, but PyInstaller might not like it
import colorama
from colorama.Fore import GREEN
from colorama.Style import RESET_ALL
# Each module must have a steal method for it to be valid
# The steal method returns a string,which will then be written either
# on the screen or in a file
def steal():
	colorama.init()
    	return print_it()
# It can have other methods too,passthief doesn't care
# All it cares about is the steal method
def print_it():
	return "{g}This works!{rs}".format(g=GREEN,rs=RESET_ALL)

Now try it out:

./passthief.py -m test

PyInstaller

For 'freezing' passthief I use PyInstaller as it allows me to load the modules at runtime.
I was having some problems with using 3rd party modules(like colorama),but appending them to the hiddenimports list in the passthief.spec file seemed to fix it, for now.
Be aware that if you use 3rd party modules you might want to edit the file.
If you have any ideas be sure to let me know.

Open Source Agenda is not affiliated with "Passthief" Project. README Source: zvonimirr/passthief
Stars
31
Open Issues
3
Last Commit
1 year ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating