Skip to content

mgarry1336/TrackTheirFoot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

a

TrackTheirFoot

JS tracker engine

Installation & Usage

Clone repository:

https://github.com/mgarry1336/TrackTheirFoot

Include JavaScript files into your webpage:

<script src="ttf_utils.js" />
<script src="ttf_crypto.js" />
<script src="ttf_db.js" />
<script src="ttf_api.js" />
<script src="ttf_tracker.js" />
<script src="ttf.js" />

Setup '/ttf' endpoint on the server side. TrackTheirFoot transmits JSON data which is encrypted with key derivated from user session cookie (PHPSESSID, JSESSID or any other which is accessible and contains 'SESSID' in its name). The cipher which is used - XSalsa20.

Example of JSON data:

{
  "ttfid": "123456",
  "visited_pages": [
    "index.php",
    "login.php",
    "admin.php"
  ],
  "meta": {
    "date" : "2024-03-03",
    "time" : "1723831569.8786500",
  },
  ...
}

Enjoy easy and secure statistics and analysis!

Contribution

...I'll wait until someone decides to do this...😴

About

JS tracker engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published