Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project: JavaScript Keylogger

Overview

JavaScript Keylogger is a project aimed at demonstrating how keylogging can be done through JavaScript and integrated with a server-side application using Python and Flask. This project is designed for educational purposes to illustrate the security risks associated with malicious scripts and how to detect and prevent them.

Requirements

To run this project, you will need:

  • Python 3.12:

The latest version of Python. Download it from Python.org.

  • Flask:

A lightweight WSGI web application framework for Python. Install it using pip install Flask.

  • Code Editor:

Any code editor, such as Visual Studio Code, Sublime Text, or Atom.

  • WAMP or XAMPP Server:

A local server environment that can be used for testing purposes. Download WAMP or XAMPP.

Installation

  1. Clone the Repository:
git clone https://github.com/vishal-naik-byte/JavascriptKeylogger.git
cd JavascriptKeylogger
  1. Set Up Python Environment:

Ensure you have Python 3.12 installed. Set up a virtual environment and activate it:

python -m venv venv
source venv/bin/activate  # For Unix or MacOS
venv\Scripts\activate     # For Windows
  1. Install Flask:

Install Flask and any other necessary Python packages:

pip install Flask
  1. Set Up the Server:

Install and configure WAMP or XAMPP server on your local machine. This will be used to host the JavaScript keylogger and communicate with the Python Flask application.

  1. Run the Flask Application:

Start the Flask server: python app.py

  1. Open in Browser:

Open your web browser and go to http://localhost:5000 to see the keylogger in action.

Usage

This project demonstrates:

  • How JavaScript can be used to capture keystrokes.

  • How to send the captured data to a server-side Python application using Flask.

  • How to analyze and understand keylogger behavior to enhance security awareness.

Note: This keylogger is meant for educational purposes only. It is illegal to use a keylogger on any system without the owner's explicit permission.

Contributing

Feel free to contribute to this project by submitting pull requests or suggesting new features and improvements.

About

JavaScript Keylogger is an educational project demonstrating keylogging using JavaScript and a Python Flask backend. It aims to raise awareness of security risks from malicious scripts, help users understand how keyloggers work, and provide insight into detecting and mitigating such threats.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages