Just Crack Book2

Have a chat about out new freebee

Moderators: jelco, bert_the_turtle, Chris, Icepick, Rkiver, Punisher Bass

Katana Steel
level2
level2
Posts: 131
Joined: Tue Sep 30, 2003 12:12 pm
Contact:

Postby Katana Steel » Wed Jan 14, 2004 2:29 pm

But it will off cause help a bit if you do.

I thourght this thread dead though, only used for
reference. Hmm...
-- as life grows older, I gain experience
VerSuS
level1
level1
Posts: 10
Joined: Tue Jan 13, 2004 7:26 pm

Postby VerSuS » Wed Jan 14, 2004 2:38 pm

you don't need c++ to find em  no

but you do need stuff like it to beable to read em

yes?

and tell me what use does these bibles have are there hiden things in it or something
VerSuS
level1
level1
Posts: 10
Joined: Tue Jan 13, 2004 7:26 pm

Postby VerSuS » Wed Jan 14, 2004 2:52 pm

btw have you looked at page 25 of the 1ste book there is a hidden message there
just make the page lighter and you'll see
Stewsburntmonkey
level5
level5
Posts: 11553
Joined: Wed Jul 10, 2002 7:44 pm
Location: Nashville, TN
Contact:

Postby Stewsburntmonkey » Wed Jan 14, 2004 5:06 pm

You don't need any programming skill to read any of the books.  :)
User avatar
Miah
level5
level5
Posts: 3155
Joined: Mon Oct 13, 2003 7:28 pm
Contact:

Postby Miah » Wed Jan 14, 2004 9:13 pm

cerabus
level1
level1
Posts: 10
Joined: Thu Jan 29, 2004 10:56 am
Contact:

Postby cerabus » Wed Feb 11, 2004 7:45 pm

it says the origanal slogan which is somthing about data is the ammuntion of the new war or sumthin like that what has that got 2 do with book 2 or 3 and btw i got a bonus cd this morning 10/2/04
if your code runs smoothly first time its either a malfunction or a dream
Hex22
level3
level3
Posts: 368
Joined: Wed Feb 18, 2004 5:36 pm
Location: Israel

Postby Hex22 » Thu Feb 19, 2004 6:49 pm

Listen, I have a problem here:
I have REDSHIRT, I have the encrypted readme,
I have the otp software from vidwest.com,
I have world.mp3, but I don't know what I must do?
first decrypt readme with redshirt, then decrpt with otp?
vice versa? decrypt something else and then decrypt the readme with it?
My name: Hexadecimal 22.
My format: Virus.
My destination: Mainframe. ReBoot! Vote please!!
User avatar
Miah
level5
level5
Posts: 3155
Joined: Mon Oct 13, 2003 7:28 pm
Contact:

Postby Miah » Thu Feb 19, 2004 7:15 pm

redshirt first. actually, usually it doesn't matter what you do first, the end result should be the same :)
zorkmaster
level0
Posts: 2
Joined: Thu Feb 26, 2004 6:17 pm
Location: the underground empire

Postby zorkmaster » Fri Feb 27, 2004 4:10 am

          
------------------------------------------------------------------------
as many had feared I will now post my source code for the programs: otp, count and strip.

(to Linux only)
otp.cc:
#include <fstream>
#include <stdlib.h>

int main( int argc, char *argv )
{   // there are no error handling because this program
    // are only used in one way:
    // otp <in_file> <key_file> <offset> <out_file>
   int offset = atoi(argv[3]);
   char ic = 0, kc = 0;
   std::ifstream I(argv[1]);
   std::ifstream K(argv[2]);
   std::ofstream O(argv[4]);
   for(int i = 0;i<offset;i++)
   {
       K.get(kc);
   }
   while(I.get(ic))
   {
      K.get(kc);
      O << (char)(ic^kc);
   }
   I.close();
   K.close();
   O.close();
   return 0;
}
EOF

count.cc:
#include <fstream>
#include <iostream>

int main( int argc, char *argv )
{   // there are no error handling because this program
    // are only used in one way:
    // count <in_file>
    unsigned long i = 0;
    char c;
    std::ifstream I(argv[1]);
    while(I.get(c))
    {
        i++;
    }
    std:cout << i << endl;
    return 0;
}
EOF

strip.cc:
#include <fstream>
#include <iostream>

int main( int argc, char *argv )
{   // there are no error handling because this program
    // are only used in one way:
    // strip <in_file> <out_file>
    char ic = 0;
    std::ifstream I(argv[1]);
    std::ofstream O(argv[2]);
    for(int i=0; i < 16; i++)
    {
       I.get(ic);
    }
    while ( I.get(ic) )
    {
       O << ic;
    }
    I.close();
    O.close();
    return 0;
}
EOF
can you translate to mac ppc I am just a beginer programer
Linker
level3
level3
Posts: 268
Joined: Mon Nov 10, 2003 2:55 am
Contact:

Postby Linker » Sat Feb 28, 2004 1:52 am

You need to compile it on a mac in order to port it.

Linker
Katana Steel
level2
level2
Posts: 131
Joined: Tue Sep 30, 2003 12:12 pm
Contact:

Postby Katana Steel » Tue Mar 23, 2004 11:33 pm

oh.. and please state where you "lend" the Code.

Don't Think that I can't recognize my own scribblings,
eventhough it was back in late October last year.

well no hard feelings yet.... I think I do deserve some
or at least a tiny bit of credit for the hours I spent writing
those three files(or no?).
-- as life grows older, I gain experience
User avatar
Rycr
level1
level1
Posts: 32
Joined: Fri Jun 28, 2002 3:12 pm

Postby Rycr » Thu Mar 25, 2004 3:38 am

Is it possible to compile and run that code on Windows XP?  So far I haven't been able to
I may have a paltry number of posts, but I've been around since the Pre-Nakatomi days.
Katana Steel
level2
level2
Posts: 131
Joined: Tue Sep 30, 2003 12:12 pm
Contact:

Postby Katana Steel » Tue May 04, 2004 5:57 am

It should be possible to compile it under WinXP, perhaps with some
minor modifications, but I can't say for sure last time I use/developed
bits of the code (the file reading/writing) it compiled allright, however
it didn't produce the desired result
Last edited by Katana Steel on Sun Apr 10, 2005 8:58 pm, edited 1 time in total.
-- as life grows older, I gain experience
Katana Steel
level2
level2
Posts: 131
Joined: Tue Sep 30, 2003 12:12 pm
Contact:

Postby Katana Steel » Tue May 04, 2004 8:04 am

I've seen that my code have been somewhat damaged in transport
from the old forum. So I've decided to post it with the error
corrected, and I plan to publish it at my Personal WebServer.

As many had feared I will now post my source code for the programs: otp, count and strip.

(to Linux only i got some weird results under Win32 using BCC32)
otp.cc:

Code: Select all

// Copyrighted Alchemiestick IS
#include <fstream>
#include <stdlib.h>

int main( int argc, char *argv[] )
{   // there are no error handling because this program
    // are only used in one way:
    // otp <in_file> <key_file> <offset> <out_file>
   int offset = atoi(argv[3]);
   char ic = 0, kc = 0;
   std::ifstream I(argv[1]);
   std::ifstream K(argv[2]);
   std::ofstream O(argv[4]);
   for(int i = 0;i<offset;i++)
   {
       K.get(kc);
   }
   while(I.get(ic))
   {
      K.get(kc);
      O << (char)(ic^kc);
   }
   I.close();
   K.close();
   O.close();
   return 0;
}


count.cc:

Code: Select all

// Copyrighted Alchemiestick IS
#include <fstream>
#include <iostream>

int main( int argc, char *argv[] )
{   // there are no error handling because this program
    // are only used in one way:
    // count <in_file>
    unsigned long i = 0;
    char c;
    std::ifstream I(argv[1]);
    while(I.get(c))
    {
        i++;
    }
    std::cout << i << std::endl;
    return 0;
}


strip.cc:

Code: Select all

 
// Copyrighted Alchemiestick IS
#include <fstream>
#include <iostream>

int main( int argc, char *argv[] )
{   // there are no error handling because this program
    // are only used in one way:
    // strip <in_file> <out_file>
    char ic = 0;
    std::ifstream I(argv[1]);
    std::ofstream O(argv[2]);
    for(int i=0; i < 16; i++)
    {
       I.get(ic);
    }
    while ( I.get(ic) )
    {
       O << ic;
    }
    I.close();
    O.close();
    return 0;
}



this is the code I used on gamebible 2.

and I use std:: on purpose not to pollute the std namespace
but you can go ahead an put in this line right after the includes:

Code: Select all

using namespace std;

And then remove all occurences of "std::" in the code.

Edit: Thanks Stew for pointing out those errors, I must have miss it.
The 'char *argv[]' are indeed needed nomatter what OS you run.
Edit: Removed the EOFz (looked goofy).
Edit: clean up some spelling, and added a line.
Last edited by Katana Steel on Sun Apr 10, 2005 9:01 pm, edited 2 times in total.
-- as life grows older, I gain experience
Stewsburntmonkey
level5
level5
Posts: 11553
Joined: Wed Jul 10, 2002 7:44 pm
Location: Nashville, TN
Contact:

Postby Stewsburntmonkey » Tue May 04, 2004 2:19 pm

To compile for windows you will likely need to change the "char *argv" parts to "char *argv[]". :)

Return to “The Bonus Disk”

Who is online

Users browsing this forum: No registered users and 19 guests