I'm reading a book called Cyber Security Programming - Hacker Thinking in Python, but I'm stuck with NetCat Replacement.How should I try it on page 24?Also, I don't use KaliLinux because I use Pycharm.Is it still possible?
Additional
My environment is running python code with a software called Pycharm.
I can't say for sure because I don't understand how NetCat works, but what kind of software does NetCat do?After performing ./bhnet.py-1-p 9999-c operation at the terminal, I run /bhnet.py-t localhost-p 9999 at another terminal, but I'm having a hard time because it doesn't work.I'm posting on my smartphone, so I can't post the code right now, but is this the right information?
python
The reason why it doesn't work is probably because -l
should be -1
, which stands for listen
.
./bhnet.py-l-p 9999-c
As for my environment, there is no problem if socket
works in Python, so I think there is no problem with using Linux, Mac, or Windows.There seems to be a Windows version of NetCat.However, I think it's easier to learn using linux
to match the book because Windows has environmental differences. KaliLinux
is Debian-based, so you can use Debian
or Ubuntu
instead of KaliLinux
.Other linux
have different package management, but once you get used to it, there should be no problem.
NetCat is software that allows you to read and write TCP and UDP packets, making it easy to create simple servers and clients.
548 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
711 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
549 PHP ssh2_scp_send fails to send files as intended
537 Uncaught (inpromise) Error on Electron: An object could not be cloned
© 2024 OneMinuteCode. All rights reserved.