Skip to content

Conversation

@Howe829
Copy link

@Howe829 Howe829 commented Nov 16, 2023

Hi there! I created this pull request because I discovered that it's possible to easily alter the logs of smallchat-server or the chat history of smallchat-client using the up arrow key.
In other words, you can easily hack the smallchat-client simply using up arrow key, before doing this if you change you nick by "/nick you", things will be more interesting! :) Lol, just for kidding.
We can simply solve this problem by ignoring the up arrow key, while we reading from stdin.
image
image

@hamzalodhi2023
Copy link

hamzalodhi2023 commented Nov 16, 2023 via email

@Tinywan
Copy link

Tinywan commented Nov 16, 2023

what?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants