What is PasteJacking?
PasteJacking is a method with the help of which any computer can be controlled. It is stored in the website.
When you are reading something online and you want to use the tutorial, so what you do generally is copy it from the website and paste into command prompt, Powershell and Browser tab.
Actually, what you copy/paste can be manipulated with the help of Java Script.
For Check- You can copy any line of this post and paste into Notepad.
Like when you copy a text from any page you think that it got copied but in reality what got copied is a malicious code. As soon as you paste it in the browser, Command prompt or Powershell, your computer will be hacked.
To use this, there is a tool name Metasploit Framework.
With the help of this, your computer can be hacked from anywhere.
How can you avoid it?
- If you are a Windows user, then Before copy-pasting anything, you should copy-paste it the Notebook, just to check if the actual words got copied.
- If you are a Linux user, then Before copy-pasting anything, you should copy-paste it the any text editor, just to check if the actual words got copied.
- Same as MacOs.