How Can I Send a Raw Binary File Over the Network?

0
8
Asked By TechieTraveler42 On

I'm looking for guidance on how to simply send a raw binary file over the network without any additional headers or modifications. My file already includes all the necessary information for my router to handle it properly. I want to send it directly from my network card. If anyone has experience with this and can provide clear methods or tools, I'd appreciate the help!

2 Answers

Answered By BinaryWhisperer88 On

You can try using tools like telnet or netcat to send your binary file, or you could echo it directly to /dev/tcp. Just remember, if you're looking to go lower-level, you'll need to write a custom application that uses raw sockets.

FileFanatic21 -

Thank you, it's working now.

TechSavvyNerd -

Echo to /dev/tcp looks genius!

Answered By CuriousCoder55 On

It's worth asking what protocols you're planning to use since 'network' is pretty broad. If you're using something like SSH, you could just go with scp or rsync without worrying about the raw sending part.

TechieTraveler42 -

I just want to send a raw file over my network. The binary file already contains everything.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.