pedrohc / check-pwned Goto Github PK
View Code? Open in Web Editor NEWA script to check internet databases for pwned accounts
A script to check internet databases for pwned accounts
check-pwned -p parameter gives different results for same accounts.
python check-pwned.py -a [email protected]
[+]Checking in haveibeenpwned.com database.
[email protected] - PWNED
QuinStreet
python check-pwned.py -a [email protected] -p
[+]Checking in haveibeenpwned.com database.
[email protected] - CLEAN OR NO PASTES FOUND
Make it give the same PWNED result, but extend output with the pastebin leak.
$python check-pwned.py
[+]Checking in haveibeenpwned.com database.
...
Ao executar sem parâmetro o seguinte erro pode ser encontrado.
$ ./check-pwned.py
from: too many arguments
./check-pwned.py: linha 6: erro de sintaxe próximo ao token inesperado `('
./check-pwned.py: linha 6: `parser = argparse.ArgumentParser('
Para contornar a situação basta adicionar o shebang para o interpretador do python.
diff --git a/check-pwned.py b/check-pwned.py
old mode 100644
new mode 100755
index 36fab29..0062d89
--- a/check-pwned.py
+++ b/check-pwned.py
@@ -1,3 +1,4 @@
+#!/usr/bin/python
import argparse
import haveibeenpwned
import hackedmails
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.