-
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #103 from dmdhrumilmistry/dev
RELEASE: v2.4.0
- Loading branch information
Showing
12 changed files
with
1,439 additions
and
950 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,27 +13,48 @@ on: | |
types: [published] | ||
|
||
permissions: | ||
contents: read | ||
id-token: write # This is required for requesting the JWT | ||
contents: read # This is required for actions/checkout | ||
|
||
jobs: | ||
deploy: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: '3.x' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install build | ||
- name: Build package | ||
run: python -m build | ||
- name: Publish package | ||
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_API_TOKEN }} | ||
# steps: | ||
# - name: Repo Checkout | ||
# uses: actions/checkout@v4 | ||
|
||
# - name: Set up Python | ||
# uses: actions/setup-python@v5 | ||
# with: | ||
# python-version: "3.12.x" | ||
|
||
# - name: Install and configure Poetry | ||
# uses: snok/[email protected] | ||
# with: | ||
# # version: 1.5.1 | ||
# # virtualenvs-create: true | ||
# virtualenvs-in-project: true | ||
# # virtualenvs-path: ~/poetry-venv | ||
# # installer-parallel: true | ||
|
||
# - name: Load cached venv | ||
# id: cached-poetry-dependencies | ||
# uses: actions/cache@v3 | ||
# with: | ||
# path: .venv | ||
# key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} | ||
|
||
# - name: Install dependencies | ||
# if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' | ||
# run: | | ||
# python -m pip install --upgrade pip | ||
# poetry install --sync --no-interaction | ||
|
||
# - name: Build package | ||
# run: poetry build | ||
|
||
# - name: Publish package | ||
# uses: pypa/[email protected] | ||
# with: | ||
# packages-dir: ./dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
**/.DS_Store | ||
|
||
# C extensions | ||
*.so | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from argparse import ArgumentParser | ||
from pyhtools.attackers.Network.pass_cracker import HashCracker | ||
|
||
parser = ArgumentParser(prog='pass_cracker') | ||
parser.add_argument('-m', '--mode', default='MD5', help='hash type to decrypt.') | ||
parser.add_argument('-p', '--path', help='path to passwords file.') | ||
parser.add_argument('-h', '--hash', help='hash value to decrypt.') | ||
|
||
args = parser.parse_args() | ||
|
||
pass_crack = HashCracker(args.m, args.p, args.h) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
from argparse import ArgumentParser | ||
from pyhtools.attackers.web.email_scraper import EmailScraper | ||
from pyhtools.UI.colors import BRIGHT_RED | ||
|
||
parser = ArgumentParser(prog='email_scraper') | ||
parser.add_argument('-u', '--url', help='url to base email search on.') | ||
parser.add_argument('-c', '--count', default=100, help='number of emails to scrape.', type=int) | ||
|
||
args = parser.parse.args() | ||
|
||
email_scrpr = EmailScraper(args.u, args.c) |
Oops, something went wrong.