---
title: "Netcat and socat - Cybr"
description: "Netcat and socat: a thread from the Introduction to OS Command Injections forum on Cybr, with 0 replies. Read-only archive."
url: https://cybr.com/forums/topic/netcat-and-socat/
---

Topic

# Netcat and socat

0 replies

**Archived.** These forums are read-only. The conversation continues on [Discord](https://cybr.com/discord/).

1. Christophe

   Sep 18, 2020

   In the "[attacking web apps manually](https://cybr.com/courses/introduction-to-os-command-injections/lessons/attacking-web-apps-manually/)" lesson of my course, I show how to use socat to create a reverse shell to connect to the target server/container.

   [Socat](https://linux.die.net/man/1/socat) is a tool familiar to [netcat](https://en.wikipedia.org/wiki/Netcat), which most tutorials focus on. Netcat is considered to be a bit more basic and has less functionality, but it's not quite as verbose. So people typically use netcat over socat unless they need functionality that's not supported, since it's a bit easier to use.

   I recommend that you try using both and decide which you prefer, and that's why I covered socat since it's not as widely covered!

[< Back to Introduction to OS Command Injections](https://cybr.com/forums/forum/introduction-to-os-command-injections/)
