# 本人编译的NC linux版

**URL:** <https://forum.90sec.com/t/topic/3558>\
**Category:** 技术文章\
**Created:** [2012 年5 月 9 日 17:33 UTC](https://forum.90sec.com/t/topic/3558 "2012-05-09T17:33:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

作者： ![SUNRISE](https://forum.90sec.com/user_avatar/forum.90sec.com/sunrise/32/11448_2.png) [@SUNRISE](https://forum.90sec.com/u/SUNRISE)\
发布日期： [2012 年5 月 9 日 17:33 UTC](https://forum.90sec.com/t/topic/3558/1 "2012-05-09T17:33:16Z")

</div>

两个文件，一个是32位的，一个是64位的。  
内网提权或渗透的时候可能会用到。  
有的机器上已经装了netcat，不过基本上都是阉割过的，不能反弹shell。  
这两个是我自己编译的，特拿出来分享一下。  
再或者，要是不放心我的话，可以在sourceforge上下载下来自己编译。  
[http://sourceforge.net/projects/netcat/files/](http://sourceforge.net/projects/netcat/files/)

编译中遇到什么问题欢迎来本帖讨论。  
唠叨一句，大家如果在windows系统中要用到nc，网上下载的毕竟能保证安全性和免杀，也可以自己编译。

[linux\_nc.zip](https://forum.90sec.com/discuz-migration/attachments/8859cf444d78438a23ed615d9c45adaa0a9e25ae44f30bbdbb81313c268eb32d)

---

<div class="post-metadata">

作者： ![s4msung](https://forum.90sec.com/letter_avatar_proxy/v4/letter/s/439d5e/32.png) [@s4msung](https://forum.90sec.com/u/s4msung)\
发布日期： [2012 年5 月 9 日 17:49 UTC](https://forum.90sec.com/t/topic/3558/2 "2012-05-09T17:49:23Z")

</div>

yum install nc

阉割版不是不可以弹 参数略又不同而已

---

<div class="post-metadata">

作者： ![SUNRISE](https://forum.90sec.com/user_avatar/forum.90sec.com/sunrise/32/11448_2.png) [@SUNRISE](https://forum.90sec.com/u/SUNRISE)\
发布日期： [2012 年5 月 9 日 17:51 UTC](https://forum.90sec.com/t/topic/3558/3 "2012-05-09T17:51:53Z")

</div>

\*\*回复 [2#](http://www.90sec.org/redirect.php?goto=findpost&pid=25821&ptid=2303) _s4msung_ \*\*

```
= =，奇怪了，我这redhat3.4 也是yum安装了， -e /bin/sh 不能用啊。{:4_87:}

```

---

<div class="post-metadata">

作者： ![iamtang3](https://forum.90sec.com/letter_avatar_proxy/v4/letter/i/bcef8e/32.png) [@iamtang3](https://forum.90sec.com/u/iamtang3)\
发布日期： [2012 年5 月 10 日 02:25 UTC](https://forum.90sec.com/t/topic/3558/4 "2012-05-10T02:25:25Z")

</div>

\*\*回复 [3#](http://www.90sec.org/redirect.php?goto=findpost&pid=25822&ptid=2303) _SUNRISE_ \*\*

```
一般网上编译好的版本，-e这个参数都是禁用，因为这个参数很危险。源码的readme中都会提示，需要在配置文件中将设置该参数的注释去掉，否则自己编译好的，这个参数也不能用

```

---

<div class="post-metadata">

作者： ![sfasfas](https://forum.90sec.com/letter_avatar_proxy/v4/letter/s/df705f/32.png) [@sfasfas](https://forum.90sec.com/u/sfasfas)\
发布日期： [2012 年5 月 10 日 05:08 UTC](https://forum.90sec.com/t/topic/3558/5 "2012-05-10T05:08:15Z")

</div>

还是找源码，自己编译，将版权去掉一版都会免杀的
