💾 Archived View for bbs.geminispace.org › u › fripster › 15741 captured on 2024-06-16 at 18:48:46. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-05-26)

➡️ Next capture (2024-07-09)

🚧 View Differences

-=-=-=-=-=-=-

Comment by 🚀 fripster

Re: "I had an idea the other day: I sometimes have to transfer..."

In: s/Electronics

Thanks for the reaction. I built it on a breadboard today, and it works. I sent a .jpg picture over the line by first encoding the file in base64, then 'typing' it over the line into an editor at the receiving end, and then decoding it back to jpg there. Works like a charm, but is quite slow. Only recommend for giving commands and sending short text files. (Which is my use case, so test was a success!)

🚀 fripster [OP/mod]

Mar 23 · 3 months ago

5 Later Comments ↓

🐧 chluehr · Mar 23 at 20:50:

Similar problem, similar solution: I tar & gzip the files and pipe them to base64encode & cat; then copy-paste the output (the buffer is quite large, lucky me) and decode/untar locally. PITA, but at least a viable way.

🌲 Half_Elf_Monk · Mar 23 at 21:28:

Is it the same kind of command every time? (i.e., I have to plug in this usb key and transfer the latest corpo-BS.dat file to a folder). If so, use the windows autoplay function + a batch file that executes those commands locally to the windows machine, and have that sit on the root of a usb key? windows did have autoplay, and as long as it's available on that (I'm guessing ancient) version of windows, you could likely do this.

🌲 Half_Elf_Monk · Mar 23 at 21:28:

reminds me of the old windows95 "briefcase" function, which worked to sync files on floppy disks between machines.

🍩 wholesomedonut · Mar 26 at 05:23:

Depending on where you work, that could be something that gets you fired.

You know your work environment better than I do.

I wouldn't mess with it; this sounds like a management issue where your resources to do this within the normal constraints of security rules doesn't exist, isn't known, or is unusable.

🚀 fripster [OP/mod] · Mar 26 at 21:11:

Thanks all for commenting. No this is not for doing things on my work computers, but to help when being at customers. Of course we would discuss with the IT people before doing this. We're not THAT stupid.. I made the test rig to just pass-through commands, so I will be able to do anything a typist can do. Just have to add a possibility to send Ctrl / Alt / Shift / System and F keys. But that is very doable. We just have some customers where the IT guys are not able to lift restrictions themselves, but are okay with temporarily using workarounds, especially when they are present to witness the thing. All customer want solutions in the end, despite all the rules....

Original Post

🌒 s/Electronics

I had an idea the other day: I sometimes have to transfer files to heavily closed off Windows PCs (Corporate IT and whatnot) and that is a PITA. Why not connect a Arduino Pro micro to it that presents itself as a HID Keyboard, and then feed the arduino from my laptop with the data over serial. The arduino can open a CMD box, do a "copy con" and then type the extents of the file, do a Ctrl-Z, and there you are. Also sending a binary as base64 and then using the Windows built-in base64 decoder...

💬 fripster [mod] · 7 comments · Mar 23 · 3 months ago