Skip to content

frncscrlnd/cookie-hijacking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple cookie hijacking

This simple project aims to shocase how cookie hijacking can happen.

Instructions:

  • change the server port to an available port on your machine;
  • start spring boot;
  • upon requesting the main page (localhost:8080/biscotti/dammi-cookie), your client will store a cookie "lang":"ENG"; image
  • visit the biscotti/saluta endpoint, that will greet you in English; image
  • change tha cookie's value field to "ITA";
  • the /saluta endpoint will then greet you in Italian as the fake cookie, that was included in your new request, tells the server your chosen language is Italian. image

About

A showcase of how cookie hijacking would happen in the simplest way.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published