diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2019-05-09 14:39:04 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2019-05-09 14:39:04 +0200 |
commit | 5731358d3c1a4603d10be84557542d48dcc068a1 (patch) | |
tree | fb78c3d6002d15f6af1e950de8fbbe06d492fc05 /README.md | |
parent | c1b10fdcf6c3e63238818c79ea25dab5b69658e0 (diff) | |
download | phisher-5731358d3c1a4603d10be84557542d48dcc068a1.tar.gz phisher-5731358d3c1a4603d10be84557542d48dcc068a1.tar.bz2 phisher-5731358d3c1a4603d10be84557542d48dcc068a1.zip |
Handle client disconnects more gracefully.
Give the client an option to disconnect politely by issuing the `bye`
command, but also handle the case where the client just drops the
connection in a better way.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -28,6 +28,9 @@ You can check if an URL is phishy or not by connecting to the socket and passing one URL at the time to the socket. For each URL the server will respond if it's phishy or good. +Once the client is done, it can drop the connection gracefully by issuing the `bye` +command, or simply drop the connection. + An example session can be like this: % socat - UNIX-CONNECT:/tmp/phisher @@ -35,6 +38,8 @@ An example session can be like this: good url. https://safravideos.com/login it's a phish! + bye + bye. ## How to contribute |