Skip to content

kahiroka/websocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Usage

wsmask -t|b -m|u [-k xxxxxxxx] -i input.bin -o output.bin

-t set opcode to text
-b set opcode to binary (default)
-m add websocket header and mask payload
-u unmask payload
-k xxxxx masking key used with -m option
-i input.bin
-o output.bin

You can use the following commands to convert each other.

$ ./wsmask -u -i sample/masked.bin -o unmasked.bin
$ ./wsmask -m -k deadbeef -i sample/unmasked.txt -o masked.bin

About

Masking/unmasking tool for WebSocket packets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published