Created
September 18, 2019 09:56
-
-
Save acosonic/26089d94fb52a1ef42b3f809be3aac0e to your computer and use it in GitHub Desktop.
Tampermonkey ErsteBank Novi Sad LOGIN VIA TAN (Automated)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/ ==UserScript== | |
// @name ersteLogin | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://netbanking.erstebank.rs/Prijava/PrijavaTan.aspx | |
// @grant none | |
// @require http://code.jquery.com/jquery-latest.js | |
// ==/UserScript== | |
$(document).ready(function(){ | |
window.tans = []; | |
window.tans['1111111'] = { | |
"A" : ['0','1111111','1111111','1111111','1111111','1111111','1111111','1111111','1111111'], | |
"B" : ['0','1111111','1111111','1111111','1111111','1111111','1111111','1111111','1111111'], | |
"C" : ['0','1111111','1111111','1111111','1111111','1111111','1111111','1111111','1111111'], | |
"D" : ['0','1111111','1111111','1111111','1111111','1111111','1111111','1111111','1111111'] | |
}; | |
var red = $("#ctl00_ContentPlaceHolder1_lblRedak").html(); | |
var kolona = $("#ctl00_ContentPlaceHolder1_lblStupac").html(); | |
var tan = $("#ctl00_ContentPlaceHolder1_lblTanTablica").html(); | |
$("#ctl00_ContentPlaceHolder1_txbTan").val(window.tans[tan][kolona][red]); | |
$("#ctl00_ContentPlaceHolder1_btnPrijavaTan").click(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment