Skip to content

Commit

Permalink
create package
Browse files Browse the repository at this point in the history
refactor wordlists folder
  • Loading branch information
dmdhrumilmistry committed Jun 11, 2022
1 parent f3bb6cd commit f963888
Show file tree
Hide file tree
Showing 9 changed files with 80 additions and 49 deletions.
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
include README.md
include LICENSE
include wordlists/*
53 changes: 22 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

![PHT Image](.images/Windows_CLI-main.png)

- The tools provided are for educational purposes only. The developers are no way responsible for misuse of information and tools provided. All the information and tools are meant to help newbies to learn new concepts.
- The tools provided are for educational purposes only. The developers are no way responsible for misuse of information and tools provided. All the information and tools are meant to help users to learn concepts. Use tools wisely!

- These tools are written in python3, refer installation to install/download tools and its dependencies.

Expand All @@ -20,60 +20,55 @@

[![YT Thumbnail](https://img.youtube.com/vi/Wg-PiywAqyw/maxresdefault.jpg)](https://youtu.be/Wg-PiywAqyw)

### Installation
## Installation

1. Open terminal
- Open terminal

2. Install git package
- Install git package

```bash
sudo apt install git python3 -y
```

3. clone the repository to your machine
- clone the repository to your machine

```bash
git clone https://github.com/dmdhrumilmistry/pyhtools.git
```

4. Change directory
- Change directory

```bash
cd pyhtools
```

5. install requirements
- install requirements

```bash
python3 -m pip install -r requirements.txt
```

### Start PHTools
## Start PHTools

1. change to pyhtools directory
- run pyhtools.py

```bash
cd pyhtools
python3 -m pyhtools
```

2. run pyhtools.py

```bash
python3 pyhtools.py
```

3. to get all the commands use `help`
- to get all the commands use `help`

```bash
pyhtools >> help
```

> There may be chances that pyfiglet or kamene will not be installed through requirements.txt, you can install manually using `pip3 install pyfiglet kamene`.
> If you're using Termux or windows, then use `pip` instead of `pip3`.
> There may be chances that pyfiglet or kamene will not be installed through requirements.txt, you can install manually using `pip3 install pyfiglet kamene`.
> If you're using Termux or windows, then use `pip` instead of `pip3`.
> Few features are only for linux os, hence they might not work on windows and require admin priviliges.
### Tools and Features
## Tools and Features

#### Attackers
### Attackers

- `For Networks`
- Network Scanner
Expand All @@ -90,11 +85,11 @@
- Web crawler (detects dirs | subdomains)
- Web Vulnerablity Scanner

#### Detectors
### Detectors

- ARP Spoof Detector

#### Malwares/Trojans/Payloads/Ransomwares/Worms
### Malwares/Trojans/Payloads/Ransomwares/Worms

- Email Sender (reporter)
- Downloader
Expand All @@ -112,7 +107,7 @@

> **NOTE:** Do not upload/send/report malwares to anti virus services such as `VirusTotal`. This will make program detectable
### Dependencies
## Dependencies

**`PHT`** requires following programs/scripts to run properly -

Expand All @@ -130,20 +125,16 @@

> **NOTE:** most of the modules are pre-installed, still to ensure the proper working of scripts, user should install the required modules using pip
### How to Package a Trojan
## How to Package a Trojan

- [View How to create a Trojan](https://github.com/dmdhrumilmistry/hacking_tools/blob/master/malwares/Trojans/HowToCreateTrojanPackage.md)

### TODO

- [ ] Create package and upload to PyPi

### Have any Ideas 💡 or issue
## Have any Ideas 💡 or issue

- Create an issue
- Fork the repo, update script and create a Pull Request

### Connect With Me
## Connect With Me

||Platforms||
|:-:|:-:|:-:|
Expand Down
16 changes: 7 additions & 9 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
scapy>=2.4.5
requests>=2.25.1
argparse>=1.4.0
#netfilterqueue (for linux devices only): sudo pip3 install --upgrade -U git+https://github.com/kti/python-netfilterqueue
pynput>=1.7.3
colorama>=0.4.4
beautifulsoup4>=4.9.3
pyfiglet>=0.8.post1
prettytable>=2.1.0
colorama>=0.4.4
#netfilterqueue (for linux devices only): sudo pip3 install --upgrade -U git+https://github.com/kti/python-netfilterqueue
kamene>=0.32
scapy>=2.4.5
psutil>=5.8.0
prettytable>=2.1.0
pynput>=1.7.3
pyfiglet>=0.8.post1
pytelegrambotapi>=4.0.1
pyfiglet
requests>=2.25.1
44 changes: 44 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
from setuptools import setup, find_packages
from os import path


this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()


setup(
name='PyHTools',
version='1.0.1',
author='Dhrumil Mistry',
author_email='[email protected]',
license='MIT License',
description='Python Hacking Tools (PyHTools) (pht) is a collection of python written hacking tools consisting of network scanner, arp spoofer and detector, dns spoofer, code injector, packet sniffer, network jammer, email sender, downloader, wireless password harvester credential harvester, keylogger, download&execute, and reverse_backdoor along with website login bruteforce, scraper, web spider etc. PHT also includes malwares which are undetectable by the antiviruses.',
long_description=long_description,
long_description_content_type='text/markdown',
packages=find_packages(),
include_package_data=True,
install_requires=[
'beautifulsoup4',
'colorama',
# 'netfilterqueue',
'kamene',
'scapy',
'psutil',
'prettytable',
'pynput',
'pyfiglet',
'pytelegrambotapi',
'requests',
],
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9'
'Programming Language :: Python :: 3.10',
],
)
7 changes: 4 additions & 3 deletions wordlists/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

Below wordlists are for testing purpose:

- files-and-dirs-wordlist.txt
- subdomains-wordlist.txt
- test-wordlist.txt
- Common
- pass.txt (passwords)
- web-dirs-files.txt (website directories and files discovery)
- web-subdomains.txt (website domain discovery)

## To Get/Generate Wordlists

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 0 additions & 6 deletions wordlists/test-wordlist.txt

This file was deleted.

0 comments on commit f963888

Please sign in to comment.