LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 09-17-2009, 01:39 PM   #76
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: Debian
Posts: 2,536

Rep: Reputation: 111Reputation: 111

Furhter investigation of this issue, made me conclude that the bug was in my input. Not my code.

So, once again:
Code:
bash$ cat garbled.txt
Doogsauumauipnt >)! Zov qatsfd!ovr!ieipt!fjlues >) Wiau brf zovr!tirfe!fbvprjtf uedhoidam copkt? Pmebsf jndlvdf bt!lfatt!ooe!spfuwbrf fnhioefrjnh copk- uhf ptiess!cbn!bf xhbtfvfr- j.f.- qhzsjct,!mbti,!euc/

bash$ cat wiau.c
main(){char i=0,_;while((_=getchar())>0)putchar((i=_-33?!i:1)?--_:_);}

bash$ make wiau
cc     wiau.c   -o wiau

bash$ ./wiau <garbled.txt
Congratulations =)  You passed our idiot filter =)What are your three favorite technical books?Please include at least one software engineering book, the others can be whatever, i.e., physics, math, etc.
 
Old 09-17-2009, 02:08 PM   #77
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
@ HKo -- very nice
Compact and efficient, with as you mention, the benefit of easily translating the next chunk of such nonsense without editing the source.

! Sasha
 
Old 09-21-2009, 04:38 PM   #78
Dogs
Member
 
Registered: Aug 2009
Location: Houston
Distribution: Slackware 13.37 x64
Posts: 105

Rep: Reputation: 25
Interesting thread...
 
Old 09-21-2009, 11:11 PM   #79
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by GrapefruiTgirl View Post
@ HKo -- very nice
Compact and efficient, with as you mention, the benefit of easily translating the next chunk of such nonsense without editing the source.

! Sasha
Yeah, but he has an input file...
 
Old 09-21-2009, 11:19 PM   #80
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Quote:
Originally Posted by jiml8 View Post
Yeah, but he has an input file...
True.. How about this:

The original cipher is included within the executable, so that if nothing is presented to stdin, and no file is given to it, it spews out the built-in cipher
 
Old 09-22-2009, 02:39 PM   #81
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446

Rep: Reputation: 59
Interesting thread indeed. I laughed hard when someone actually made a lolcode solution. That was awesome!
 
Old 09-23-2009, 01:42 AM   #82
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Ditto. The lolcode was hilarious. As I said on the thread that linked me to this one, I can't thank everybody individually, but I rated the thread 5 stars - first time I felt compelled to rate a thread. Great stuff.
 
Old 10-06-2009, 08:11 PM   #83
unclejed613
Member
 
Registered: Mar 2009
Posts: 352

Rep: Reputation: 32
he didn't even notice after seeing the cleartext that every other letter was unencrypted....... definitely flunked for that job.....

seems to me i remember there was an early "desktop" computer that stored text data in a similar format..... can't remember if it was some kind of checksum thing or some proprietary file type so that files created with that format couldn't be read by other programs......long time ago..... maybe it was wordstar for CP/M?

Last edited by unclejed613; 10-06-2009 at 08:21 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
A little instability in my Slackware, Need to decipher these errors BobNutfield Slackware 13 08-20-2008 10:02 AM
Can Someone help me to decipher this error? randell6564 Ubuntu 2 10-15-2006 04:20 PM
How to decipher this C declaration? CM019 Programming 6 05-28-2006 06:01 PM
Can anyone decipher my K3b error message? Trinity22 Linux - Software 3 04-21-2004 09:01 PM
Try to decipher this :) Whitehat General 42 06-29-2003 06:42 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 07:49 PM.

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