ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก
A Look Inside The CLIPBOARD
ฝัง
- เผยแพร่เมื่อ 15 ส.ค. 2024
- Let's reach 3000 likes 💜 We all take the Clipboard feature for granted in our everyday lives. But how does it work behind the scenes? How can you copy and paste different kinds of content? And what questionable things can you do with this info? 🤔
InsideClipboard Download: www.nirsoft.ne...
VBS script source: gist.github.co...
0:00 - Introduction
0:10 - #1: The Basics
0:28 - #2: Inspecting the Clipboard
2:41 - #3: Editing Clipboard data
4:53 - #4: Questionable uses of the Clipboard
---------------------
Join the channel's discord server "The Flying Tech"!
bit.ly/Flytech...
Follow me on Twitter:
/ flytechvideos
---------------------
EVA - It Still Hurts (I Just Don't Know Why): • EVA - It Still Hurts (...
License: Creative Commons Attribution 3.0
Synth Kid - Wanderlust: • Synth Kid - Wanderlust...
License: Creative Commons Attribution 3.0
#lookinside #clipboard #flytech
Fly teaches us about something we wouldnt usually think about. It was very cool to learn again from you, Mad Respect.
More to come!
There are tons of other channels, but this channel is more technical and original with a few more than the remaining genpop-tier that make videos only for money.
@@FlyTechVideos Change to Fly Videos
Enderman (who has collabed with fly, actually) has similar content
@@vresod Ok
It's actually a little bit creepy that _any_ program can access your clipboard just like that. Don't copy-paste passwords, kids!
when you do that because you just created a new password in a password manager
You created a new virus idea.
@@gaminnlinux Clipboard logger
Oh f
@@ExperiencersInternational That's a risk.
TH-cam just notified me 24 minutes after the premiere ended.
"i will just use an i"
*sees the hex value of i*
nice.
NICE
*S I X T Y - N I N E*
n *i* ce
List of unfavorable things:
1. *MOSQUITO*
3. *WHEN A GLOBAL PANDEMIC HITS YOUR COUNTRY*
5.
f o r t n i t e
6. *Lag*
7. disconnection
8. This pc can't run windows 11
Fly: **right clicks and pressing copy instead of control c**
Majority of windows users: *TRIGGERED*
It's not only in Windows but in all systems. Also, if it wouldn't have purpose, it wouldn't exist.
to display what his actions are dude, be smarter
They were making sure that the viewers can understand whatever they were trying to do... Shortcut keys are only suitable when they have another camera pointing to the keyboard.
@@adamkee97 or they have an application or something which tells the viewers what buttons they r pressing
One Joke
When someone disliked the livestream without it even beginning...
Some people dislike bot youtubers for no reason
@@engineerbot F
@@engineerbot because their channel is getting less Views
@@engineerbot no its just cuz some people randomly dislike videos for no reason
TH-cam gave me this after the premiere ended.
TH-cam officially sucks.
😂😂😂
TH-cam has sucked for a while, the only reason people still use it is because its still so popular and there isn't really any other good or known platforms
1:34 *What happens if we copy a fly
If you press Windows key and "V" you can get a paste function with all your previous saved things on your clipboard. I assume it works similarly to the script you showed at the end.
Yes, just a lot nicer
thumbs.db do be vibing in the background tho
Fly is a person who will use run to open notepad, but then use the right click menu to copy
I was playing with the clipboard a few years back. I was working with a program that supported copying i guess youd call them 'objects'. If you pasted it back in the program, you got that original object with all its properties, as youd expect. But if you pasted it back into notepad, it just dumped a text representation of the object.
The program wasn't anything special, but still fun to peek under the hood :)
Interesting follow up idea is to put different things in say the unicode and the ascii representation. If you paste in one place, you might get one message, or you might get a different message if you paste somewhere with different encoding.
Idk bout you but I think Fly is my new tech teacher lol
I honestly love this video. And the music is making it better. Keep it up man, been watching since 2017.
you're so kind, thanks
I remember Windows XP had clipbrd.exe, which was a builtin tool for seeing the clipboard. I wonder why was it removed?
Security issues?
because you can simply paste what you have and see it?
it's actually just a single win32 call, so you don't even need an entire tool just to do it
In windows 10 from build 1900. you can just press _"Windows + V"_ keys and see the entire clipboard and not to worry again if you overwrite something important you have copied with something new.
@@raz0229 this has limits. If you copy too much stuff, the first ones will start to dissappear. Abd it also gets cleared on every shutdown of the machine.
@@balvispenchev8482 It only gets cleared on every shutdown if you don't go out of your way to pin the copied contents.
4:22
*tatatatatatatatatatatatatatatata*
{ *Heavy weapons guy noises intensifies* }
Random fun facts about the Windows clipboard:
1. The clipbook viewer in Windows NT and Windows for Workgroups can actually store multiple clipboards (including those of remote PCs), as opposed to the single clipboard viewer in Windows 3.x0 and Windows 9x.
2. Some applications store their own clipboard data, independently from the Windows clipboard. One notable example is EDIT.COM inside 32-bit Windows NT. Use the File menu to access the application's clipboard, and use the alt-space menu to use the NT clipboard.
3. Want to quickly clear your clipboard without launching the Clipboard / Clipbook Viewer? Control+X on any icon in explorer to cut, then hit Escape. Another quick method that almost clears it is to type a space anywhere (a Run dialog box or Notepad will suffice) and then Shift+Left Arrow, then Control+X to store just a single space.
I actually managed to crash my computer by copying the text from a Wikipedia article, putting it into notepad, pasting it 5 times, then selecting everything and copying that.
rip
I'm far from such things u do in your videos but it's interesting af
Oh man I'm suprised how you don't run out of interesting content at all I love you
Just me, or did the logo change?
Approval by me!
Ya.
Wait, I was hoping you would test this though you didn't. Could one cause issues with the computer by doing a cut operation with the size modified to be beyond the normal bounds? Would it clear arbitrary RAM?
No, it would not clear arbitrary RAM. That would be an insane security risk which would have already been exploited a lot (clipboard exists for a long time)
@@FlyTechVideos Ah, I'm both disappointed and relieved xD Thanks for the response.
Oh I thought cutting also removes the original file...thanks for the video! Very good to know more about my operating system. :)
it does! i missed to make that clear in the video :(
@@FlyTechVideos Oh...well ok
@@FlyTechVideos So it's basically a move right?
Yes, it's a move
it just hides it
That clipboard logger is actually pretty scary, because sometimes I have to copy a password from LastPass in order to log in, because I can't use LastPass outside browser on my Windows laptop (logging in to Office or OneDrive). Having that stuff not knowing it is there (conveniently concealed) installed on my computer, it would be quite a security hole...
If a software has the change to run undetected on your computer, at that point clipboard probably isn't what you have to worry about. The software could be a keylogger for what you know
Password-managers use special restricted-access memory to prevent password-snooping like that and will wipe the memory upon release.
Do you know why Windows can sometimes ignore attempts at copying texts even though you know you pressed Ctrl+C or clicked Copy in the Right-click menu? Should I then be worried?
I never had that happen, so maybe :/
If, for some reason, the copy-and-paste function isn’t working in Windows, one of the possible causes is due to some corrupted program components. Other possible causes include antivirus software, problematic plugins or features, certain glitches with the Windows system, or a problem with the “rdpclicp.exe” process.
Try restarting your computer or updating Windows.
I've experienced this too and I think some texts can be just made non-copyable
@@malwaretestingfan simple js can be used to block the Ctrl key or right clicks
@@malwaretestingfan Copying from the browser (multiple browsers: Opera, Chrome and Firefox) and occasionally copying from Explorer (I'm actually not sure anymore, it might just be browsers.)
I feel like it has happened with a program called Mp3Tag as well. Again, I'm not so sure anymore.
I have a suggestion for a video: The inner workings of a folder shortcut compared to the inner workings of a system-linked folder.
I know that shortcuts work as redirects, but what about system links?
hey there. a video will appear soon. it is about shortcuts in general. in a following part 2, i will describe symlinks to hopefully answer your question :)
@@FlyTechVideos Hell yeah! Thanks my dude!
Anytime Fly uploads is a good day
Thanks for showing me how to do buffer overflow attacks!
it's a buffer overread.
you're not overfilling the buffer
sooo... what about the windows 10 clipboard (Win + V) that can store multiple things and syncs between devices you're logged in to?
it does exactly what i did, but a bit nicer and cleaner
well i don't really know what else i expected...
Speaking of clipboards Windows 10 (1903+) has a built in clipboard manager, just press *Win* + *V* and you'll see it.
Similarly, there's a program that has more features than the built in, its called *Ditto* .
edit: how do i markdown in yt comments?
edit2: yt app does not show md lol
I hope the random stuff is really random, not something from a neighboring memory location which is used by another process.
I just love how your videos have no BS at all
Imagine a practical joke using a program that can access the clipboard and replace the clip with whatever message you want
max copy size = RAM?
Thanks for the Info! Now I finally know why I cant copy a file after deleting it xD
Just the kind of geeky tech content I need. Very entertaining.
😃
@@FlyTechVideos--
😃😃😃😃😃😃😃
😃😃😃😃😃😃
😃😃😃😃😃
😃😃😃😃
😃😃😃
😃😃
😃
Information that is copied is always stored in UTF-16 Little Endian. If you edit it to be without spaces, pasting it will print out what was read in Little Endian.
I can tell by the spaces that are in the viewer.
Windows used to have a clipboard viewer in NT 4. i believe it was similar to the InsideClipboard program in this video but im not sure, havent used an NT 4 vm in a while
The ditto app also has a GUI for editing clipboards.
cool im gonna download it cuz i wanted to edit my clipboard and it didnt work the way it did for flytech
ditto isnt like what flytech is saying in this video, it cant edit images.
I searched for many months for a possibility on how to expand the copy-paste-capabilities on Windows, so having a Python/AutoHotkey script to have multiple clipboard spaces (CTR+C/X/V+1 would not overwrite the normal clipboard), and reading and editing the clipboard was no problem, but when I changed the path from an explorer selection it never works. Will try your Hex clipboard editor as soon as possible, it would be so cool to automatically edit the path stored in the clipboard
There have been programs that can provide multi-clipboard functionality for _decades._ The first one I remember seeing was ClipMate back in the mid 90s. There are plenty these days.
I used the clipboard stealer to make a clipboard history on windows 7, just like the one in windows 10 and 11.
print('hello world')
Print('Hello Word')
returned 0
NO U
@Disciplexeon The Operator lmao
@@davr1 x2
зачем есть функция "копировать путь к файлу", если можно просто скопировать файл и скопируется само название?
На этот вопрос мы не узнаем ответа
Скорее всего при копировании файла вместо пути к файлу при вставке будет попытка вставить файл а не строку пути
Nice ! How about Drag'n'Drop ? Is it about the same principle ?
Yes, they both use OLE.
Oh wow, I was just watching your videos hoping you new video is coming, and I just got the notification! Yay
4:54 NEAT in a good way, who haven't forgot something on the clipboard and overwrite with something else?
Спасибо за видео автор)
Но отдельное благодарность тем кто переводят субтитры на другие языки
Надеюсь и дальше будете переводить)
is it possible to use it for clips in resolve 16? I don't know how to make it work, I can't find it in the clipboard. When I copy something and then paste it, the clipboard doesn't change. I unsign it ctrl + c from short cuts because I thought it is somehow handled by the application, but nothing changed.
I just realized why Fly uses "i" when changing hex values
It translates to 69
Nice
( ͡° ͜ʖ ͡°)
oh man another unexpected video, I am not really learn so much but you are so amazing.
"This is a text" lol
Something pretty cool would be the enlarged clipboard like on Android, so you can copy/paste multiple things.
they are just being stored somewhere in the system files, it's just like collecting multiplie texts and saving them in a file then choosing which ever one you like, or basically like how the logger in this video did, it tracked all copy-cuts and saved them, that's exactly what's happening in your android, it just saves the history of your copy paste, then presents them in a "fancy" way.
@@alphag4mer909 No, I meant building such a tool. Integrating into the context menu could get difficult though.
@@vincentguttmann2231 It already exist! I think you need to enable it in the settings. The shortcut is WIN+V
@@vincentguttmann2231 There have been multi-clipboard programs for _decades_ at least as far back as the mid-90s when I first saw ClipMate. There are plenty more now, and like with most QOL features, Windows _eventually_ built it in _long_ after people begged MS to build it in and finally gave up and used third-party tools instead. (Like Clover's tabs for File Explorer.)
Never really wondered much about how it worked, very cool to know! Thanks
hello, I'm trying to find out which process/program in Windows is responsible for the actual copy/pasting and what exactly happens when ctrl+c is pressed. I thought explorer.exe does that, but I'm not sure what exactly it calls. anyone knows?
if when you copy a file it copies the path, what if you copy a file inside that zip bomb which has like 500+ folders?
why did I try it on rdp it doesn't work to create file.txt ?
How much data can you have in the clipboard?
Since you can do fake storage, can you do fake memory?
You can't overwrite memory as easily as you can just overwrite a random peripheral USB drive
2:25 how many padded zeros would you like clipboard?
*YES*
This channel explore deep workings of windows
Imagine if someone used the VBS file as malware. Sneak it into someone's PC. The victim might, IDK, copy some passwords or credit card data, and since the VBS stores them, it's easy peasy for the hacker to get them.
Man i have problem i hope you tell me why that happpend
once i opend my windows then i found black screen i tried to fix it but it says to me cannot find windows explorer... why?
*its windows 7
5:44
"stolen from [stackoverflow link]"
Nice
Next take a deeper dive into the new Windows 10 Clipboard history (the one not shared and saved in "the cloud")!
Really cool and interesting video!
Though I have an idea, could you take a look and explain how the Clipboard History Works?
The one you open with Win + V tha's kind of a clipboard extension. I use it all the time and when the video ended it just came to my mind.
Anyways, keep the good work!
Going back to the Copy/Cut difference (02/05 00 00 00), what happens if the first bit is set to 03, or something?
What happens when you paste depends on the program and how it handles CFSTR_PREFERREDDROPEFFECT. The receiving program isn't _obligated_ to do anything in particular, that's why it's called PREFERRED drop effect. It's telling whatever program processes the paste-command what it SHOULD do, but the program can do whatever it wants. Setting the drop effect to move, asks that the original be deleted but the program doesn't _have_ to do that. In fact, there is an old bug-report in WinMerge about it not correctly processing the drop-effect.
In the case of Windows File Explorer, it prioritizes the move bit. If the move bit is set, then it will treat it as a cut/move even if the copy bit is set. If you set all of the bits on, then you can paste it as a shortcut as well with the paste-shortcut command, but the paste command will default to move.
(Copying a filesystem object will activate both the Paste and Paste Shortcut commands because they're both valid operations to do in the target folder. Cutting a filesystem object will activate the Paste command but disable the Paste Shortcut command because it doesn't make sense to CUT a file if you want to make a shortcut to it, so the shell assumes that's not what you wanted to do, you wanted to move the object. Setting bits 2 and 3, 0x6 or 110 will activate both the Paste and Paste Shortcut commands but treat it like a cut/move operation.)
As in the video, cut=2, move=5. That's because cut = 1+4, 1=copy, 4=link/shortcut, and 2=move; just like I described.
Ironically, the MSDN actually recommends specifically masking for the bits to be tested to avoid catching unsupported combinations, and yet Windows File Explorer breaks Microsoft's own recommendation. But then, is that really a surprise? 🙄
In case anyone is wondering about other options, there aren't any (at least not documented). The only other DROPEFFECT constant defined indicates that a scroll is starting so that for example, File Explorer can start scrolling the file-list. Setting the drop-effect to 0 disables Paste and Paste Shortcut and essentially does nothing.
What happens if you modify the bug check path?
Fun fact! In Linux, Clipboard is from the desktop environment instead of kernel itself.
Where was the Quora question?
3:58 I was thinking he edited the byte offscreen and the way the music ended made me expecting a BSoD ;)
???
didn't work for me, its only changed the shortcut key of paste commancd
Guy going to an internet cafe : Passwords are free real estate
Guy: **sees internet history and knows the windows+v shortcut**
Also guy: Reality can be whatever I want
so if cutting is 02 and copying is 05... what are 03 and 04 and etc? anything interesting?
We literally have clipboards in our phones, too
Glad he didn't take a look inside my cupboard.
Now enable the Windows 10 clipboard history feature and see how that changes things.
So... Copying and pasting passwords can be dangerous on public PCs.
Having the password in memory of a public PC. Typing, copying, displaying, whatever
@@FlyTechVideos ok, I think your statement is much more accurate... (Of course) 😂
If you learned anything from this video it should be that you can CTRL+MOUSWHEELEUP and CTRL+MOUSEWHEELDOWN in regular notepad.exe.
Amazing.
edit: in Windows 10, unsure of what build this became a feature.
2:35 wait so it is just my clipboard that doesn't clean the data after paste a cut? (for words)
for words, cut is just like copy, with the difference that it gets deleted from where you cut it
@@FlyTechVideos oh ok
W10 now integrate an clipboard logger that can be accessed with the shortcut windows + V
do a video about how things are stored in RAM
bruh at 1:13 i thought that was a roach and got freaked out-
What about the new clipboard thing with history? (Windows Key + V)
Fly Thanks The school don’t teach us that I hate school
Nice and well explained!
Glad you liked it!
can you make a video on the windows 10 algorithm for how it can tell if a key is correct even if you are offline?
sadly that algorithm is not public, it's not leaked and it's also extremely complicated
I have a suggestion for you, Try
Ÿ.exe, only on a virtual computer tho,that file can do serious damage to your computer
0:15 "exciting, right?"
amazing, right?
Hmm, I still wonder how exactly does microsoft word get soo much details from a simple copy of a text on a website.
Useful tip: You can view your clipboard history on windows by pressing windows + v
It doesn't work in windows 7, by the way.
Windows: just sell using license.
Fly: Reverse-engineer windows
Windows: 🤨
Isn't that a bit dangerous for passwords?
yes, it is. it's an actual concern for password managers which they weren't really able to solve yet
well, i mean, if a software can steal your clipboard content, it could just as well be a keylogger and steal your master password
@@FlyTechVideos most password input boxes have a function to block copying from the input box(you can't copy a password from a google login page)
It'd be great and useful if Windows clipboard worked similarly like Aneroid/SwiftKey clipboard.
Good video 😁
Try copying and pasting when the drive is full!
what about rich text?
Where did u got the wallpaper
I made it myself
@@FlyTechVideos can u send a link
Even Fly uses VS Code
Explain about Zalgo Text
Did you know that you can open clipboard on Windows 10 by pressing WIN+V ?