Skip to content
/ gfg Public

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

Notifications You must be signed in to change notification settings

Marcuccio/gfg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published