Sofort-Check: Wie Du die Verfügbarkeit eines Ports in der Bash überwachst

Ich habe letztens wieder etwas richtig Praktisches für meine tägliche Arbeit entdeckt, das ich Dir unbedingt zeigen möchte.

Kennst Du das? Du hast vielleicht gerade eine Konfiguration gemacht und startest einen lokalen Dienst oder ein Tool auf einem Server und willst wissen: Ist der Port...

https://www.cleveradmin.de/blog/2026/03/port-verfuegbarkeit-bash-check/
#Linux #bash #netcat #port #shell #berwachung

Fun: try communicating with #i3 / #SwayCompositor using #netcat and an #ASCII table!

$ man ascii
$ man sway-ipc # (for Sway)
$ nc -U "$I3SOCK" # "$SWAYSOCK" also works for Sway

Then enter:

i3-ipc^@^@^@^@^C^@^@^@

'^@' is a 0 byte; you can get it with Ctrl+@ (Ctrl+Shift+2) or sometimes Ctrl+Space. '^C' is a 3 byte; you'll need to escape it so that your terminal takes it literally rather than quitting `nc`; enter Ctrl+V then Ctrl+C.

Once you're done, press Ctrl+D once to send!

#hacking #hex

Built a custom Buildroot distro for #Raspberry Pi 4 running:

Linux 6.12 PREEMPT_RT, Wi‑Fi, #NordVPN, #Tor + #Proxychains, #macchanger, #nftables, #nmap, #netcat, #watchdog.

A real‑time, stealth, weapon‑grade network appliance.

Minimal. Fast. Untraceable. Mine 👊🏻

#Linux #Buildroot #RaspberryPi #PREEMPTRT #FOSS #Privacy #Networking

#netcat is both really popular with #Linux users, but also quite the train-wreck.

There's multiple mainstream implementations, they all have incompatible commandline interfaces, two of them have been unmaintained for 20 years and lack ipv6 support (netcat-traditional and gnu-netcat).

Debian and Arch Linux are shipping openbsd-netcat, but there's no canonical upstream, Debian takes the code out of OpenBSD's src.tar.gz and patched it to be portable to Linux (essentially to the point of a fork).

Is Your Android TV Streaming Box Part of a Botnet? – Krebs on Security

Chaque fois que j'utilise des pipelines avec #netcat j'ai l'impression d'être un génie.
C'est assez dingue, plus de 20 ans que je fais des transferts compressés avec "dd" => "gzip" => "netcat" et que je réduis des temps de transfert.
Genre:

Sur une machine "destination":

nc -l 8081 | gzip -d | dd bs=32M of=grosfichier

et sur la machine source:

dd if="grosfichuer" | gzip | pv | nc machine 8081

(et encore, je vous passe les déatils d'options de dd)

Утилита CANcat (или CAN-Мессенджер)

Недавно я купил себе CAN-трансивер USB2 CAN FD_V1 и с удивлением обнаружил насколько же простой и лаконичный протокол заложили разработчики в прошивку STM32G0B1CBT6. Это протокол SLCAN. По сути serial CLI . И это оказалось очень кстати, ведь в программировании микроконтроллеров порой приходится работать с UDS протоколом. Как известно, UDS протокол работает поверх сетевого протокола ISO-TP . В этом тексте я написал под SLCAN простую отладочную утилиту для отладки процесса передачи данных по протоколу ISO-TP (ISO 15765-2).

https://habr.com/ru/articles/948770/

#CANcat #memcpy #netcat #can_bus #isotp #DoCAN #usb2canfd #can #slcan #serial_port

Утилита CANcat (или CAN-Мессенджер)

Пролог Недавно я купил себе CAN-трансивер USB2CANFD_V1 и с удивлением обнаружил насколько же простой и лаконичный протокол заложили разработчики в прошивку STM32G0B1CBT6. Это протокол SLCAN. По сути...

Хабр

#kitten #server #netcat

`netcat` listen opened ports

Netcat, often called the “TCP/IP Swiss Army Knife,” is more than a simple utility. It can open raw sockets, transfer files, act as a backdoor, or even serve as a quick chat server between machines. Many sysadmins used it for debugging, while hackers saw it as an easy way to pivot or establish command shells. With just a few commands, you could set up a listener on one side and instantly connect from another, making it feel almost magical in its simplicity. Even decades later, its versatility and lightweight design keep it relevant for both troubleshooting and exploitation.

#Netcat #HackingTools #LinuxTricks #Networking #SysAdmin

NF.sec – Bezpieczeństwo systemu Linux - Ograniczenie SSH do konkretnego portu źródłowego klienta

N aszym zadaniem jest wystawienie usługi SSH do internetu, ale nie chcemy by ktoś oprócz naszej wiedzy tajemnej mógł się do niej połączyć. Nie będziemy używali rozwiązań typu VPN, port knocking, czy zmiany portu nasłuchu z 22 na inny. Secure Shell będzie nasłuchiwać na standardowym porcie i umożliwiała połączenie z dowolnego adresu IP. Jedynym warunkiem, […]