Git Product home page Git Product logo

clairvoyance's Introduction

Clairvoyance

This project is a keylogger that I made out of boredom. This was inspired through a collective ideas from the internet, and through the exploration and usage of linux tools. This is just a basic program about keyloggers with added features. I just want to improve myself in the field of hacking and understand how the techniques or methods used works.

Features

Clairvoyance is a keylogger with added features, it is a collective idea from the internet. You can make a keylogger with just a few lines but it gets so boring. So, why not tweak the project like how I would like it. This project currently has the following features:

  • Keylogger - captures keyboard strokes
  • Screenshot - Takes screenshot every minute
  • File Upload - Data files are uploaded to a specific Google Drive
  • Extract Info - Extracts the system information of a computer
  • Unique Termination - Termination of the program requires to press 'esc' key 5 times

I will add more features in the feature. With my current knowledge I still can't comprehend how to make it advance.

How It Works

This repository consist of 3 files. 2 files are for the source code, and one file for the application executable

SOURCE CODE

  • clairvoyance.pyw
  • extract_info.py

EXECUTABLE

  • clairvoyance

You can just execute the application if you want to test it out.

The application starts by extracting the system info of the computer, where it will then create a '.txt' file and append the data inside it. It will then start capturing keyboard strokes, and also create a '.txt' file, appending the timestamp on when the program is opened. Then, the first capture of screenshot takes place, it will take another screenshot in another 60 seconds. In order for the program to be terminated, it needs to press the 'esc' key 5 times. When it is terminated, the files will be uploaded to google drive which are the two '.txt' file and the number of screenshots present.

Setting Up Google Drive

In order for the upload file to work, you need three things and this will be your variables for uploading.

  • SCOPES
  • SERVICE ACCOUNT FILE
  • FOLDER ID

SCOPES

1. Enable the Google Drive API

2. Create Credentials

  • Go to the "Credentials" tab.
  • Click "Create Credentials" and choose "OAuth client ID."
  • Select "Desktop app" as the application type.
  • Give your app a name and click "Create."
  • You'll receive a client ID and client secret.

3. Get The Scopes

  • The scopes define the specific permissions your app needs.
  • For file uploading, you'll typically need: https://www.googleapis.com/auth/drive.file for basic file actions

SERVICE ACCOUNT FILE

1. Creating a Service Account

  • Go to the Google Cloud Console: https://console.cloud.google.com/: https://console.cloud.google.com/
  • Select the project where you want to create the service account.
  • Go to the "IAM & Admin" section and click on "Service accounts."
  • Click "Create Service account."
  • Give your service account a name and description, then click "Create."
  • Click on the newly created service account and go to the "Keys" tab.
  • Click "Add Key" and select "Create new key."
  • Choose the JSON format and click "Create."
  • Download the JSON file. This file contains the private key and other information needed to authenticate your service account.

2. Using an Existing Account

  • If you already have a service account in your project, you can use that one instead of creating a new one.
  • Go to the "IAM & Admin" section and click on "Service accounts."
  • Select the existing service account you want to use.
  • Go to the "Keys" tab and click on the key you want to use.
  • Click on the "..." menu next to the key and select "Download."

FOLDER ID

1. Inspect the URL

  • Open the folder you want the ID for in Google Drive.
  • Look at the URL in your browser's address bar.
  • The folder ID is the string that follows "folders/" in the URL. For example, in the URL https://drive.google.com/drive/u/0/folders/abcdef123456 the Folder ID is "abcdef123456"

Look for the Google Drive Upload Variable in the code, and place the necessary info in it.

Uploading to Google Drive

When the files are uploaded, it will reflect on the specific Google Drive that you set, based on the Folder ID. You can verify each file to see if it is the correct file uploaded. Also, for the screenshot, it is saved in .PNG if you try to view directly from Google Drive. It will display random alphabets, numbers, and symbols that you can't understand. To verify it, you can download the screenshot image and view it on your computer.

I still want to add more features about this project but I still don't know what feature and how to implement it with my current knowledge. Yet, I won't stop exploring and creating in order to improve myself. I hope you like this project, as much as I did.

clairvoyance's People

Contributors

m3m0rydmp avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.