Skip to content

iitsdim/web-dev-chat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web-dev-chat

Simple chat example for web dev class.

Showcase

Implemented

  • add nicknames
  • save nicknames on client side (localStorage)
  • reconnect when WebSocket connection is broken
  • add chat history

Todo

  • highlight messages sent by current user
  • fix time issues

Web security

Allows experimenting with XSS attack:

<span onmouseover="alert('XSS testing!')">Hello all!</span>
<img src='x' onerror='alert(1)' alt="">

Task: steal cookies and localStorage values from other chat participants.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 40.8%
  • JavaScript 27.0%
  • CSS 19.8%
  • HTML 11.5%
  • Procfile 0.9%