LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Netcat (https://www.linuxquestions.org/questions/linux-newbie-8/netcat-433881/)

s0n|k 04-10-2006 07:56 PM

Netcat
 
I need to perform reverse telnetting from work with netcat. How can I make a cron line that will connect to my home at say 6 pm?

spanishwasabi 04-11-2006 03:01 AM

Hi,

Read The Fine Manual:
http://www.webmasters-central.com/t/cron.shtml

A line like this should work:
* * 18 * * 1-5 /path/to/your/command

G

s0n|k 04-12-2006 02:39 PM

I don't see how that would work. I need to make netcat connect to an outside machine and start a reverse telnet. Are you sure this is what I need?

spanishwasabi 04-16-2006 05:16 PM

Mmm... did you try it? :-P

Seems like a cron line is a good solution if we believe the following article (look at the end):
http://www.onlamp.com/pub/a/onlamp/2...29/netcat.html
Give it a try and if it does not work, we'll look at something else.

By the way, reverse telnet from work... it looks a bit insecure to me... are you sure you want/can do it?

Good luck,

G


All times are GMT -5. The time now is 12:10 AM.