Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.advocacy > #465951

Re: Another Crypto Programming Challenge

From owl <owl@rooftop.invalid>
Newsgroups comp.os.linux.advocacy
Subject Re: Another Crypto Programming Challenge
Date 2018-09-05 16:37 +0000
Organization O.W.L.
Message-ID <900qltqt.qy83@rooftop.invalid> (permalink)
References (4 earlier) <f2e33070-ae69-4405-818f-1ae69c2507a9@googlegroups.com> <6df749e4-d678-4371-b2db-db87e18aee6f@googlegroups.com> <b7cc770a-9333-464e-8fa8-8909ff354d2e@googlegroups.com> <p31tu8w00bwbw.h84@rooftop.invalid> <1e3488af-0483-4ea9-a315-43a180131cdb@googlegroups.com>

Show all headers | View raw


fr314159@gmail.com wrote:
> On Tuesday, September 4, 2018 at 12:21:33 PM UTC-4, owl wrote:
> 
>> 
>> anon@lowtide:~/code/stego$ cat steganopayload1575.txt;echo
>> Give it up, Feeb.
>> anon@lowtide:~/code/stego$
>>
> 
> He's just trying to weasel out of it because he knows that
> he can't do it.
> 

This is the fundamental process, but that's as far as I'm going
to take it. 

anon@lowtide:~/code/stego$ xxd -b -c4 data
0000000: 11111111 11111111 11111111 11111111  ....
0000004: 11111111 11111111 11111111 11111111  ....
0000008: 11111111 11111111 11111111 11111111  ....
000000c: 11111111 11111111 11111111 11111111  ....
0000010: 11111111 11111111 11111111 11111111  ....
0000014: 11111111 11111111 11111111 11111111  ....
0000018: 11111111 11111111 11111111 11111111  ....
000001c: 11111111 11111111 11111111 11111111  ....
0000020: 11111111 11111111 11111111 11111111  ....
0000024: 11111111 11111111 11111111 11111111  ....
0000028: 11111111 11111111 11111111 11111111  ....
000002c: 11111111 11111111 11111111 11111111  ....
anon@lowtide:~/code/stego$ echo -n "abc" >msg
anon@lowtide:~/code/stego$ xxd -b -c4 msg
0000000: 01100001 01100010 01100011           abc
anon@lowtide:~/code/stego$ ./blah msg data >out
anon@lowtide:~/code/stego$ xxd -b -c4 out
0000000: 11111110 11111111 11111111 11111110  ....
0000004: 11111110 11111110 11111110 11111111  ....
0000008: 11111110 11111111 11111111 11111110  ....
000000c: 11111110 11111110 11111111 11111110  ....
0000010: 11111110 11111111 11111111 11111110  ....
0000014: 11111110 11111110 11111111 11111111  ....
0000018: 11111111 11111111 11111111 11111111  ....
000001c: 11111111 11111111 11111111 11111111  ....
0000020: 11111111 11111111 11111111 11111111  ....
0000024: 11111111 11111111 11111111 11111111  ....
0000028: 11111111 11111111 11111111 11111111  ....
000002c: 11111111 11111111 11111111 11111111  ....
anon@lowtide:~/code/stego$ 

anon@lowtide:~/code/stego$ cat blah.c
#include <stdio.h>
#include <stdlib.h>

int main(int argc, char *argv[])
{
   FILE *msgfp;
   FILE *datafp;
   int c;
   int d;
   int e;
   int i=0;
   if(argc!=3){fprintf(stderr,"%s <msgfile> <datafile>\n",argv[0]);exit(1);}
   msgfp=fopen(argv[1],"r+");
   if(msgfp==NULL) { exit(1); }
   datafp=fopen(argv[2],"r+");
   if(datafp==NULL) { exit(1); }
   while( (c=fgetc(msgfp))!=EOF ) 
   {
      for(i=0;i<8;i++)
      {
        d=((c<<i)&0x80)>>7;
        e=fgetc(datafp);
        e&=0xfe;
        e|=d;
        fputc(e,stdout); 
      }
   }
   while((e=fgetc(datafp))!=EOF){fputc(e,stdout);} 
   fclose(msgfp);
   fclose(datafp);
   return 0;
}
anon@lowtide:~/code/stego$ 

