Don't just blindly copy code/text from a site...even murga's
Don't just blindly copy code/text from a site...even murga's
Following this rule of thumb is just plain smart, as some on here have noted before:
http://lifepluslinux.blogspot.be/2017/0 ... te-to.html
http://lifepluslinux.blogspot.be/2017/0 ... te-to.html
That's why code boxes are there Anything written in between
Code: Select all
font is small [size=0]can see it?[/size]
colour is changed [color=white]still see it?[/color]
Code: Select all
[ /code] is shown as it is. Can't hide there.
Please correct me if I am wrong.
Thanks belham - very important lesson. Freaked me out.
As he says - paste into a text editor before copying it into a terminal. Lesson learnt.
cheers!
Code: Select all
ls ; clear; echo 'Haha! You gave me access to your computer with sudo!'; echo -ne 'h4cking ## (10%)\r'; sleep 0.3; echo -ne 'h4cking ### (20%)\r'; sleep 0.3; echo -ne 'h4cking ##### (33%)\r'; sleep 0.3; echo -ne 'h4cking ####### (40%)\r'; sleep 0.3; echo -ne 'h4cking ########## (50%)\r'; sleep 0.3; echo -ne 'h4cking ############# (66%)\r'; sleep 0.3; echo -ne 'h4cking ##################### (99%)\r'; sleep 0.3; echo -ne 'h4cking ####################### (100%)\r'; echo -ne '\n'; echo 'Hacking complete.'; echo 'Use GUI interface using visual basic to track my IP'
ls -lat
cheers!
drunkjedi wrote:That's why code boxes are thereAnything written in betweenCode: Select all
font is small [size=0]can see it?[/size] colour is changed [color=white]still see it?[/color]
boxes do nothing to stop this. The thing is, they themselves (among other tricks) are coded to have the same color (off-white) background. Besides, the hackers have learned to use "0" sized font along with that background trick, and it makes it hard (but not impossible) to recognize by just looking at theCode: Select all
[ /code] is shown as it is. Can't hide there. Please correct me if I am wrong.[/quote] Hi drunkjedi, No, unfortunately the [code]
box or whatever that is put in it (on any website).Code: Select all
As greengeek notes, best way around this is to just slap it in Geany (or any other text editor), where you'll have the ability to see spacing gaps that look weird, changing background and foreground coloring, or recognizing code that is just gibberish. I think for us (those that are on murga here frequently), we are more careful than most. The worry is with those who are not. Still, I've stared at some stuff posted here, long scripts, and there would be no way to know unless I didn't first throw that script into an editor, starting changing the text & background colors, and the highlighting colors, especially of any extended (special) code areas. I have a "special" profile in Geany set up just for this, that way it takes a few seconds to set up, and quickly check & look over the script I downloaded before I commit it to the OS.
Yes I understand that it can be written like below here on murga too
ls[size=0] ; clear; echo 'Haha! You gave me access to your computer with sudo!'; echo -ne 'h4cking ## (10%)\r'; sleep 0.3; echo -ne 'h4cking ### (20%)\r'; sleep 0.3; echo -ne 'h4cking ##### (33%)\r'; sleep 0.3; echo -ne 'h4cking ####### (40%)\r'; sleep 0.3; echo -ne 'h4cking ########## (50%)\r'; sleep 0.3; echo -ne 'h4cking ############# (66%)\r'; sleep 0.3; echo -ne 'h4cking ##################### (99%)\r'; sleep 0.3; echo -ne 'h4cking ####################### (100%)\r'; echo -ne '\n'; echo 'Hacking complete.'; echo 'Use GUI interface using visual basic to track my IP' ls[/size] -lat
But what I meant that I couldn't replicate that in code box.
And so I think it's ok to copy from code box as what you see in code box is what you get.....
ls[size=0] ; clear; echo 'Haha! You gave me access to your computer with sudo!'; echo -ne 'h4cking ## (10%)\r'; sleep 0.3; echo -ne 'h4cking ### (20%)\r'; sleep 0.3; echo -ne 'h4cking ##### (33%)\r'; sleep 0.3; echo -ne 'h4cking ####### (40%)\r'; sleep 0.3; echo -ne 'h4cking ########## (50%)\r'; sleep 0.3; echo -ne 'h4cking ############# (66%)\r'; sleep 0.3; echo -ne 'h4cking ##################### (99%)\r'; sleep 0.3; echo -ne 'h4cking ####################### (100%)\r'; echo -ne '\n'; echo 'Hacking complete.'; echo 'Use GUI interface using visual basic to track my IP' ls[/size] -lat
But what I meant that I couldn't replicate that in code box.
And so I think it's ok to copy from code box as what you see in code box is what you get.....
Code: Select all
ls[color=white][size=0] ; clear; echo 'Haha! You gave me access to your computer with sudo!'; echo -ne 'h4cking ## (10%)\r'; sleep 0.3; echo -ne 'h4cking ### (20%)\r'; sleep 0.3; echo -ne 'h4cking ##### (33%)\r'; sleep 0.3; echo -ne 'h4cking ####### (40%)\r'; sleep 0.3; echo -ne 'h4cking ########## (50%)\r'; sleep 0.3; echo -ne 'h4cking ############# (66%)\r'; sleep 0.3; echo -ne 'h4cking ##################### (99%)\r'; sleep 0.3; echo -ne 'h4cking ####################### (100%)\r'; echo -ne '\n'; echo 'Hacking complete.'; echo 'Use GUI interface using visual basic to track my IP' ls[/color][/size] -lat
drunkjedi wrote:Yes I understand that it can be written like below here on murga too
ls[size=0] ; clear; echo 'Haha! You gave me access to your computer with sudo!'; echo -ne 'h4cking ## (10%)\r'; sleep 0.3; echo -ne 'h4cking ### (20%)\r'; sleep 0.3; echo -ne 'h4cking ##### (33%)\r'; sleep 0.3; echo -ne 'h4cking ####### (40%)\r'; sleep 0.3; echo -ne 'h4cking ########## (50%)\r'; sleep 0.3; echo -ne 'h4cking ############# (66%)\r'; sleep 0.3; echo -ne 'h4cking ##################### (99%)\r'; sleep 0.3; echo -ne 'h4cking ####################### (100%)\r'; echo -ne '\n'; echo 'Hacking complete.'; echo 'Use GUI interface using visual basic to track my IP' ls[/size] -lat
But what I meant that I couldn't replicate that in code box.
And so I think it's ok to copy from code box as what you see in code box is what you get.....
Code: Select all
ls[color=white][size=0] ; clear; echo 'Haha! You gave me access to your computer with sudo!'; echo -ne 'h4cking ## (10%)\r'; sleep 0.3; echo -ne 'h4cking ### (20%)\r'; sleep 0.3; echo -ne 'h4cking ##### (33%)\r'; sleep 0.3; echo -ne 'h4cking ####### (40%)\r'; sleep 0.3; echo -ne 'h4cking ########## (50%)\r'; sleep 0.3; echo -ne 'h4cking ############# (66%)\r'; sleep 0.3; echo -ne 'h4cking ##################### (99%)\r'; sleep 0.3; echo -ne 'h4cking ####################### (100%)\r'; echo -ne '\n'; echo 'Hacking complete.'; echo 'Use GUI interface using visual basic to track my IP' ls[/color][/size] -lat
Below is a the first sentence of the same output. You just gotta know how to fool the code /code entry, and it is not something I am going to post here (or anywhere).
Code: Select all
[/code]
-
- Posts: 1543
- Joined: Mon 22 Feb 2016, 19:43
It didn't work. I think it would be better to post how to do it (if it's possible), so that others are aware that using the code box can be rigged too.belham2 wrote:Below is a the first sentence of the same output. You just gotta know how to fool the code /code entry, and it is not something I am going to post here (or anywhere).
Code: Select all
[/code]
edit: I guess this is close heh...
Code wrote:ls[size=0] ; clear; echo 'Haha! You gave me access to your computer with sudo!'; echo -ne 'h4cking ## (10%)\r'; sleep 0.3; echo -ne 'h4cking ### (20%)\r'; sleep 0.3; echo -ne 'h4cking ##### (33%)\r'; sleep 0.3; echo -ne 'h4cking ####### (40%)\r'; sleep 0.3; echo -ne 'h4cking ########## (50%)\r'; sleep 0.3; echo -ne 'h4cking ############# (66%)\r'; sleep 0.3; echo -ne 'h4cking ##################### (99%)\r'; sleep 0.3; echo -ne 'h4cking ####################### (100%)\r'; echo -ne '\n'; echo 'Hacking complete.'; echo 'Use GUI interface using visual basic to track my IP' ls[/size] -lat
You guys are right. I was wrong. It does not work. Please just do me a favor, though, and anything you copy from here or anywhere, whether with or not, throw what's copied into an IDE text editor, have a different profile you can load for it quickly in that text editor (reverse the settings on that profile), and take a quick look. Geany is the best for this.
Code: Select all