Skip to content

Commit 13cf65c

Browse files
authored
Revert "Revert "Update to 2.3.0""
1 parent bfba492 commit 13cf65c

File tree

14 files changed

+485
-228
lines changed

14 files changed

+485
-228
lines changed
File renamed without changes.
File renamed without changes.

.github/workflows/docker.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: 'Build & Push Docker Image'
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * 0" # Every Sunday
6+
workflow_dispatch:
7+
8+
env:
9+
CI: true
10+
DOCKER_BUILDKIT: 1
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v3
18+
- name: Build Image
19+
run: |
20+
# Build Docker Image for DockerHub
21+
docker build --tag htrtech/zphisher:latest .
22+
23+
# Tag Docker Image for GHCR
24+
docker tag htrtech/zphisher:latest ghcr.io/htr-tech/zphisher:latest
25+
26+
- name: Login to GHCR
27+
if: github.repository == 'htr-tech/zphisher' && github.ref == 'refs/heads/master'
28+
uses: docker/login-action@v2
29+
with:
30+
registry: ghcr.io
31+
username: ${{ github.actor }}
32+
password: ${{ secrets.GITHUB_TOKEN }}
33+
34+
- name: Login to DockerHub
35+
if: github.repository == 'htr-tech/zphisher' && github.ref == 'refs/heads/master'
36+
uses: docker/login-action@v2
37+
with:
38+
username: "htrtech"
39+
password: ${{ secrets.DOCKER_TOKEN }}
40+
41+
- name: Push
42+
if: github.repository == 'htr-tech/zphisher' && github.ref == 'refs/heads/master'
43+
run: |
44+
# Push to DockerHub
45+
docker push htrtech/zphisher:latest
46+
# Push to GHCR
47+
docker push ghcr.io/htr-tech/zphisher:latest

.github/workflows/lock.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: 'Lock Closed Issues'
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * 0' # Every Sunday
6+
workflow_dispatch:
7+
8+
permissions:
9+
issues: write
10+
pull-requests: write
11+
12+
concurrency:
13+
group: lock
14+
15+
jobs:
16+
action:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Lock Issues
20+
if: github.repository == 'htr-tech/zphisher' && github.ref == 'refs/heads/master'
21+
uses: dessant/lock-threads@v3
22+
with:
23+
process-only: 'issues'
24+
issue-inactive-days: '30'
25+
exclude-any-issue-labels: 'enhancement'
26+
add-issue-labels: 'archived'
27+
remove-issue-labels: 'stale'
28+
issue-lock-reason: 'resolved'
29+
issue-comment: >
30+
This issue has been automatically locked since there
31+
has not been any recent activity after it was closed.
32+
Please open a new issue for related bugs/questions.

.github/workflows/release.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Upload .DEB to Release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
15+
- name: Build .DEB
16+
run: |
17+
sed -i 's/#PKG_NAME/PKG_NAME/' make-deb.sh
18+
bash make-deb.sh # Build for Debian
19+
bash make-deb.sh termux # Build for Termux
20+
find -type f -name "*.deb" -exec sha256sum "{}" > SUMS.txt \;
21+
22+
- name: Upload to Release
23+
uses: softprops/action-gh-release@v1
24+
with:
25+
files: "*.deb"
26+
- uses: softprops/action-gh-release@v1
27+
with:
28+
files: SUMS.txt

.package/DEBIAN/control

Lines changed: 0 additions & 8 deletions
This file was deleted.

.package/TERMUX/control

Lines changed: 0 additions & 8 deletions
This file was deleted.

.package/launch.sh

Lines changed: 0 additions & 12 deletions
This file was deleted.

Dockerfile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
1-
FROM debian:latest
1+
FROM alpine:latest
22
LABEL MAINTAINER="https://github.com/htr-tech/zphisher"
3-
43
WORKDIR /zphisher/
54
ADD . /zphisher
6-
7-
RUN apt update && \
8-
apt full-upgrade -y && \
9-
apt install -y curl unzip wget && \
10-
apt install --no-install-recommends -y php && \
11-
apt clean
12-
CMD ["./zphisher.sh"]
5+
RUN apk add --no-cache bash ncurses curl unzip wget php
6+
CMD "./zphisher.sh"

README.md

Lines changed: 111 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,26 @@
11
<!-- Zphisher -->
22

33
<p align="center">
4-
<img src=".imgs/logo.png">
4+
<img src=".github/misc/logo.png">
55
</p>
66

77
<p align="center">
8-
<img src="https://img.shields.io/badge/Version-2.2-green?style=for-the-badge">
8+
<img src="https://img.shields.io/badge/Version-2.3.0-green?style=for-the-badge">
99
<img src="https://img.shields.io/github/license/htr-tech/zphisher?style=for-the-badge">
1010
<img src="https://img.shields.io/github/stars/htr-tech/zphisher?style=for-the-badge">
1111
<img src="https://img.shields.io/github/issues/htr-tech/zphisher?color=red&style=for-the-badge">
1212
<img src="https://img.shields.io/github/forks/htr-tech/zphisher?color=teal&style=for-the-badge">
1313
</p>
1414

1515
<p align="center">
16-
<img src="https://img.shields.io/badge/Author-HTR--Tech-cyan?style=flat-square">
17-
<img src="https://img.shields.io/badge/Open%20Source-Yes-cyan?style=flat-square">
18-
<img src="https://img.shields.io/badge/Written%20In-Bash-cyan?style=flat-square">
16+
<img src="https://img.shields.io/badge/Author-htr--tech-blue?style=flat-square&edge_flat=false">
17+
<img src="https://img.shields.io/badge/Open%20Source-Yes-darkgreen?style=flat-square&edge_flat=false">
18+
<img src="https://img.shields.io/badge/Maintained%3F-Yes-lightblue?style=flat-square&edge_flat=false">
19+
<img src="https://img.shields.io/badge/Written%20In-Bash-darkcyan?style=flat-square&edge_flat=false">
20+
<img src="https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fhtr-tech%2Fzphisher&title=Visitors&edge_flat=false"/></a>
1921
</p>
2022

21-
<p align="center">A beginners friendly, Automated phishing tool with 30+ templates.</p>
23+
<p align="center"><b>A beginners friendly, Automated phishing tool with 30+ templates.</b></p>
2224

2325
##
2426

@@ -37,73 +39,133 @@ It only demonstrates "how phishing works". <b>You shall not misuse the informati
3739
### Features
3840

3941
- Latest and updated login pages.
40-
- Mask URL support
4142
- Beginners friendly
42-
- Docker support (checkout `docker-legacy` branch)
4343
- Multiple tunneling options
4444
- Localhost
45-
- Ngrok (With or without hotspot)
46-
- Cloudflared (Alternative of Ngrok)
45+
- Ngrok
46+
- Cloudflared
47+
- LocalXpose
48+
- Mask URL support
49+
- Docker support
4750

51+
##
4852

4953
### Installation
5054

5155
- Just, Clone this repository -
52-
```
53-
$ git clone https://github.com/htr-tech/zphisher.git
54-
```
56+
```
57+
git clone --depth=1 https://github.com/htr-tech/zphisher.git
58+
```
5559

56-
- Change to cloned directory and run `zphisher.sh` -
57-
```
58-
$ cd zphisher
59-
$ bash zphisher.sh
60-
```
60+
- Now go to cloned directory and run `zphisher.sh` -
61+
```
62+
$ cd zphisher
63+
$ bash zphisher.sh
64+
```
65+
66+
- On first launch, It'll install the dependencies and that's it. ***Zphisher*** is installed.
67+
68+
##
6169

62-
- On first launch, It'll install the dependencies and that's it. `Zphisher` is installed.
70+
### Installation via ".deb" file
71+
72+
- Download `.deb` files from the [**Latest Release**](https://github.com/htr-tech/zphisher/releases/latest)
73+
- If you are using ***termux*** then download the `*_termux.deb`
74+
75+
- Install the `.deb` file by executing
76+
```
77+
apt install <your path to deb file>
78+
```
79+
Or
80+
```
81+
$ dpkg -i <your path to deb file>
82+
$ apt install -f
83+
```
84+
85+
##
6386

6487
### Run on Docker
65-
```
66-
$ docker pull htrtech/zphisher
67-
$ docker run --rm -it htrtech/zphisher
68-
```
6988

70-
### Dependencies
89+
- Docker Image Mirror:
90+
- **DockerHub** :
91+
```
92+
docker pull htrtech/zphisher
93+
```
94+
- **GHCR** :
95+
```
96+
docker pull ghcr.io/htr-tech/zphisher:latest
97+
```
98+
99+
- By using the wrapper script [**run-docker.sh**](https://raw.githubusercontent.com/htr-tech/zphisher/master/run-docker.sh)
100+
101+
```
102+
$ curl -LO https://raw.githubusercontent.com/htr-tech/zphisher/master/run-docker.sh
103+
$ bash run-docker.sh
104+
```
105+
- Temporary Container
106+
107+
```
108+
docker run --rm -ti htrtech/zphisher
109+
```
110+
- Remember to mount the `auth` directory.
71111
72-
**`Zphisher`** requires following programs to run properly -
73-
- `php`
74-
- `wget`
75-
- `curl`
112+
##
113+
114+
<details>
115+
<summary><h3>Dependencies</h3></summary>
116+
117+
<b>Zphisher</b> requires following programs to run properly -
76118
- `git`
119+
- `curl`
120+
- `php`
77121
78-
> All the dependencies will be installed automatically when you run `Zphisher` for the first time.
122+
> All the dependencies will be installed automatically when you run **Zphisher** for the first time.
123+
</details>
79124
80-
> Supported Platform : **`Termux`**, **`Ubuntu/Debian/Kali/Parrot`**, **`Arch Linux/Manjaro`**, **`Fedora`**
125+
<details>
126+
<summary><h3>Tested on</h3></summary>
127+
128+
- **Ubuntu**
129+
- **Debian**
130+
- **Arch**
131+
- **Manjaro**
132+
- **Fedora**
133+
- **Termux**
134+
</details>
81135
82136
##
83137
84-
<h3 align="center">
85-
:: Workflow ::
86-
</h3>
138+
<h3 align="center"><i>:: Workflow ::</i></h3>
87139
<p align="center">
88-
<img src=".imgs/wf.gif"/>
140+
<img src=".github/misc/workflow.gif"/>
89141
</p>
90142
91-
### Special Thanks :
92-
93-
- [**Aditya Shakya**](https://github.com/adi1090x)
94-
- [**1RaY-1**](https://github.com/1RaY-1)
95-
- [**Yisus7u7**](https://github.com/Yisus7u7)
96-
- [**sepp0**](https://github.com/sepp0)
97-
- [**AliMilani**](https://github.com/AliMilani)
98-
- [**TheLinuxChoice**](https://twitter.com/linux_choice)
99-
- [**DarksecDevelopers**](https://github.com/DarksecDevelopers)
100-
- [**Moises Tapia**](https://github.com/MoisesTapia)
101-
143+
##
102144
103-
### Find Me on :
145+
### Find Me on:
104146
<p align="left">
105-
<a href="https://github.com/htr-tech" target="_blank"><img src="https://img.shields.io/badge/Github-HTR--TECH-green?style=for-the-badge&logo=github"></a>
106-
<a href="https://www.instagram.com/tahmid.rayat" target="_blank"><img src="https://img.shields.io/badge/IG-%40tahmid.rayat-red?style=for-the-badge&logo=instagram"></a>
107-
<a href="https://m.me/tahmid.rayat.official" target="_blank"><img src="https://img.shields.io/badge/Chat-Messenger-blue?style=for-the-badge&logo=messenger"></a>
147+
<a href="https://tahmidrayat.is-a.dev" target="_blank"><img src="https://img.shields.io/badge/Socials-grey?style=for-the-badge&logo=linktree"></a>
148+
<a href="https://github.com/htr-tech" target="_blank"><img src="https://img.shields.io/badge/Github-blue?style=for-the-badge&logo=github"></a>
108149
</p>
109150
151+
152+
### *Thanks to all contributors*:
153+
154+
<table>
155+
<tr align="center">
156+
<td><a href="https://github.com/1RaY-1"><img src="https://avatars.githubusercontent.com/u/78962948?s=100" /><br /><sub><b>1RaY-1</b></sub></a></td>
157+
<td><a href="https://github.com/adi1090x"><img src="https://avatars.githubusercontent.com/u/26059688?s=100" /><br /><sub><b>Aditya Shakya</b></sub></a></td>
158+
<td><a href="https://github.com/AliMilani"><img src="https://avatars.githubusercontent.com/u/59066012?s=100" /><br /><sub><b>Ali Milani</b></sub></a></td>
159+
<td><a href="https://github.com/Meht-evaS"><img src="https://avatars.githubusercontent.com/u/57435273?s=100" /><br /><sub><b>AmnesiA</b></sub></a></td>
160+
<td><a href="https://github.com/KasRoudra"><img src="https://avatars.githubusercontent.com/u/78908440?s=100" /><br /><sub><b>KasRoudra</b></sub></a></td>
161+
</tr>
162+
<tr align="center">
163+
<td><a href="https://github.com/MoisesTapia"><img src="https://avatars.githubusercontent.com/u/28166400?s=100" /><br /><sub><b>Moises Tapia</b></sub></a></td>
164+
<td><a href="https://github.com/BDhackers009"><img src="https://avatars.githubusercontent.com/u/67186139?s=100" /><br /><sub><b>Mustakim Ahmed</b></sub></a></td>
165+
<td><a href="https://github.com/sepp0"><img src="https://avatars.githubusercontent.com/u/36642137?s=100" /><br /><sub><b>sepp0</b></sub></a></td>
166+
<td><a href="https://github.com/TripleHat"><img src="https://avatars.githubusercontent.com/u/68332137?s=100" /><br /><sub><b>TripleHat</b></sub></a></td>
167+
<td><a href="https://github.com/Yisus7u7"><img src="https://avatars.githubusercontent.com/u/64093255?s=100" /><br /><sub><b>Yisus7u7</b></sub></a></td>
168+
</tr>
169+
<table>
170+
171+
<!-- // -->

0 commit comments

Comments
 (0)