Back to comp.os.linux.advocacy | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Another Crypto Programming Challenge fr314159@gmail.com - 2018-09-04 06:45 -0700
  Re: Another Crypto Programming Challenge owl <owl@rooftop.invalid> - 2018-09-04 13:59 +0000
    Re: Another Crypto Programming Challenge fr314159@gmail.com - 2018-09-04 07:25 -0700
      Re: Another Crypto Programming Challenge owl <owl@rooftop.invalid> - 2018-09-04 15:05 +0000
        Re: Another Crypto Programming Challenge fr314159@gmail.com - 2018-09-04 08:30 -0700
          Re: Another Crypto Programming Challenge Steve Carroll <fretwizzer@gmail.com> - 2018-09-04 08:47 -0700
            Re: Another Crypto Programming Challenge Steve Carroll <fretwizzer@gmail.com> - 2018-09-04 09:00 -0700
              Re: Another Crypto Programming Challenge owl <owl@rooftop.invalid> - 2018-09-04 16:21 +0000
                Re: Another Crypto Programming Challenge Steve Carroll <fretwizzer@gmail.com> - 2018-09-04 09:26 -0700
                Re: Another Crypto Programming Challenge Steve Carroll <frelwizzen@gmail.com> - 2018-09-05 02:44 -0700
                Re: Another Crypto Programming Challenge fr314159@gmail.com - 2018-09-04 09:58 -0700
                Re: Another Crypto Programming Challenge Steve Carroll <frelwizzen@gmail.com> - 2018-09-04 10:37 -0700
                Re: Another Crypto Programming Challenge Steve Carroll <frelwizzen@gmail.com> - 2018-09-05 05:06 -0700
                Re: Another Crypto Programming Challenge owl <owl@rooftop.invalid> - 2018-09-05 16:37 +0000
                Re: Another Crypto Programming Challenge Steve Carroll <fretwizzer@gmail.com> - 2018-09-05 10:03 -0700
                Re: Another Crypto Programming Challenge fr314159@gmail.com - 2018-09-05 10:26 -0700
                Re: Another Crypto Programming Challenge Steve Carroll <fretwizzer@gmail.com> - 2018-09-05 09:43 -0700
                Re: Another Crypto Programming Challenge fr314159@gmail.com - 2018-09-05 10:36 -0700
                Re: Another Crypto Programming Challenge Steve Carroll <fretwizzer@gmail.com> - 2018-09-05 10:45 -0700
                Re: Another Crypto Programming Challenge Steve Carroll <frelwizzen@gmail.com> - 2018-09-05 11:02 -0700
                Re: Another Crypto Programming Challenge fr314159@gmail.com - 2018-09-05 12:35 -0700
                Re: Another Crypto Programming Challenge Steve Carroll <frelwizzen@gmail.com> - 2018-09-05 12:52 -0700
                Re: Another Crypto Programming Challenge Steve Carroll <fretwizzer@gmail.com> - 2018-09-05 14:50 -0700
                Re: Another Crypto Programming Challenge Steve Carroll <frelwizzen@gmail.com> - 2018-09-05 15:13 -0700
                Re: Another Crypto Programming Challenge "F. Russell" <fr@random.info> - 2018-09-05 22:34 +0000
                Re: Another Crypto Programming Challenge Steve Carroll <frelwizzen@gmail.com> - 2018-09-05 15:59 -0700
                Re: Another Crypto Programming Challenge Steve Carroll <frelwizzen@gmail.com> - 2018-09-06 00:33 -0700
                Re: Another Crypto Programming Challenge Steve Carroll <frelwizzen@gmail.com> - 2018-09-06 00:02 -0700
                Re: Another Crypto Programming Challenge Steve Carroll <fretwizzer@gmail.com> - 2018-09-06 09:35 -0700
                Re: Another Crypto Programming Challenge Steve Carroll <frelwizzen@gmail.com> - 2018-09-06 09:55 -0700
                Re: Another Crypto Programming Challenge chrisv <chrisv@nospam.invalid> - 2018-09-05 12:52 -0500
                Re: Another Crypto Programming Challenge Steve Carroll <frelwizzen@gmail.com> - 2018-09-05 11:18 -0700
                Re: Another Crypto Programming Challenge fr314159@gmail.com - 2018-09-05 11:23 -0700
                Re: Another Crypto Programming Challenge fr314159@gmail.com - 2018-09-05 11:38 -0700
                Re: Another Crypto Programming Challenge Steve Carroll <frelwizzen@gmail.com> - 2018-09-05 11:49 -0700
                Re: Another Crypto Programming Challenge Steve Carroll <frelwizzen@gmail.com> - 2018-09-05 12:04 -0700
                Re: Another Crypto Programming Challenge fr314159@gmail.com - 2018-09-05 11:48 -0700
                Re: Another Crypto Programming Challenge Snit <usenet@gallopinginsanity.com> - 2018-09-05 21:28 -0700
        Re: Another Crypto Programming Challenge Steve Carroll <frelwizzen@gmail.com> - 2018-09-04 08:47 -0700

csiph-web