forked from htr-tech/zphisher
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Yisus7u7
committed
Dec 17, 2021
1 parent
c057b04
commit cd23a75
Showing
4 changed files
with
66 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Package: zphisher | ||
Version: 2.2 | ||
Installed-Size: 9400 | ||
Architecture: all | ||
Maintainer: @htr-tech | ||
Depends: php, wget, git, curl | ||
Homepage: https://github.com/htr-tech/zphisher | ||
Description: An automated phishing tool with 30+ templates. This Tool is made for educational purpose only ! |
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,8 @@ | ||
Package: zphisher | ||
Version: 2.2 | ||
Installed-Size: 9400 | ||
Architecture: all | ||
Maintainer: @htr-tech | ||
Depends: php, wget, git, curl, resolv-conf, proot | ||
Homepage: https://github.com/htr-tech/zphisher | ||
Description: An automated phishing tool with 30+ templates. This Tool is made for educational purpose only ! |
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 @@ | ||
#!/bin/bash | ||
|
||
DISTRO=$(uname -o) | ||
|
||
if [ $DISTRO == Android ]; then | ||
export ZPHISHER_ROOT="/data/data/com.termux/files/usr/opt/zphisher" | ||
else | ||
export ZPHISHER_ROOT="/usr/opt/zphisher" | ||
fi | ||
|
||
cd $ZPHISHER_ROOT | ||
bash ./zphisher.sh |
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,38 @@ | ||
#!/bin/bash | ||
PACKAGE_NAME=zphisher | ||
ZPHISHER_VERSION=2.2 | ||
PACKAGE_ARCH=all | ||
DISTRO=$(uname -o) | ||
|
||
echo "Building Zphisher deb package..." | ||
|
||
build_termux(){ | ||
mkdir -p ./package/DEBIAN | ||
mkdir -p ./package/data/data/com.termux/files/usr/bin | ||
mkdir -p ./package/data/data/com.termux/files/usr/opt | ||
cp -rf ./.package/TERMUX/control ./package/DEBIAN/control | ||
mkdir -p package/data/data/com.termux/files/usr/opt/$PACKAGE_NAME | ||
cp -rf ./LICENSE ./.sites ./.imgs ./zphisher.sh ./package/data/data/com.termux/files/usr/opt/$PACKAGE_NAME | ||
cp -rf ./.package/launch.sh ./package/data/data/com.termux/files/usr/bin/$PACKAGE_NAME | ||
chmod 755 ./package/DEBIAN | ||
dpkg-deb --build ./package $PACKAGE_NAME\_$ZPHISHER_VERSION\_$PACKAGE_ARCH.deb | ||
|
||
} | ||
|
||
build_linux(){ | ||
mkdir -p ./package/DEBIAN | ||
mkdir -p ./package/usr/bin | ||
mkdir -p ./package/usr/opt | ||
cp -rf ./.package/TERMUX/control ./package/DEBIAN/control | ||
mkdir -p package/usr/opt/$PACKAGE_NAME | ||
cp -rf ./LICENSE ./.sites ./.imgs ./zphisher.sh ./package/usr/opt/$PACKAGE_NAME | ||
cp -rf ./.package/launch.sh ./package/usr/bin/$PACKAGE_NAME | ||
chmod 755 ./package/DEBIAN | ||
dpkg-deb --build ./package $PACKAGE_NAME\_$ZPHISHER_VERSION\_$PACKAGE_ARCH.deb | ||
} | ||
|
||
if [ $DISTRO == Android ]; then | ||
build_termux | ||
else | ||
build_linux | ||
fi |