File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -44,28 +44,27 @@ $ ./wscat localhost 1234
4444
4545A raw chat is opened (wscats standard [ in|out] puts connected with each other via a network).
4646
47- Send a file:
47+ Send passwd file:
4848
49- Server:
5049```
5150$ WS_SRV= ./wscat localhost 1234 < /etc/passwd
5251```
5352
54- Client :
53+ Dump received data to /tmp/passwd :
5554
5655```
5756$ ./wscat localhost 1234 > /tmp/passwd
5857```
5958
6059To change a bind point set WS_URI variable.
6160
62- Server provides a service at ws://localhost:1234/blah:
61+ The server provides a service at ws://localhost:1234/blah:
6362
6463```
6564$ WS_SRV= WS_URI=/blah ./wscat localhost 1234
6665```
6766
68- Client :
67+ The client connects to ws://localhost:1234/blah :
6968
7069```
7170$ WS_URI=/blah ./wscat localhost 1234
You can’t perform that action at this time.
0 commit comments