Skip to content
Advertisement

Tag: netcat

How to make a “same response” server with bash?

I’m trying to set up a simple server that returns always the same response. Based on this question I’ve tried to use but on the client it shows only once. If I use the UDP option (-u), it works as intended. So I’m guessing it’s EOF’s fault. Is there a way to make it work as a reponse to the

Using netcat to issue a http get request in bash

I have written the following script (it does not support index yet). The issue I am having is regarding using netcat to load the page. I can do this manually using the command line but when I try to have my script issue the exact same commands I can it does nothing without error. The only possible thing I can

Netcat uses different port than requested

I have the following problem. I’m using Debian GNU/Linux Stretch and I am trying to use netcat as a simple server. I start it using following command: It starts just fine and accepts connections but on a different port than requested: This behavior is independent of requested port, user or ufw status. Recently I installed LXC with following packages: apparmor

Advertisement