Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
tpzker

Netcat Inspired Program for OC Modems

Recommended Posts

Hello there people. I created a program inspired by netcat. It works over wireless and wired networks.

To get:

-- To make sure /usr/bin exists
mkdir /usr/bin/
pastebin get GrCPux9e /usr/bin/netcat.lua

Basic usage:

-- Sending side
netcat [port] [file]
-- Receiving side
netcat -r [port] [file]

The file parameter can be either a file on the system or a '-', which on the sending side will take in input from the console like OpenOS's cat. On the receiving side, '-' will print out received data to the console.

-- Sending side
netcat [port] -
-- Entering text into the sending side will send it to the receiving side. You can end the transfer with Ctrl+D.
-- Receiving side
netcat -r [port] -

 

Link to post
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.
Note: Your post will require moderator approval before it will be visible.

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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.