![]() |
| | #1 |
| Registered User Join Date: Jul 2007
Posts: 36
| Decrypt this! ooKap,idks,0015 The following 2 lines are taken from a database on my website. To be exact it is from the file "Members.db" where member information is stored. i.e username, password, money amount. The characters are only shuffled around - there is no encryption at the character level. Figure out what I did and what each of the words separated by commas means. |
| francoissoft is offline | |
| | #2 |
| Anti-Poster Join Date: Feb 2002
Posts: 1,212
| Shuffling every third letter around isn't that smart. Neither is using very similar usernames. Neither is posting stuff straight from your database concerning a live website.
__________________ Rule #1: Every rule has exceptions Traveller's Dilemma Contest Site - Results posted! |
| pianorain is offline | |
| | #3 |
| Registered User Join Date: Jul 2007
Posts: 36
| Wow! That shows that I need to implement a better encryption algorithem. As for my site, how did you find it? Also, can you tell me how you figured out the encryption? |
| francoissoft is offline | |
| | #4 | |
| The Right Honourable Join Date: Mar 2004 Location: Where circles begin.
Posts: 1,061
| Quote:
__________________ Memorial University of Newfoundland Computer Science Mac and OpenGL evangelist. | |
| psychopath is offline | |
| | #5 | ||
| int x = *((int *) NULL); Join Date: Jul 2003 Location: Banks of the River Styx
Posts: 891
| Quote:
Quote:
__________________ long time; /* know C? */ Unprecedented performance: Nothing ever ran this slow before. Any sufficiently advanced bug is indistinguishable from a feature. Real Programmers confuse Halloween and Christmas, because dec 25 == oct 31. The best way to accelerate an IBM is at 9.8 m/s/s. recursion (re - cur' - zhun) n. 1. (see recursion) | ||
| Cactus_Hugger is offline | |
| | #6 |
| Registered User Join Date: Jul 2007
Posts: 36
| Ok, crack the stuff on the second line.
__________________ FrancoisSoft FrancoisSoft on the Web If you stare at a computer for 5 minutes you might be a nerdneck. |
| francoissoft is offline | |
| | #7 |
| Captain - Lover of the C Join Date: May 2005
Posts: 337
| Koopa,kids,1005
__________________ Don't quote me on that... ...seriously |
| Brad0407 is offline | |
| | #8 |
| Registered User Join Date: Jul 2007
Posts: 36
| Wow! You're sharp!
__________________ FrancoisSoft FrancoisSoft on the Web If you stare at a computer for 5 minutes you might be a nerdneck. |
| francoissoft is offline | |
| | #9 |
| Senior software engineer Join Date: Mar 2007 Location: Portland, OR
Posts: 5,381
| |
| brewbuck is offline | |
| | #10 |
| Registered Abuser Join Date: Jun 2006 Location: Toronto
Posts: 572
| methinks this is not so much about "check out my uber cool encryption" as it is about "zomg guys check out my new uber cool webbernetsite"...
__________________ MSDN knows exactly what you're looking for... |
| @nthony is offline | |
| | #11 | |
| int x = *((int *) NULL); Join Date: Jul 2003 Location: Banks of the River Styx
Posts: 891
| Quote:
You are... using JavaScript to change the color of the font of your "FrancoisSoft" logo? AH! First, I enjoy seizures as much as the next guy, but a static or gently animated logo will likely earn you much more praise. Second, and more importantly, if it must flash colors, make it an animated GIF so you don't suck the very life out of my CPU. ![]() Also, Home.php doesn't seem to be your default/index(/whatever the technical name for it is) page. Perhaps you should rename it to index.php? As a result, using only a domain name gets a directory listing of your homepage. Worse, we see Members.db. Even if your file did use some sort of encryption/hash that was good, being able to obtain Members.db is not good. I shouldn't have access to that file. That being said, I have no other major nitpicks. I like the design (or lack thereof) of the project pages more than your homepage, but your homepage isn't terrible. (Other than the 100% CPU thing - fix that!) To be fair, some credit is deserved: I tried your WormWars program, in Linux. It compiles (with warnings) but after I hit the red worm the screen blanks and locks up in what appears to be an infinite loop. Although it didn't work, your site seems to indicate that you've never tried it in anything outside of Windows. The windows one worked well. 54506 on Phase 12 is my high. Kept me entertained for a while. Cool little game, much better than the usual requests for help on CBoard. Not bad. (Though that bug in Linux is probably there in Windows, it's just not being flushed out as well.)
__________________ long time; /* know C? */ Unprecedented performance: Nothing ever ran this slow before. Any sufficiently advanced bug is indistinguishable from a feature. Real Programmers confuse Halloween and Christmas, because dec 25 == oct 31. The best way to accelerate an IBM is at 9.8 m/s/s. recursion (re - cur' - zhun) n. 1. (see recursion) | |
| Cactus_Hugger is offline | |
| | #12 |
| Registered User Join Date: Jul 2007
Posts: 36
| Try editing the source code. Could have something to do with PD Curses.
__________________ FrancoisSoft FrancoisSoft on the Web If you stare at a computer for 5 minutes you might be a nerdneck. |
| francoissoft is offline | |
| | #13 | |
| int x = *((int *) NULL); Join Date: Jul 2003 Location: Banks of the River Styx
Posts: 891
| Quote:
Code: char StrBuff[50]; Code: sprintf(StrBuff, "Score: %i Clock: %i Phase: %i Length: %i Worms: %i (press H for help)", Score, Clock, Phase, Player.GetLength(), WormCount);
__________________ long time; /* know C? */ Unprecedented performance: Nothing ever ran this slow before. Any sufficiently advanced bug is indistinguishable from a feature. Real Programmers confuse Halloween and Christmas, because dec 25 == oct 31. The best way to accelerate an IBM is at 9.8 m/s/s. recursion (re - cur' - zhun) n. 1. (see recursion) | |
| Cactus_Hugger is offline | |
| | #14 |
| Registered User Join Date: Jul 2007
Posts: 36
| Wow. But why did it work on windows? Could you send me the Linux executable?
__________________ FrancoisSoft FrancoisSoft on the Web If you stare at a computer for 5 minutes you might be a nerdneck. |
| francoissoft is offline | |
| | #15 |
| int x = *((int *) NULL); Join Date: Jul 2003 Location: Banks of the River Styx
Posts: 891
| Once you step past the end of the array, you enter "undefined behavior". What happens afterwards is completely unknown. It could work, it could crash, it could print garbage to the screen. Any number of things, all dependent on the system, the exact setup, the alignment of the moon, etc. Although I've found that small bugs that don't exhibit themselves on Windows tend to be flushed out in Linux. (Just the differences in the two OS.) Can't attach executables on CBoard. (Your code only uses curses outside of the standard stuff as far as I can see, so it ought to build on many other systems, not just Linux & Windows.)
__________________ long time; /* know C? */ Unprecedented performance: Nothing ever ran this slow before. Any sufficiently advanced bug is indistinguishable from a feature. Real Programmers confuse Halloween and Christmas, because dec 25 == oct 31. The best way to accelerate an IBM is at 9.8 m/s/s. recursion (re - cur' - zhun) n. 1. (see recursion) |
| Cactus_Hugger is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Assignment to decrypt a text. | hubris | C++ Programming | 2 | 05-26-2009 12:16 PM |
| How to decrypt / encrypt using libgcrypt ? (ARC4) | jabka | C Programming | 3 | 07-30-2008 02:02 PM |
| need help | the bosss | C++ Programming | 1 | 11-12-2007 10:56 PM |
| Help needed in C Programming | ProgC | C Programming | 7 | 03-29-2007 03:42 AM |
| CRYPT don' t save file | krakz | C Programming | 5 | 02-28-2003 04:51 AM |