Encrypted File Transfer via Sockets in Python

  Рет қаралды 19,904

NeuralNine

NeuralNine

Жыл бұрын

In this video, we learn how to implement encrypted file transfer using sockets in Python.
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
🐍 The Python Bible Book: www.neuralnine.com/books/
💻 The Algorithm Bible Book: www.neuralnine.com/books/
👕 Programming Merch: www.neuralnine.com/shop
🌐 Social Media & Contact 🌐
📱 Website: www.neuralnine.com/
📷 Instagram: / neuralnine
🐦 Twitter: / neuralnine
🤵 LinkedIn: / neuralnine
📁 GitHub: github.com/NeuralNine
🎙 Discord: / discord
🎵 Outro Music From: www.bensound.com/

Пікірлер: 27
@dankeroner
@dankeroner 8 ай бұрын
"pip install pycrypto" failed "pip install pycryptodome " worked perfectly close the file after reading it to prevent encoding and decoding errors with open('"file", "rb") as f: data = f.read() f.close() .... .... .... Thanks for the content bruv
@dyanosis
@dyanosis 14 күн бұрын
But you're using "with", which handles closing the file for you. Also f doesn't exist in the outer scope, only the scope of the with... so f.close() in your example does nothing. That'd be like saying that, in Java, you still need to close a file/resource that was opened with "try(some_resource)".
@paulthomas1052
@paulthomas1052 Жыл бұрын
Great tutorial - really enjoying your sessions. Thanks :)
@tips1483
@tips1483 Жыл бұрын
Love the video, I'd love to see this with an encryption implementation similar to SSL!
@tahiralauddin79
@tahiralauddin79 Жыл бұрын
Your content is always good
@wecheat1544
@wecheat1544 Жыл бұрын
More Encrypted like content, its very cool.
@atsbmnt7279
@atsbmnt7279 Жыл бұрын
very nice @NeuralNine Thank you
@pyalgoGPT
@pyalgoGPT Жыл бұрын
It will be best of both world if a Flet app is made ,which provides this feature !
@oliverli9630
@oliverli9630 7 ай бұрын
awesome!!!!
@uncannyRishabh
@uncannyRishabh Жыл бұрын
No matter what I do, I cannot send any kind of messages or files remotely from windows to my mac machine. I have tried opening the ports on the firewall, disabling the firewall, while keeping the IP address as my public IP, I even tried changing the port to 8080 (i thought this would make the transfer possible via http but didnt work).. am I missing something, please help me out. Thanks in advance
@kmazz3666
@kmazz3666 Жыл бұрын
Are the files you are sending compatible with mac? Windows programs are not compatible with mac. It wont understand the data it's decrypting. Or are you talking about just establishing the connection itself? You'll have to forward the port on your router if you're trying to connect outside of your local network.
@khadijanaz404
@khadijanaz404 Жыл бұрын
same issue
@lengors7327
@lengors7327 Жыл бұрын
Are you running the server on the windows or on the mac machine? Also, which firewall were you messing with?
@khadijanaz404
@khadijanaz404 Жыл бұрын
@@lengors7327 window
@uncannyRishabh
@uncannyRishabh Жыл бұрын
I figured it out guys, my ISP is blocking requests to my forwarded ports (I did port forwarding on my router), but I realised it later that it was my ISP. And now I'm back to developing Android apps 🤡
@safakkoklu6414
@safakkoklu6414 Ай бұрын
That is not a good approach for sending big files. Storing the recieved data in variable consumes your ram equals to the file size. You may want to write recieved data chunk on disk as soon as you get and empty the variable.
@alexandruspinu2484
@alexandruspinu2484 Жыл бұрын
Neat
@pythonmini7054
@pythonmini7054 10 ай бұрын
It only works on txt file not on docx files
@marcboutilier7044
@marcboutilier7044 6 ай бұрын
Did you make sure that client.send() has the proper end or not? Like: client.send("Example.docx") Just curious
@JNET_Reloaded
@JNET_Reloaded Жыл бұрын
btw mkv is total shit i always stick with mp4, least then it plays on the player side!
@JNET_Reloaded
@JNET_Reloaded Жыл бұрын
wheres the link to the code whats the point in having github if your not going to make a repo for every project on yt makes no fkin sense!
@dyanosis
@dyanosis 14 күн бұрын
Someone needs a chill pill and to learn how to talk to other people even though the internet gives you "anonymity". Besides, there's this lovely feature called "pause" for videos. Maybe you've heard of it? You can pause the video and copy what he's written. It's better, for your learning, if you're forced to write/type out what he did so you better understand what you're using rather than just copy/pasting and not understanding a thing.
Massively Speed Up Requests with HTTPX in Python
7:34
NeuralNine
Рет қаралды 21 М.
File Transfer via Sockets in Python
14:44
NeuralNine
Рет қаралды 55 М.
Dynamic #gadgets for math genius! #maths
00:29
FLIP FLOP Hacks
Рет қаралды 18 МЛН
NO NO NO YES! (50 MLN SUBSCRIBERS CHALLENGE!) #shorts
00:26
PANDA BOI
Рет қаралды 102 МЛН
Маленькая и средняя фанта
00:56
Multi DO Smile Russian
Рет қаралды 5 МЛН
КАРМАНЧИК 2 СЕЗОН 6 СЕРИЯ
21:57
Inter Production
Рет қаралды 411 М.
Coding Encrypted Chat in Python
20:33
NeuralNine
Рет қаралды 43 М.
A Beginner's Guide: Singleton Design Pattern in Java
7:51
InterviewBuddies
Рет қаралды 7
Makefiles in Python For Professional Automation
13:43
NeuralNine
Рет қаралды 38 М.
Python Sockets Simply Explained
39:33
NeuralNine
Рет қаралды 151 М.
Containerize Python Applications with Docker
20:51
NeuralNine
Рет қаралды 103 М.
Defining Flask SqlAlchemy Models ( ORM )   #flask #ORM #database
6:55
Perplexed Programming
Рет қаралды 15
Hacking Websites with SQL Injection - Computerphile
8:59
Computerphile
Рет қаралды 2,4 МЛН
Индуктивность и дроссель.
1:00
Hi Dev! – Электроника
Рет қаралды 1,5 МЛН
Huawei который почти как iPhone
0:53
Romancev768
Рет қаралды 550 М.
⌨️ Сколько всего у меня клавиатур? #обзор
0:41
Гранатка — про VR и девайсы
Рет қаралды 654 М.
How charged your battery?
0:14
V.A. show / Магика
Рет қаралды 2,6 МЛН
How To Unlock Your iphone With Your Voice
0:34
요루퐁 yorupong
Рет қаралды 14 МЛН