diff --git a/README.md b/README.md index 8a0045d..b2b22d8 100644 --- a/README.md +++ b/README.md @@ -32,8 +32,6 @@ user@host:~/DIR$ source venv/bin/activate ``` ## Notes -- The book was made available in its entirety by Internet Archive, right - [here](https://archive.org/details/pdfy-rJnW-pPgiHK61dok/). - Some listings presented on the book were missing from the author's code repository available from "no starch press" website and were added to their respective chapters. A more accurate naming convention has @@ -94,6 +92,10 @@ to the chapter under `cain.txt` corrected. *Contribution from [Enraged](https://github.com/Enraged) at [this commit](https://github.com/EONRaider/blackhat-python3/pull/2/commits/fcab6afc19fc4ea01b8c5c475e7b8c5e4b158df6).* +## Translations +Contributions in other languages can be checked here: +- Translated to [Turkish](https://github.com/EONRaider/blackhat-python3/tree/turkish-language) by [Bedirhan Budak](https://github.com/bedirhanbudak) + ## Contributing As a matter of common sense, first try to discuss the change you wish to make to diff --git a/chapter02/bhnet.py b/chapter02/bhnet.py index 711f1dd..5c2eedf 100755 --- a/chapter02/bhnet.py +++ b/chapter02/bhnet.py @@ -84,7 +84,7 @@ def client_handler(client_socket): cmd_buffer += client_socket.recv(1024) # we have a valid command so execute it and send back the results - response = run_command(cmd_buffer) + response = run_command(cmd_buffer.decode()) # send back the response client_socket.send(response)