|
#68877
03/28/2001 6:10 PM
|
Joined: Feb 2000
Posts: 61
Member
|
Member
Joined: Feb 2000
Posts: 61 |
This contest open to everyone, including Mark and Charles Explain how this code works.
"Waffles are nothing more than a vehicle for butter and syrup" - Dr. Clayton Forrester
|
|
|
#68878
03/28/2001 6:30 PM
|
Joined: Mar 2000
Posts: 3,594
Moderator / Template Diva
|
Moderator / Template Diva
Joined: Mar 2000
Posts: 3,594 |
I bet it takes .00003 cents out of every transaction completed in tne New York Stock Exchange, and then sends that money into an offshore holding account in the Caymans that only I know the twenty-seven digit password to. ---Skorpion
Don't put that signature in your mouth! You don't know where it's been!
|
|
|
#68879
03/28/2001 8:45 PM
|
Joined: Mar 2000
Posts: 41
Member
|
Member
Joined: Mar 2000
Posts: 41 |
Aha! But I have also figured out the twenty-seven digit password! And Im getting rich! rich! rich! ***dances about, chanting "Can't fool me Im the gingerbread man!"***
Keep smilin
|
|
|
#68880
03/28/2001 9:08 PM
|
Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
|
P.I.T.A. / Programmer
Joined: Sep 2000
Posts: 755 |
from a very quick look I see the q* *; and q! !; so those combined with the evals lead to the actual perl code for print "Just another Perl hacker" being constructed within. then evaling on the completed string issues the print.
I don't have time do decipher the actual statement construction right now, but looks like you put a lot of effort into it.
--mark
"Annnnnnnndd now, opening for Iron Maiden...... WYLD STALLYNS!!!" --Bill S. Preston, Esquire and Ted "Theodore " Logan
|
|
|
#68881
03/28/2001 9:43 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
i'll come up with part 3 tommorow.
|
|
|
#68882
03/28/2001 11:33 PM
|
Joined: Feb 2000
Posts: 61
Member
|
Member
Joined: Feb 2000
Posts: 61 |
You have the general idea, Mark. Actually, it took a little more than an hour to write.
That last eval is only there because I wanted to break the program into separate lines - avoiding the wide UBB display annoyance. I had to escape all the backslashes between q* and *; because of that.
I made a program to create the encrypted message. First used sprintf to convert the "Yet another..." message to octal. Tacked the string "print eval" in front of that (with a little trick to get eval to work properly), then used sprintf again to convert that string to octal. Then used the y/// thingy to turn the octal representation to punctuation charaters. From there, it was pretty simple to add the decryption stuff.
I'll post the encryption and test code if anyone wants to see it.
The hard part was figuring when to escape and when not to escape.
"Waffles are nothing more than a vehicle for butter and syrup" - Dr. Clayton Forrester
|
|
|
#68883
03/29/2001 8:03 PM
|
Joined: Mar 2000
Posts: 41
Member
|
Member
Joined: Mar 2000
Posts: 41 |
Phew! It amazes me how you people can come up with such complicated code! My general knowledge is with PHP, so I honestly wouldn't have a clue as to how you did that or deciphered it. Cool though, all the same.
Keep smilin
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|