Pastejacking
github.com
Pastejacking
1–10 of 246 posts
Re: Pastejacking
#2Re: Pastejacking
#3Re: Pastejacking
#4This also includes the awful popular installation commands in the form of "curl -s ... | sh" - which means you are basically giving your computer in the hands of a third party.
Re: Pastejacking
#5I wasn't able to get this to work. Do I need to use CNTRL + C?
Re: Pastejacking
#6This is one of the innumerable reasons why copying and pasting commands on the fly is wrong. This also includes the awful popular installation commands in the form of "curl -s ... | sh" - which means you are basically giving your computer in the hands of a third party.
As opposed to any other installation method? Do you regularly vet the entire source code of software you install?
Re: Pastejacking
#7While we are on the topic of copying and pasting. If the command downloads a script, make sure you download the script out-of-step via curl first, review its contents, and only then execute it. This avoids sites maliciously changing the script based on the User Agent.
Re: Pastejacking
#8Re: Pastejacking
#9Does it really work? Do sites actually get more traffic by hijacking your keyboard's basic functions to insert advertisements? I guess it probably does. :(
Re: Pastejacking
#10 "not evil"
without a line break as expected. Chrome and Safari.edit: doesn't seem to have unexpected behavior in terminal either. Am I missing something, or does uBlock default deny the scripts that can do this?
edit 2: console log: Copying text command was unsuccessful. uBlock disabled.