diff --git a/how_to b/how_to index 7eca7f8..caf9cf7 100644 --- a/how_to +++ b/how_to @@ -948,6 +948,21 @@ ssh: from server: ssh -p 2222 @127.0.0.1 +Transfer files without using ssh/scp: + # Credits: @Chapoline, @britaliope + Server-side (untars in current directory): + # directory + nc -l -p 1234 | openssl enc -aes-256-cbc -d -iter 1000 | tar -xzf - + # file + nc -l -p 1234 | openssl enc -aes-256-cbc -d -iter 1000 | gunzip - > + Client-side: + # directory + tar -zc -c | openssl enc -aes-256-cbc -e -iter 1000 | nc 1234 -q 1 + # file + gzip -c | openssl enc -aes-256-cbc -e -iter 1000 | nc 1234 -q 1 + # Both need the same passphrase in stdin + + Run MSVC on linux with Wine: As seen on the internet, not tested: https://hackernoon.com/a-c-hello-world-and-a-glass-of-wine-oh-my-263434c0b8ad