GithubHelp home page GithubHelp logo

marcuccio / gfg Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 11 KB

GFG ("Gophish Fingerprinting") is a tool that adds a tracking feature to your phishing campaigns.

JavaScript 56.41% Go 43.59%

gfg's Introduction

Visitor Tracking

This script enables visitor tracking by appending a visitorId and sessionId to a form as hidden inputs, and sending a beacon request when the page becomes hidden.

Requirements

  • A web page with a form element

Installation

  1. Add the script to your web page:
<script src="visitor-tracking.js"></script>
  1. Ensure that your server has an endpoint for handling the beacon request:
let url = "/api/tracking";

Usage

  1. When the page loads, the script generates a session ID and appends it to the form as a hidden input.

  2. When the page becomes hidden, the script measures the elapsed time since the page was loaded and sends a beacon request containing the visitorId, sessionId, rid, and elapsedTime to the server.

License

This project is licensed under the MIT License.

gfg's People

Contributors

marcuccio avatar

Stargazers

Volker Schwaberow 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.