ing-web-es 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of ing-web-es might be problematic. Click here for more details.
- package/45210.py +84 -0
- package/EMBEDDED_IFRAME_ON_WEB_PAGE.flv +0 -0
- package/FinalPoc.ogx +0 -0
- package/SCOPE_ing +20 -0
- package/brandportal.ing.com/dump-scripts.py +83 -0
- package/brandportal.ing.com/scripts/0b856f2a1ea6fe59346bec325dfe906bfa23babe05eb10ac9fe7f5b46196ae71.js +0 -0
- package/brandportal.ing.com/scripts/accounting.min.js +155 -0
- package/brandportal.ing.com/scripts/assetWindowContainer.bundle.js +23827 -0
- package/brandportal.ing.com/scripts/assets.js +1223 -0
- package/brandportal.ing.com/scripts/bootstrap-select.min.js +1287 -0
- package/brandportal.ing.com/scripts/bootstrap.min.js +1530 -0
- package/brandportal.ing.com/scripts/chosen.jquery.min.js +1238 -0
- package/brandportal.ing.com/scripts/core.main.js +1059 -0
- package/brandportal.ing.com/scripts/en_120.js +5247 -0
- package/brandportal.ing.com/scripts/hoverIntent.js +139 -0
- package/brandportal.ing.com/scripts/jquery-3.5.1.min.js +3242 -0
- package/brandportal.ing.com/scripts/jquery-ui-timepicker-addon.js +1471 -0
- package/brandportal.ing.com/scripts/jquery-ui.min.js +6711 -0
- package/brandportal.ing.com/scripts/jquery.are-you-sure.js +197 -0
- package/brandportal.ing.com/scripts/jquery.autotabs.js +42 -0
- package/brandportal.ing.com/scripts/jquery.backstretch.min.js +543 -0
- package/brandportal.ing.com/scripts/jquery.blockUI.js +442 -0
- package/brandportal.ing.com/scripts/jquery.datePicker.js +1151 -0
- package/brandportal.ing.com/scripts/jquery.dialogextend.2_0_4.pack.js +300 -0
- package/brandportal.ing.com/scripts/jquery.fileupload-audio.js +103 -0
- package/brandportal.ing.com/scripts/jquery.fileupload-image.js +313 -0
- package/brandportal.ing.com/scripts/jquery.fileupload-process.js +172 -0
- package/brandportal.ing.com/scripts/jquery.fileupload-ui.js +700 -0
- package/brandportal.ing.com/scripts/jquery.fileupload-validate.js +117 -0
- package/brandportal.ing.com/scripts/jquery.fileupload-video.js +103 -0
- package/brandportal.ing.com/scripts/jquery.fileupload.js +1451 -0
- package/brandportal.ing.com/scripts/jquery.form.js +892 -0
- package/brandportal.ing.com/scripts/jquery.number.min.js +150 -0
- package/brandportal.ing.com/scripts/jquery.ui.datepicker-en.js +26 -0
- package/brandportal.ing.com/scripts/jquery.ui.timepicker-en.js +6 -0
- package/brandportal.ing.com/scripts/jquery.validate.min.js +844 -0
- package/brandportal.ing.com/scripts/layout.bundle.js +673 -0
- package/brandportal.ing.com/scripts/load-image.all.min.js +770 -0
- package/brandportal.ing.com/scripts/local.bundle.js +310 -0
- package/brandportal.ing.com/scripts/moment.min.js +1562 -0
- package/brandportal.ing.com/scripts/nl.js +88 -0
- package/brandportal.ing.com/scripts/paginator.js +267 -0
- package/brandportal.ing.com/scripts/popper.min.js +844 -0
- package/brandportal.ing.com/scripts/selectAssetBrowser.bundle.js +47577 -0
- package/brandportal.ing.com/scripts/selectables.custom.js +174 -0
- package/brandportal.ing.com/scripts/slick.min.js +687 -0
- package/brandportal.ing.com/scripts/superfish.js +279 -0
- package/brandportal.ing.com/scripts/upload-main.js +90 -0
- package/brandportal.ing.com/scripts/video.min.js +12517 -0
- package/brandportal.ing.com/scripts/videojs.wavesurfer.min.js +495 -0
- package/brandportal.ing.com/scripts/wavesurfer.min.js +2775 -0
- package/burping.json +783 -0
- package/dump-scripts.py +83 -0
- package/ing.com.txt +365 -0
- package/ing.com_200List.txt +30 -0
- package/ing.com_DIRSEARCH.txt +8220 -0
- package/ing_notes +1 -0
- package/nmap +1224 -0
- package/nuclei_ing.com.txt +9 -0
- package/package.json +12 -0
- package/poc.html +116 -0
- package/scope.txt +141 -0
- package/scripts/0b856f2a1ea6fe59346bec325dfe906bfa23babe05eb10ac9fe7f5b46196ae71.js +0 -0
- package/scripts/AliasCtrl.js +0 -0
- package/scripts/ChangePasswordCtrl.js +0 -0
- package/scripts/CustomErrorCtrl.js +0 -0
- package/scripts/ErrorCtrl.js +0 -0
- package/scripts/HeaderCtrl.js +0 -0
- package/scripts/LoginValidationService.js +0 -0
- package/scripts/NipValidator.js +0 -0
- package/scripts/Psd2AliasCtrl.js +0 -0
- package/scripts/RegonValidator.js +0 -0
- package/scripts/SmsCtrl.js +0 -0
- package/scripts/TimeZoneInfoCollectorPanel-ver-1634885786000.js +2 -0
- package/scripts/accounting.min.js +155 -0
- package/scripts/angular-animate.min.js +0 -0
- package/scripts/angular-cookies.min.js +0 -0
- package/scripts/angular-translate.min.js +0 -0
- package/scripts/angular-ui-router.js +0 -0
- package/scripts/angular.min.js +0 -0
- package/scripts/assetWindowContainer.bundle.js +23827 -0
- package/scripts/assets.js +1223 -0
- package/scripts/bootstrap-select.min.js +1287 -0
- package/scripts/bootstrap.min.js +1530 -0
- package/scripts/chosen.jquery.min.js +1238 -0
- package/scripts/core.main.js +1059 -0
- package/scripts/criticalMessageService.js +0 -0
- package/scripts/data-dir-cookies-bar.js +0 -0
- package/scripts/data-dir-progress-pie.js +0 -0
- package/scripts/dir-critical-message.js +0 -0
- package/scripts/dir-login-keyboard.js +0 -0
- package/scripts/dir-login-validation.js +0 -0
- package/scripts/en_120.js +5247 -0
- package/scripts/environment.js +22 -0
- package/scripts/gemius-init.js +0 -0
- package/scripts/gemiusID.js +0 -0
- package/scripts/hoverIntent.js +139 -0
- package/scripts/ing-vendor.min-ver-1634885786000.js +2 -0
- package/scripts/ing-ver-1634885786000.js +2 -0
- package/scripts/jquery-3.5.1.min.js +3242 -0
- package/scripts/jquery-ui-timepicker-addon.js +1471 -0
- package/scripts/jquery-ui.min.js +6711 -0
- package/scripts/jquery.are-you-sure.js +197 -0
- package/scripts/jquery.autotabs.js +42 -0
- package/scripts/jquery.backstretch.min.js +543 -0
- package/scripts/jquery.blockUI.js +442 -0
- package/scripts/jquery.datePicker.js +1151 -0
- package/scripts/jquery.dialogextend.2_0_4.pack.js +300 -0
- package/scripts/jquery.fileupload-audio.js +103 -0
- package/scripts/jquery.fileupload-image.js +313 -0
- package/scripts/jquery.fileupload-process.js +172 -0
- package/scripts/jquery.fileupload-ui.js +700 -0
- package/scripts/jquery.fileupload-validate.js +117 -0
- package/scripts/jquery.fileupload-video.js +103 -0
- package/scripts/jquery.fileupload.js +1451 -0
- package/scripts/jquery.form.js +892 -0
- package/scripts/jquery.number.min.js +150 -0
- package/scripts/jquery.ui.datepicker-en.js +26 -0
- package/scripts/jquery.ui.timepicker-en.js +6 -0
- package/scripts/jquery.validate.min.js +844 -0
- package/scripts/jsbn-ver-1634886518000.js +2 -0
- package/scripts/layout.bundle.js +673 -0
- package/scripts/load-image.all.min.js +770 -0
- package/scripts/local.bundle.js +310 -0
- package/scripts/login-app.js +0 -0
- package/scripts/login-en.js +0 -0
- package/scripts/login-pl.js +0 -0
- package/scripts/login-states.js +0 -0
- package/scripts/main.js +23 -0
- package/scripts/mobileAuthCtrl.js +0 -0
- package/scripts/moment.min.js +1562 -0
- package/scripts/mon_ing_init.js +22 -0
- package/scripts/nl.js +88 -0
- package/scripts/paginator.js +267 -0
- package/scripts/pinLoginDefault-ver-1634885786000.js +2 -0
- package/scripts/popper.min.js +844 -0
- package/scripts/prng4-ver-1634886518000.js +2 -0
- package/scripts/psd2-states.js +0 -0
- package/scripts/rng-ver-1634886518000.js +2 -0
- package/scripts/rsa_jsbn-ver-1634886518000.js +2 -0
- package/scripts/selectAssetBrowser.bundle.js +47577 -0
- package/scripts/selectables.custom.js +174 -0
- package/scripts/sgemius.js +0 -0
- package/scripts/sha1.js +0 -0
- package/scripts/slick.min.js +687 -0
- package/scripts/superfish.js +279 -0
- package/scripts/upload-main.js +90 -0
- package/scripts/video.min.js +12517 -0
- package/scripts/videojs.wavesurfer.min.js +495 -0
- package/scripts/wavesurfer.min.js +2775 -0
- package/scripts/webtrekk_v4-ver-1634885786000.js +2 -0
- package/setup-feature.js +47 -0
- package/start.ingbusiness.pl/dump-scripts.py +83 -0
- package/start.ingbusiness.pl/form.html_v=202110040949 +52 -0
- package/start.ingbusiness.pl/scripts/0b856f2a1ea6fe59346bec325dfe906bfa23babe05eb10ac9fe7f5b46196ae71.js +0 -0
- package/start.ingbusiness.pl/scripts/AliasCtrl.js +136 -0
- package/start.ingbusiness.pl/scripts/ChangePasswordCtrl.js +162 -0
- package/start.ingbusiness.pl/scripts/CustomErrorCtrl.js +9 -0
- package/start.ingbusiness.pl/scripts/ErrorCtrl.js +30 -0
- package/start.ingbusiness.pl/scripts/HeaderCtrl.js +84 -0
- package/start.ingbusiness.pl/scripts/LoginService.js +86 -0
- package/start.ingbusiness.pl/scripts/LoginValidationService.js +52 -0
- package/start.ingbusiness.pl/scripts/NipValidator.js +30 -0
- package/start.ingbusiness.pl/scripts/PasswordCtrl.js +179 -0
- package/start.ingbusiness.pl/scripts/Psd2AliasCtrl.js +12 -0
- package/start.ingbusiness.pl/scripts/RegonValidator.js +73 -0
- package/start.ingbusiness.pl/scripts/RequestService.js +26 -0
- package/start.ingbusiness.pl/scripts/SmsCtrl.js +91 -0
- package/start.ingbusiness.pl/scripts/UnlockUserCtrl.js +79 -0
- package/start.ingbusiness.pl/scripts/angular-animate.min.js +1535 -0
- package/start.ingbusiness.pl/scripts/angular-cookies.min.js +62 -0
- package/start.ingbusiness.pl/scripts/angular-translate.min.js +871 -0
- package/start.ingbusiness.pl/scripts/angular-ui-router.js +1561 -0
- package/start.ingbusiness.pl/scripts/angular.min.js +9845 -0
- package/start.ingbusiness.pl/scripts/criticalMessageService.js +24 -0
- package/start.ingbusiness.pl/scripts/data-dir-button-loader.js +30 -0
- package/start.ingbusiness.pl/scripts/data-dir-compile-template.js +17 -0
- package/start.ingbusiness.pl/scripts/data-dir-cookies-bar.js +37 -0
- package/start.ingbusiness.pl/scripts/data-dir-progress-pie.js +102 -0
- package/start.ingbusiness.pl/scripts/data-dir-svg-icon.js +633 -0
- package/start.ingbusiness.pl/scripts/data-gemius-event.js +119 -0
- package/start.ingbusiness.pl/scripts/dir-critical-message.js +9 -0
- package/start.ingbusiness.pl/scripts/dir-help-panel-content.js +29 -0
- package/start.ingbusiness.pl/scripts/dir-login-keyboard.js +346 -0
- package/start.ingbusiness.pl/scripts/dir-login-validation.js +20 -0
- package/start.ingbusiness.pl/scripts/dir-nav-links.js +26 -0
- package/start.ingbusiness.pl/scripts/dir-title.js +21 -0
- package/start.ingbusiness.pl/scripts/gemius-init.js +12 -0
- package/start.ingbusiness.pl/scripts/gemiusID.js +32 -0
- package/start.ingbusiness.pl/scripts/hashService.js +91 -0
- package/start.ingbusiness.pl/scripts/helpPanelPasswordService.js +26 -0
- package/start.ingbusiness.pl/scripts/helpPanelService.js +92 -0
- package/start.ingbusiness.pl/scripts/jquery-3.5.1.min.js +3242 -0
- package/start.ingbusiness.pl/scripts/login-app.js +107 -0
- package/start.ingbusiness.pl/scripts/login-en.js +73 -0
- package/start.ingbusiness.pl/scripts/login-pl.js +74 -0
- package/start.ingbusiness.pl/scripts/login-states.js +156 -0
- package/start.ingbusiness.pl/scripts/maskService.js +194 -0
- package/start.ingbusiness.pl/scripts/maskUtilService.js +302 -0
- package/start.ingbusiness.pl/scripts/mobileAuthCtrl.js +189 -0
- package/start.ingbusiness.pl/scripts/psd2-states.js +67 -0
- package/start.ingbusiness.pl/scripts/securityPolicyService.js +119 -0
- package/start.ingbusiness.pl/scripts/sgemius.js +257 -0
- package/start.ingbusiness.pl/scripts/sha1.js +210 -0
- package/start.ingbusiness.pl/scripts/sprintf.js +115 -0
- package/start.ingbusiness.pl/scripts/tabletScalingService.js +59 -0
- package/start.ingbusiness.pl/scripts/userAgentResolverService.js +12 -0
@@ -0,0 +1,174 @@
|
|
1
|
+
/*
|
2
|
+
* This is a customized version of selectables, don't just update it with the repo
|
3
|
+
* https://github.com/p34eu/Selectables.git
|
4
|
+
*/
|
5
|
+
|
6
|
+
function Selectables(opts) {
|
7
|
+
'use strict';
|
8
|
+
var defaults = {
|
9
|
+
zone: "#wrapper", // ID of the element whith selectables.
|
10
|
+
elements: "a", // items to be selectable .list-group, #id > .class,'htmlelement' - valid querySelectorAll
|
11
|
+
selectedClass: 'active', // class name to apply to seleted items
|
12
|
+
key: false, //'altKey,ctrlKey,metaKey,false // activate using optional key
|
13
|
+
moreUsing: 'shiftKey', //altKey,ctrlKey,metaKey // add more to selection
|
14
|
+
enabled: true, //false to .enable() at later time
|
15
|
+
start: null, // event on selection start
|
16
|
+
stop: null, // event on selection end
|
17
|
+
onSelect: null, // event fired on every item when selected.
|
18
|
+
onDeselect: null // event fired on every item when selected.
|
19
|
+
};
|
20
|
+
var extend = function extend(a, b) {
|
21
|
+
for (var prop in b) {
|
22
|
+
a[prop] = b[prop];
|
23
|
+
}
|
24
|
+
return a;
|
25
|
+
};
|
26
|
+
this.foreach = function(items, callback, scope) {
|
27
|
+
if (Object.prototype.toString.call(items) === '[object Object]') {
|
28
|
+
for (var prop in items) {
|
29
|
+
if (Object.prototype.hasOwnProperty.call(items, prop)) {
|
30
|
+
callback.call(scope, items[prop], prop, items);
|
31
|
+
}
|
32
|
+
}
|
33
|
+
} else {
|
34
|
+
for (var i = 0, len = items.length; i < len; i++) {
|
35
|
+
callback.call(scope, items[i], i, items);
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
this.options = extend(defaults, opts || {});
|
40
|
+
this.on = false;
|
41
|
+
var self = this;
|
42
|
+
this.enable = function() {
|
43
|
+
if (this.on) {
|
44
|
+
throw new Error(this.constructor.name + " :: is alredy enabled");
|
45
|
+
return;
|
46
|
+
}
|
47
|
+
this.zone = document.querySelector(this.options.zone);
|
48
|
+
if (!this.zone) {
|
49
|
+
throw new Error(this.constructor.name + " :: no zone defined in options. Please use element with ID");
|
50
|
+
}
|
51
|
+
this.items = document.querySelectorAll(this.options.zone + ' ' + this.options.elements);
|
52
|
+
this.disable();
|
53
|
+
//@todo: change this to vanilla js
|
54
|
+
$(this.zone).off('mousedown');
|
55
|
+
$(this.zone).on('mousedown', self.rectOpen);
|
56
|
+
this.on = true;
|
57
|
+
return this;
|
58
|
+
};
|
59
|
+
this.disable = function() {
|
60
|
+
this.zone.removeEventListener('mousedown', self.rectOpen);
|
61
|
+
$(this.zone).off('mousedown');
|
62
|
+
this.on = false;
|
63
|
+
return this;
|
64
|
+
};
|
65
|
+
this.isEnabled = function() {
|
66
|
+
return this.on;
|
67
|
+
};
|
68
|
+
var offset = function(el) {
|
69
|
+
var r = el.getBoundingClientRect();
|
70
|
+
return {
|
71
|
+
top: r.top + document.body.scrollTop,
|
72
|
+
left: r.left + document.body.scrollLeft
|
73
|
+
}
|
74
|
+
};
|
75
|
+
this.suspend = function(e) {
|
76
|
+
e.preventDefault();
|
77
|
+
e.stopPropagation();
|
78
|
+
return false;
|
79
|
+
}
|
80
|
+
this.rectOpen = function(e) {
|
81
|
+
self.options.start && self.options.start(e);
|
82
|
+
if (self.options.key && !e[self.options.key]) {
|
83
|
+
return;
|
84
|
+
}
|
85
|
+
document.body.classList.add('s-noselect');
|
86
|
+
self.foreach(self.items, function(el) {
|
87
|
+
if (!e[self.options.moreUsing]) {
|
88
|
+
el.classList.remove(self.options.selectedClass);
|
89
|
+
}
|
90
|
+
});
|
91
|
+
self.ipos = [e.pageX, e.pageY];
|
92
|
+
if (!rb()) {
|
93
|
+
self.gh = document.createElement('div');
|
94
|
+
self.gh.id = 's-rectBox';
|
95
|
+
self.gh.style.left = e.pageX + 'px';
|
96
|
+
self.gh.style.top = e.pageY + 'px';
|
97
|
+
|
98
|
+
self.moved = 0;
|
99
|
+
$('body').on('mousemove.selectables', trackMove);
|
100
|
+
$('body').on('mouseup', function() {
|
101
|
+
$('body').off('mousemove.selectables');
|
102
|
+
});
|
103
|
+
}
|
104
|
+
};
|
105
|
+
var trackMove = function() {
|
106
|
+
if (self.moved++ === 10) {
|
107
|
+
document.body.appendChild(self.gh);
|
108
|
+
document.body.addEventListener('mousemove', self.rectDraw);
|
109
|
+
window.addEventListener('mouseup', self.select);
|
110
|
+
}
|
111
|
+
};
|
112
|
+
var rb = function() {
|
113
|
+
return document.getElementById('s-rectBox');
|
114
|
+
};
|
115
|
+
var cross = function(a, b) {
|
116
|
+
var aTop = offset(a).top,
|
117
|
+
aLeft = offset(a).left,
|
118
|
+
bTop = offset(b).top,
|
119
|
+
bLeft = offset(b).left;
|
120
|
+
return !(((aTop + a.offsetHeight) < (bTop)) || (aTop > (bTop + b.offsetHeight)) || ((aLeft + a.offsetWidth) < bLeft) || (aLeft > (bLeft + b.offsetWidth)));
|
121
|
+
};
|
122
|
+
this.select = function(e) {
|
123
|
+
var a = rb();
|
124
|
+
if (!a) {
|
125
|
+
return;
|
126
|
+
}
|
127
|
+
delete(self.ipos);
|
128
|
+
document.body.classList.remove('s-noselect');
|
129
|
+
document.body.removeEventListener('mousemove', self.rectDraw);
|
130
|
+
window.removeEventListener('mouseup', self.select);
|
131
|
+
var s = self.options.selectedClass;
|
132
|
+
self.items = document.querySelectorAll(self.options.zone + ' ' + self.options.elements);
|
133
|
+
var selectedEls = [];
|
134
|
+
self.foreach(self.items, function(el) {
|
135
|
+
if (cross(a, el) === true) {
|
136
|
+
if (el.classList.contains(s)) {
|
137
|
+
el.classList.remove(s);
|
138
|
+
self.options.onDeselect && self.options.onDeselect(el);
|
139
|
+
} else {
|
140
|
+
el.classList.add(s);
|
141
|
+
self.options.onSelect && self.options.onSelect(el);
|
142
|
+
}
|
143
|
+
selectedEls.push(el)
|
144
|
+
}
|
145
|
+
setTimeout(function() {
|
146
|
+
el.removeEventListener('click', self.suspend, true);
|
147
|
+
}, 100);
|
148
|
+
});
|
149
|
+
a.parentNode.removeChild(a);
|
150
|
+
self.options.stop && self.options.stop(e, selectedEls);
|
151
|
+
}
|
152
|
+
this.rectDraw = function(e) {
|
153
|
+
var g = rb();
|
154
|
+
if (!self.ipos || g === null) {
|
155
|
+
return;
|
156
|
+
}
|
157
|
+
var tmp, x1 = self.ipos[0],
|
158
|
+
y1 = self.ipos[1],
|
159
|
+
x2 = e.pageX,
|
160
|
+
y2 = e.pageY;
|
161
|
+
if (x1 > x2) {
|
162
|
+
tmp = x2, x2 = x1, x1 = tmp;
|
163
|
+
}
|
164
|
+
if (y1 > y2) {
|
165
|
+
tmp = y2, y2 = y1, y1 = tmp;
|
166
|
+
}
|
167
|
+
g.style.left = x1 + 'px', g.style.top = y1 + 'px', g.style.width = (x2 - x1) + 'px', g.style.height = (y2 - y1) + 'px';
|
168
|
+
}
|
169
|
+
this.options.selectables = this;
|
170
|
+
if (this.options.enabled) {
|
171
|
+
return this.enable();
|
172
|
+
}
|
173
|
+
return this;
|
174
|
+
}
|