diff options
author | Jesús <heckyel@hyperbola.info> | 2019-06-30 21:19:07 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-06-30 21:19:07 -0500 |
commit | d3dc308c594cb7d5c0bbee6b5f2f557a06552776 (patch) | |
tree | f5ead59704d0c4e96305cf907ae5afabf080dead | |
parent | 00ef139b3ed426c81c4630cef4719efaa2de6d3c (diff) | |
download | pwndbtorcredentials-d3dc308c594cb7d5c0bbee6b5f2f557a06552776.tar.lz pwndbtorcredentials-d3dc308c594cb7d5c0bbee6b5f2f557a06552776.tar.xz pwndbtorcredentials-d3dc308c594cb7d5c0bbee6b5f2f557a06552776.zip |
pep8
-rw-r--r-- | README.md | 31 | ||||
-rw-r--r-- | pwndb_credentials.py | 11 |
2 files changed, 25 insertions, 17 deletions
@@ -2,22 +2,29 @@ Search for leaked passwords from an email ### Prerequisities -To use in Linux (Kali/Ubuntu/Debian) you should to run make script: +To use in GNU/Linux you should to run make script: + ``` -chmod +x make.sh -./make.sh +pacman -S python-virtualenv ``` +### Require Tor -### Usage -```[python] -python3 pwndb_credentials.py -m mail@mail.com [-p socks5h://localhost:9050] +```bash +pacman -S tor +rc-service tor start ``` +``` +virtualenv -p python3 venv +source venv/bin/activate +pip install -U -r requeriments.txt +``` - [![twitter][1.1]][1] - -[1.1]: http://i.imgur.com/tXSoThF.png (twitter icon with padding) -[1]: http://www.twitter.com/josueencinar - +### Usage +```[python] +python3 pwndb_credentials.py -m mail@mail.com +``` -<!-- Grab your social icons from https://github.com/carlsednaoui/gitsocial -->
\ No newline at end of file +```[python] +python3 pwndb_credentials.py -m mail@mail.com -p socks5h://localhost:9050 +``` diff --git a/pwndb_credentials.py b/pwndb_credentials.py index 7a4657d..af55270 100644 --- a/pwndb_credentials.py +++ b/pwndb_credentials.py @@ -7,6 +7,7 @@ import re class FindPasswords(): def __init__(self, mail, proxy): self.url = "http://pwndb2am4tzkvold.onion/" + # self.url = "https://pwndb2am4tzkvold.tor2web.io/" name, service = self.__parse_mail(mail) self.session = None if name and service: @@ -19,10 +20,10 @@ class FindPasswords(): } self.session = requests.session() self.session.proxie = {} - #TOR PROXY + # TOR PROXY self.session.proxies['http'] = proxy self.session.proxies['https'] = proxy - + def __parse_mail(self, mail): name = None service = None @@ -48,9 +49,9 @@ class FindPasswords(): print(e) return result - + if __name__ == "__main__": - print("Author: @JosueEncinar") + print("Descriptor: execute!") print("---------------------") parser = argparse.ArgumentParser() parser.add_argument("-m", "--mail", help="Email to search passwords", required=True) @@ -67,4 +68,4 @@ if __name__ == "__main__": print("--------- Passwords list --------") print(data) else: - print("Please enter a valid mail")
\ No newline at end of file + print("Please enter a valid mail") |