LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-22-2021, 03:50 PM   #1
darkdante
LQ Newbie
 
Registered: Feb 2021
Posts: 1

Rep: Reputation: Disabled
You found Easter Egg #12!


Hi, i know this is not the place that where i should post but ..
this website (https://samy.pl) used advanced technique when you press F12 to view the source code it tells you " You found Easter Egg #12!" and the same thing about right clicking for mouse! he even grab your IP addressand typing it such a like unix bash script and the interface like a Desktop mac OS! also check the power icon, i mean its great design but i wanna break the secret of that, Even if you try to opening the site through web developer tools it shows you this script:
Quote:
----------------------------------------------------------------------------
! Thanks for playing at samy.pl.
!
! You found Easter Egg #7!
!
! Please note, this is NOT the source to samy.pl.
! You have accessed the page incorrectly.
!
! In the various pages, you'll find benign code execution,
! seemingly invasive data exfiltration (that remains local
! to your machine and never reaches my system) and various
! innocuous challenges. Have fun!
!
! -samy kamkar
!----------------------------------------------------------------------------
does anyone here know what's going on with this website?

Last edited by darkdante; 02-22-2021 at 03:51 PM.
 
Old 02-22-2021, 04:23 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Code:
curl https://samy.pl/ -o samy.pl
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   491  100   491    0     0    946      0 --:--:-- --:--:-- --:--:--   944

cat samy.pl
<!------------------------------------------------------------------------------
 ! Welcome to samy.pl.
 !
 ! In the various pages, you'll find benign code execution,
 ! seemingly invasive data exfiltration (that remains local
 ! to your machine and never reaches my system) and various
 ! innocuous challenges. Have fun!
 !
 ! -samy kamkar
 !------------------------------------------------------------------------------>
<script>
/*
No source for you! You found Easter egg #3
*/
</script>
If you get the source for that page with scripts run, you will get 26k of html and scripts.
Code:
	
<script>
    var YOU_FOUND_THE_SOURCE_TO_SAMY_PL = "you are awesome!"
    var total_easter_eggs = 23
    /*
        Thanks for playing!
        There are currently 23 Easter Eggs on this site.
        I hope you've enjoyed running into a few,
  and perhaps you can find a few more!

        Your internet friend, -samy
    */
</script>
...
<script>
	if (navigator.userAgent.match(/Android|iPhone|iPod/i) && document.cookie.indexOf("iphone_redirect=false") == -1)
	window.location = "code/";
</script>
...
Bunch of scripts
https://samy.pl/ext-3.4.1/adapter/ext/ext-base.js
https://samy.pl/ext-3.4.1/ext-all.js
https://samy.pl/ext-3.4.1/js/StartMenu.js
https://samy.pl/ext-3.4.1/js/TaskBar.js
https://samy.pl/ext-3.4.1/js/Desktop.js
https://samy.pl/ext-3.4.1/js/App.js
https://samy.pl/ext-3.4.1/js/Module.js
https://samy.pl/js/jquery-1.12.4.min.js
https://samy.pl/last.js

Bunch of Twitter crap, bunch of images,
https://samy.pl/resources/images/sli...ft-corners.png
https://samy.pl/resources/images/sli...ht-corners.png
https://samy.pl/resources/images/sli...top-bottom.png
https://samy.pl/resources/images/sli...left-right.png

Quote:
but i wanna break the secret of that
Search for, study about "Web scraping".
 
2 members found this post helpful.
Old 02-22-2021, 07:52 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
Easter Eggs: https://www.computerhope.com/eggs.htm
 
1 members found this post helpful.
Old 02-23-2021, 04:16 AM   #4
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
IIRC it were samy kamkar who made myspace worm that added ppl to his friends list, he had millions of friends and accidentally he ddosed myspace
 
1 members found this post helpful.
Old 02-24-2021, 03:14 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by darkdante View Post
when you press F12 to view the source code it tells you " You found Easter Egg #12!"
It's just intercepting the F12 key. Javascript can do that. Without javascript you get a whole lotta nothing ("this page isn't redirecting properly"). Calling that Easter eggs is a bit evil IMO, and so is this:
Quote:
! In the various pages, you'll find benign code execution,
! seemingly invasive data exfiltration (that remains local
! to your machine and never reaches my system) and various
! innocuous challenges. Have fun!
Yeah, sure. "benign" and "seemingly invasive". No thanks.
 
Old 02-25-2021, 12:07 PM   #6
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
Quote:
Originally Posted by ondoho View Post
Yeah, sure. "benign" and "seemingly invasive". No thanks.
he is not a blackhat, greyish, that's he.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
The kernel easter egg hunt! vegetacron Linux - Newbie 5 10-16-2004 12:42 PM
PHP has an easter egg inside (image code) micxz Linux - Software 0 09-18-2004 08:41 PM
Easter egg in calender DavidPhillips *BSD 0 03-29-2004 08:08 PM
Suse 9.0 Easter Egg's!!! Whoo!!! Caeda Linux - General 0 11-21-2003 03:09 PM
Easter is almost here, so how about some easter eggs neo77777 General 15 04-20-2003 04:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration