PDA

View Full Version : Programming Anyone?



java.util.Tokarev;
04-20-2004, 08:19 PM
you think there should be a discussion area just for programming??? e.g. java, visual basic, c++ and stuff. i think it would be really good, ppl could learn alot and help eachother out!! maybe in the future... ;)

Peerzy
04-20-2004, 09:00 PM
Originally posted by java.util.Tokarev;@20 April 2004 - 20:19
you think there should be a discussion area just for programming??? e.g. java, visual basic, c++ and stuff. i think it would be really good, ppl could learn alot and help eachother out!! maybe in the future... ;)
Programming is already covered in Internetworld and Software world and i don't think there would be enough interest to make its own World. There don't seem to be many Internet Programming posts that Hoxar and the gang don't handle.

:)

h1
04-20-2004, 09:56 PM
The answer is no.

And peerzyboy... who's this Hoxar guy? :rolleyes:

shn
04-21-2004, 10:26 PM
Originally posted by haxor41789@20 April 2004 - 15:56
The answer is no.

And peerzyboy... who's this Hoxar guy? :rolleyes:
No because why?

NO ONE HERE CAN CODE

Stick with web development :)

4play
04-21-2004, 10:32 PM
Originally posted by shn+21 April 2004 - 22:26--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (shn @ 21 April 2004 - 22:26)</td></tr><tr><td id='QUOTE'> <!--QuoteBegin-haxor41789@20 April 2004 - 15:56
The answer is no.

And peerzyboy... who&#39;s this Hoxar guy? :rolleyes:
No because why?

NO ONE HERE CAN CODE

Stick with web development :) [/b][/quote]
speak for yourself shn im a dab hand at coding "hello world" programs. :rolleyes:

a few programming questions have been asked but i have never really seen any input from members on them. the last one i saw was answered by error403.

shn
04-21-2004, 10:42 PM
Originally posted by 4play+21 April 2004 - 16:32--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (4play @ 21 April 2004 - 16:32)</td></tr><tr><td id='QUOTE'>
Originally posted by shn@21 April 2004 - 22:26
<!--QuoteBegin-haxor41789@20 April 2004 - 15:56
The answer is no.

And peerzyboy... who&#39;s this Hoxar guy? :rolleyes:
No because why?

NO ONE HERE CAN CODE

Stick with web development :)
speak for yourself shn im a dab hand at coding "hello world" programs. :rolleyes:

a few programming questions have been asked but i have never really seen any input from members on them. the last one i saw was answered by error403. [/b][/quote]
Yeah probably java or something. :lol:

The real coding is in c, and c++ IMO. :)

leftism
04-21-2004, 10:52 PM
Originally posted by shn
The real coding is in c, and c++ IMO.&nbsp;

kids stuff, shellcode is what separates the men/women from the boys/girls :P

4play
04-21-2004, 11:05 PM
Originally posted by leftism+21 April 2004 - 22:52--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (leftism @ 21 April 2004 - 22:52)</td></tr><tr><td id='QUOTE'> <!--QuoteBegin-shn
The real coding is in c, and c++ IMO.&nbsp;

kids stuff, shellcode is what separates the men/women from the boys/girls :P [/b][/quote]
shellcode :P

I program with 2 small magnatised needles and a steady hand. :01:

Marius24
04-21-2004, 11:14 PM
Originally posted by 4play+21 April 2004 - 23:05--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (4play @ 21 April 2004 - 23:05)</td></tr><tr><td id='QUOTE'>
Originally posted by leftism@21 April 2004 - 22:52
<!--QuoteBegin-shn
The real coding is in c, and c++ IMO.&nbsp;

kids stuff, shellcode is what separates the men/women from the boys/girls :P
shellcode :P

I program with 2 small magnatised needles and a steady hand. :01: [/b][/quote]
now, that is new age knitting :P


good old visual basic programing rock :D i used to be a pro at the good old popping out the cd tray and all that shit :lol:

h1
04-22-2004, 02:46 AM
:rolleyes: VB?

01001001 01110100 00100111 01110011 00100000 01100001 01101100 01101100 00100000 01100001 01100010 01101111 01110101 01110100 00100000 01101101 01100001 01100011 01101000 01101001 01101110 01100101 00100000 01101100 01100001 01101110 01100111 01110101 01100001 01100111 01100101 00100001 :lol:

http://www.antionline.net/tools-and-toys/encrypt-text

Entity101
04-22-2004, 06:53 AM
The real coding is in c, and c++ IMO.
Nah, assembler all the way :P

shn
04-22-2004, 07:02 AM
Originally posted by Error403@22 April 2004 - 00:53

The real coding is in c, and c++ IMO.
Nah, assembler all the way :P
Assembly?

Go for it. ;)

ck-uk
04-22-2004, 07:07 AM
Originally posted by Error403@22 April 2004 - 06:53

The real coding is in c, and c++ IMO.
Nah, assembler all the way :P
feelin ok m8....

cos i aint.Whooping headache....terrible m8..honestly

Perry
04-22-2004, 07:08 AM
when u try andf connect to kazaa lite why does it say pleaser verify email adress?????like where do u verify it

thewizeard
04-22-2004, 01:09 PM
It&#39;s a little off-topic, but go to the email address you registered with, you should find a message from this board, then click on the link.... :)

vivitron 15
04-22-2004, 03:55 PM
i cant believe noone else picked up on how many posts this person has before requesting worlds... :ph34r: :ph34r: a member in disguise perhaps mods?

Marius24
04-22-2004, 04:02 PM
Originally posted by vivitron 15@22 April 2004 - 15:55
i cant believe noone else picked up on how many posts this person has before requesting worlds... :ph34r: :ph34r: a member in disguise perhaps mods?
proberly, it isn&#39;t that much of a bad idea though :)

java.util.Tokarev;
04-22-2004, 10:00 PM
yea, i knew some ppl in this forum would like the idea of a programming board. im sure some pretty good apps could be made. i know i have only made a couple of posts but ideas are ideas, thought i should share. what is the most popular programming language that u lot use by the way?

i know java and visual basic and some assembly language. made an encryption/decryption program with assembly language before, based on the vignere cypher (not hard trust me, only about a page of code) but that was a university assignment.

anyway...back to the exam revision..,

h1
04-22-2004, 10:27 PM
Very few people here code.

Here&#39;s a little "encryption" prog I just made BTW...
#include &#60;stdio.h&#62;
#include &#60;sys&#092;stat.h&#62; &nbsp;// fucking slashes just HAVE to go the wrong way
#include &#60;sys&#092;types.h&#62;
#include &#60;fcntl.h&#62;
// #include &#60;unistd.h&#62; // dos doesn&#39;t use this shit
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// uncomment all the includes below this if not dos
#include &#60;io.h&#62;
#include &#60;string.h&#62;
#include &#60;stdlib.h&#62;
#define DEBUG 0
#define VERSION &#34;1.0&#34;
int dc&#40;char *opt,char *ifile,char *ofile,int rwsize,int keys,char *keystr&#41;;
int main&#40;int argc,char *argv&#91;&#93;&#41;
{
&nbsp; int status;
&nbsp; int keys;
&nbsp; printf&#40;&#34;This is haxor41789&#39;s crappy little encryption program v%s &#40;3/19/01&#41;.&#092;n&#092;n&#34;,VERSION&#41;;
&nbsp; if&#40;argc&#33;=6&#41;
&nbsp; {
&nbsp; &nbsp; &nbsp;printf&#40;&#34;Usage&#58; %s &#91;e|d&#93; infile outfile rwsize key-string&#092;n&#34;,argv&#91;0&#93;&#41;;
&nbsp; &nbsp; &nbsp;return -1;
&nbsp; }
&nbsp; keys=&#40;&#40;strlen&#40;argv&#91;5&#93;&#41;+1&#41;/4&#41;;
&nbsp; if&#40;keys&#62;5000&#41;
&nbsp; {
&nbsp; &nbsp; &nbsp;printf&#40;&#34;More than 5000 keys are unsupported in the DOS version... how surprising.&#092;n&#34;&#41;;
&nbsp; &nbsp; &nbsp;return -5;
&nbsp; }
&nbsp; if&#40;DEBUG==1&#41;
&nbsp; {
&nbsp; &nbsp; &nbsp;printf&#40;&#34;Keys found&#58; %i&#092;n&#34;,keys&#41;;
&nbsp; }
&nbsp; if&#40;atoi&#40;argv&#91;4&#93;&#41;&#60;2&#41;
&nbsp; {
&nbsp; &nbsp; &nbsp;printf&#40;&#34;Warning&#58; rwsize too small, setting to minimum of 2 bytes.&#092;n&#34;&#41;;
&nbsp; &nbsp; &nbsp;strcpy&#40;argv&#91;4&#93;,&#34;2&#34;&#41;;
&nbsp; }
&nbsp; else if&#40;atoi&#40;argv&#91;4&#93;&#41;&#62;1024&#41;
&nbsp; {
&nbsp; &nbsp; &nbsp;printf&#40;&#34;rwsizes of greater than 1024 bytes are unsupported in the DOS version, setting to max of 1024.&#092;n&#34;&#41;;
&nbsp; &nbsp; &nbsp;strcpy&#40;argv&#91;4&#93;,&#34;1024&#34;&#41;;
&nbsp; &nbsp; &nbsp;printf&#40;&#34;Attempting to encode %s with %i keys...&#092;n&#34;,argv&#91;2&#93;,keys&#41;;
&nbsp; &nbsp; &nbsp;status=dc&#40;argv&#91;1&#93;,argv&#91;2&#93;,argv&#91;3&#93;,atoi&#40;argv&#91;4&#93;&#41;,keys,argv&#91;5&#93;&#41;;
&nbsp; &nbsp; &nbsp;if&#40;status == 0&#41;
&nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; printf&#40;&#34;&#91;%s&#93; %s-&#62;%s &#91;ok&#93;&#092;n&#34;,argv&#91;1&#93;,argv&#91;2&#93;,argv&#91;3&#93;&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; return 0;
&nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp;else if&#40;status==-2&#41;
&nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; printf&#40;&#34;Can&#39;t open infile %s.&#092;n&#34;,argv&#91;2&#93;&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; return -2;
&nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp;else if&#40;status==-3&#41;
&nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; printf&#40;&#34;Can&#39;t open outfile %s.&#092;n&#34;,argv&#91;3&#93;&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; return -3;
&nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp;else
&nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; printf&#40;&#34;Unknown error code, exiting.&#092;n&#34;&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; return -4;
&nbsp; &nbsp; &nbsp;}
}
int dc&#40;char *opt,char *ifile,char *ofile,int rwsize,int keys,char *keystr&#41;
{
&nbsp; char *keyptr;
&nbsp; int k,x,i=1,fiptr,foptr;
&nbsp; char indata&#91;1024&#93;,outdata&#91;1024&#93;;
&nbsp; int key_array&#91;5000&#93;,rrs=rwsize-1;
&nbsp; unsigned char c;
&nbsp; if&#40;DEBUG==1&#41;
&nbsp; {
&nbsp; &nbsp; &nbsp;printf&#40;&#34;RRS&#58; %i&#092;n&#34;,rrs&#41;;
&nbsp; }
&nbsp; fiptr=_open&#40;ifile,_O_RDONLY|_O_BINARY&#41;;
&nbsp; if&#40;fiptr==-1&#41;
&nbsp; {
&nbsp; &nbsp; &nbsp;return -2;
&nbsp; }
&nbsp; foptr=_open&#40;ofile,_O_CREAT|_O_WRONLY|_O_BINARY,_S_IWRITE&#41;;
&nbsp; if&#40;foptr==-1&#41;
&nbsp; {
&nbsp; &nbsp; &nbsp;return -3;
&nbsp; }
&nbsp; keyptr=strtok&#40;keystr,&#34;-&#34;&#41;;
&nbsp; for&#40;k=0;k&#60;keys;k++&#41;
&nbsp; {
&nbsp; &nbsp; &nbsp;key_array&#91;k&#93;=atoi&#40;keyptr&#41;;
&nbsp; &nbsp; &nbsp;if&#40;DEBUG==1&#41;
&nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; printf&#40;&#34;Assigning %i to key_array&#91;%i&#93;&#092;n&#34;,key_array&#91;k&#93;,k&#41;;
&nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp;keyptr=strtok&#40;NULL,&#34;-&#34;&#41;;
&nbsp; }
&nbsp; k=0;
&nbsp; while&#40;i&#41;
&nbsp; {
&nbsp; &nbsp; &nbsp;memset&#40;indata,0,rwsize&#41;;
&nbsp; &nbsp; &nbsp;memset&#40;outdata,0,rwsize&#41;;
&nbsp; &nbsp; &nbsp;i=_read&#40;fiptr,indata,rrs&#41;;
&nbsp; &nbsp; &nbsp;if&#40;i==0&#41;
&nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; break;
&nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp;indata&#91;i+1&#93;=&#39;&#092;0&#39;;
&nbsp; &nbsp; &nbsp;if&#40;DEBUG==1&#41;
&nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; printf&#40;&#34;Read %i bytes&#092;n&#34;,i&#41;;
&nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp;if&#40;DEBUG==1&#41;
&nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; printf&#40;&#34;Indata&#58; %s&#092;n&#34;,indata&#41;;
&nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp;for&#40;x=0;x&#60;i;x++&#41;
&nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; c=indata&#91;x&#93;;
&nbsp; &nbsp; &nbsp; &nbsp; if&#40;strncmp&#40;opt,&#34;e&#34;,1&#41;==0&#41;
&nbsp; &nbsp; &nbsp; &nbsp; {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if&#40;k&#62;keys-1&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; k=0;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if&#40;DEBUG==1&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; printf&#40;&#34;ENC&#40;B&#41;&#58; c=%i k=%i&#092;n&#34;,c,k&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;c+=key_array&#91;k&#93;;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if&#40;DEBUG==1&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; printf&#40;&#34;ENC&#40;A&#41;&#58; c=%i k=%i key_array&#91;%i&#93; = %i&#092;n&#34;,c,k,k,key_array&#91;k&#93;&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;k++;
&nbsp; &nbsp; &nbsp; &nbsp; }
&nbsp; &nbsp; &nbsp; &nbsp; else if&#40;strncmp&#40;opt,&#34;d&#34;,1&#41;==0&#41;
&nbsp; &nbsp; &nbsp; &nbsp; {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if&#40;k&#62;keys-1&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; k=0;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if&#40;DEBUG==1&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; printf&#40;&#34;DEC&#40;B&#41;&#58; c=%i k=%i&#092;n&#34;,c,k&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;c-=key_array&#91;k&#93;;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if&#40;DEBUG==1&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; printf&#40;&#34;DEC&#40;A&#41;&#58; c=%i k=%i key_array&#91;%i&#93; = %i&#092;n&#34;,c,k,k,key_array&#91;k&#93;&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;k++;
&nbsp; &nbsp; &nbsp; &nbsp; }
&nbsp; &nbsp; &nbsp; &nbsp; outdata&#91;x&#93;=c;
&nbsp; &nbsp; &nbsp; &nbsp; if&#40;DEBUG==1&#41;
&nbsp; &nbsp; &nbsp; &nbsp; {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;printf&#40;&#34;Outdata&#58; %s&#092;n&#34;,outdata&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; }
&nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp;_write&#40;foptr,outdata,i&#41;;
&nbsp; }
&nbsp; _close&#40;fiptr&#41;;
&nbsp; _close&#40;foptr&#41;;
&nbsp; return 0;
}

[B][O][T]
04-22-2004, 10:34 PM
Or did You just copy the code from here (http://www.darkaxis.com/devel/c/security/dc/dc.c) or here (http://www.darkaxis.com/devel/c/security/dc/dcdos.c) btw look @ the date 11/1/98

Fancy explain?

EDIT: pwned :)

BOT

Marius24
04-22-2004, 10:34 PM
Originally posted by haxor41789@22 April 2004 - 22:27
Very few people here code.

Here&#39;s a little "encryption" prog I just made BTW...
#include &#60;stdio.h&#62;
#include &#60;sys&#092;stat.h&#62; &nbsp;// fucking slashes just HAVE to go the wrong way
#include &#60;sys&#092;types.h&#62;
#include &#60;fcntl.h&#62;
// #include &#60;unistd.h&#62; // dos doesn&#39;t use this shit
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// uncomment all the includes below this if not dos
#include &#60;io.h&#62;
#include &#60;string.h&#62;
#include &#60;stdlib.h&#62;
#define DEBUG 0
#define VERSION &#34;1.0&#34;
int dc&#40;char *opt,char *ifile,char *ofile,int rwsize,int keys,char *keystr&#41;;
int main&#40;int argc,char *argv&#91;&#93;&#41;
{
&nbsp; int status;
&nbsp; int keys;
&nbsp; printf&#40;&#34;This is haxor41789&#39;s crappy little encryption program v%s.&#092;n&#092;n&#34;,VERSION&#41;;
&nbsp; if&#40;argc&#33;=6&#41;
&nbsp; {
&nbsp; &nbsp; &nbsp;printf&#40;&#34;Usage&#58; %s &#91;e|d&#93; infile outfile rwsize key-string&#092;n&#34;,argv&#91;0&#93;&#41;;
&nbsp; &nbsp; &nbsp;return -1;
&nbsp; }
&nbsp; keys=&#40;&#40;strlen&#40;argv&#91;5&#93;&#41;+1&#41;/4&#41;;
&nbsp; if&#40;keys&#62;5000&#41;
&nbsp; {
&nbsp; &nbsp; &nbsp;printf&#40;&#34;More than 5000 keys are unsupported in the DOS version... how surprising.&#092;n&#34;&#41;;
&nbsp; &nbsp; &nbsp;return -5;
&nbsp; }
&nbsp; if&#40;DEBUG==1&#41;
&nbsp; {
&nbsp; &nbsp; &nbsp;printf&#40;&#34;Keys found&#58; %i&#092;n&#34;,keys&#41;;
&nbsp; }
&nbsp; if&#40;atoi&#40;argv&#91;4&#93;&#41;&#60;2&#41;
&nbsp; {
&nbsp; &nbsp; &nbsp;printf&#40;&#34;Warning&#58; rwsize too small, setting to minimum of 2 bytes.&#092;n&#34;&#41;;
&nbsp; &nbsp; &nbsp;strcpy&#40;argv&#91;4&#93;,&#34;2&#34;&#41;;
&nbsp; }
&nbsp; else if&#40;atoi&#40;argv&#91;4&#93;&#41;&#62;1024&#41;
&nbsp; {
&nbsp; &nbsp; &nbsp;printf&#40;&#34;rwsizes of greater than 1024 bytes are unsupported in the DOS version, setting to max of 1024.&#092;n&#34;&#41;;
&nbsp; &nbsp; &nbsp;strcpy&#40;argv&#91;4&#93;,&#34;1024&#34;&#41;;
&nbsp; &nbsp; &nbsp;printf&#40;&#34;Attempting to encode %s with %i keys...&#092;n&#34;,argv&#91;2&#93;,keys&#41;;
&nbsp; &nbsp; &nbsp;status=dc&#40;argv&#91;1&#93;,argv&#91;2&#93;,argv&#91;3&#93;,atoi&#40;argv&#91;4&#93;&#41;,keys,argv&#91;5&#93;&#41;;
&nbsp; &nbsp; &nbsp;if&#40;status == 0&#41;
&nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; printf&#40;&#34;&#91;%s&#93; %s-&#62;%s &#91;ok&#93;&#092;n&#34;,argv&#91;1&#93;,argv&#91;2&#93;,argv&#91;3&#93;&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; return 0;
&nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp;else if&#40;status==-2&#41;
&nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; printf&#40;&#34;Can&#39;t open infile %s.&#092;n&#34;,argv&#91;2&#93;&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; return -2;
&nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp;else if&#40;status==-3&#41;
&nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; printf&#40;&#34;Can&#39;t open outfile %s.&#092;n&#34;,argv&#91;3&#93;&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; return -3;
&nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp;else
&nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; printf&#40;&#34;Unknown error code, exiting.&#092;n&#34;&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; return -4;
&nbsp; &nbsp; &nbsp;}
}
int dc&#40;char *opt,char *ifile,char *ofile,int rwsize,int keys,char *keystr&#41;
{
&nbsp; char *keyptr;
&nbsp; int k,x,i=1,fiptr,foptr;
&nbsp; char indata&#91;1024&#93;,outdata&#91;1024&#93;;
&nbsp; int key_array&#91;5000&#93;,rrs=rwsize-1;
&nbsp; unsigned char c;
&nbsp; if&#40;DEBUG==1&#41;
&nbsp; {
&nbsp; &nbsp; &nbsp;printf&#40;&#34;RRS&#58; %i&#092;n&#34;,rrs&#41;;
&nbsp; }
&nbsp; fiptr=_open&#40;ifile,_O_RDONLY|_O_BINARY&#41;;
&nbsp; if&#40;fiptr==-1&#41;
&nbsp; {
&nbsp; &nbsp; &nbsp;return -2;
&nbsp; }
&nbsp; foptr=_open&#40;ofile,_O_CREAT|_O_WRONLY|_O_BINARY,_S_IWRITE&#41;;
&nbsp; if&#40;foptr==-1&#41;
&nbsp; {
&nbsp; &nbsp; &nbsp;return -3;
&nbsp; }
&nbsp; keyptr=strtok&#40;keystr,&#34;-&#34;&#41;;
&nbsp; for&#40;k=0;k&#60;keys;k++&#41;
&nbsp; {
&nbsp; &nbsp; &nbsp;key_array&#91;k&#93;=atoi&#40;keyptr&#41;;
&nbsp; &nbsp; &nbsp;if&#40;DEBUG==1&#41;
&nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; printf&#40;&#34;Assigning %i to key_array&#91;%i&#93;&#092;n&#34;,key_array&#91;k&#93;,k&#41;;
&nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp;keyptr=strtok&#40;NULL,&#34;-&#34;&#41;;
&nbsp; }
&nbsp; k=0;
&nbsp; while&#40;i&#41;
&nbsp; {
&nbsp; &nbsp; &nbsp;memset&#40;indata,0,rwsize&#41;;
&nbsp; &nbsp; &nbsp;memset&#40;outdata,0,rwsize&#41;;
&nbsp; &nbsp; &nbsp;i=_read&#40;fiptr,indata,rrs&#41;;
&nbsp; &nbsp; &nbsp;if&#40;i==0&#41;
&nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; break;
&nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp;indata&#91;i+1&#93;=&#39;&#092;0&#39;;
&nbsp; &nbsp; &nbsp;if&#40;DEBUG==1&#41;
&nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; printf&#40;&#34;Read %i bytes&#092;n&#34;,i&#41;;
&nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp;if&#40;DEBUG==1&#41;
&nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; printf&#40;&#34;Indata&#58; %s&#092;n&#34;,indata&#41;;
&nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp;for&#40;x=0;x&#60;i;x++&#41;
&nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; c=indata&#91;x&#93;;
&nbsp; &nbsp; &nbsp; &nbsp; if&#40;strncmp&#40;opt,&#34;e&#34;,1&#41;==0&#41;
&nbsp; &nbsp; &nbsp; &nbsp; {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if&#40;k&#62;keys-1&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; k=0;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if&#40;DEBUG==1&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; printf&#40;&#34;ENC&#40;B&#41;&#58; c=%i k=%i&#092;n&#34;,c,k&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;c+=key_array&#91;k&#93;;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if&#40;DEBUG==1&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; printf&#40;&#34;ENC&#40;A&#41;&#58; c=%i k=%i key_array&#91;%i&#93; = %i&#092;n&#34;,c,k,k,key_array&#91;k&#93;&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;k++;
&nbsp; &nbsp; &nbsp; &nbsp; }
&nbsp; &nbsp; &nbsp; &nbsp; else if&#40;strncmp&#40;opt,&#34;d&#34;,1&#41;==0&#41;
&nbsp; &nbsp; &nbsp; &nbsp; {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if&#40;k&#62;keys-1&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; k=0;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if&#40;DEBUG==1&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; printf&#40;&#34;DEC&#40;B&#41;&#58; c=%i k=%i&#092;n&#34;,c,k&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;c-=key_array&#91;k&#93;;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if&#40;DEBUG==1&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; printf&#40;&#34;DEC&#40;A&#41;&#58; c=%i k=%i key_array&#91;%i&#93; = %i&#092;n&#34;,c,k,k,key_array&#91;k&#93;&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;k++;
&nbsp; &nbsp; &nbsp; &nbsp; }
&nbsp; &nbsp; &nbsp; &nbsp; outdata&#91;x&#93;=c;
&nbsp; &nbsp; &nbsp; &nbsp; if&#40;DEBUG==1&#41;
&nbsp; &nbsp; &nbsp; &nbsp; {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;printf&#40;&#34;Outdata&#58; %s&#092;n&#34;,outdata&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; }
&nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp;_write&#40;foptr,outdata,i&#41;;
&nbsp; }
&nbsp; _close&#40;fiptr&#41;;
&nbsp; _close&#40;foptr&#41;;
&nbsp; return 0;
}
i can pick out the odd line of code but overall i have no idea what that does :rolleyes:

h1
04-22-2004, 11:18 PM
:lol: That&#39;s where I found it. :P

The stamp on my end is March 2001, and I was an admitted fucking plagarist back then. :unsure:

People who know me know I fucking hate plagarists, I don&#39;t do it anymore now that I know how much work it is.

BTW BOT... you&#39;re stealing my bandwidth and I think that image was posted here (http://www.filesharingtalk.com/index.php?showtopic=109977&view=findpost&p=986390). <_<

shn
04-23-2004, 07:05 AM
Originally posted by &#091;B
[O][T],22 April 2004 - 16:34]Or did You just copy the code from here (http://www.darkaxis.com/devel/c/security/dc/dc.c) or here (http://www.darkaxis.com/devel/c/security/dc/dcdos.c) btw look @ the date 11/1/98

Fancy explain?

EDIT: pwned :)

BOT
haxor has to deal with his disappointment. So why don&#39;t you be a good sport and leave the pic that you ripped from his site on your post?

Why do you always edit your post when you don&#39;t want to look normal like the rest of us?
And how much do YOU know about programming bot?
I doubt your in any place to look any higher than the former. :)

[B][O][T]
04-23-2004, 08:37 AM
I didnt know He was hosting the pic, when He said He was hosting it, I removed the pic.
Also You have no idea how often I edit My own posts, I add the legend when I edit other members posts (very rare according to Admin CP), but didnt care to add it when I was testing the word filter in one of haxor&#39;s advertising posts, becouse I didnt change anything in His post. I just clicked edit and submit 1 second later. What harm can that do?

And sorry I dont have any interest in programming :)

BOT

java.util.Tokarev;
04-23-2004, 12:47 PM
ur right dude, not that many programmers here (guessing). i aint a pro at it myself, i would consider myself as an intermediate (is that how u spell it??lol...i&#39;m half asleep). i was thinking, how comes there are so many programmers in the world, that the market is saturated, when everyone i know hates programming (except for one guy). maybe everyone is doing plagarism&#33;&#33; i have to admit everyone steals a bit of code from somewhere. as long as u understand the damn thing its ok. in my university one of my mates just copied the whole programming project worth(30%) from some dude...well he&#39;s gonna f*** up on the exam..lol.

....back to the revision...

h1
04-23-2004, 07:48 PM
BOT... the word filter still isn&#39;t working.

And there&#39;s really no way you can block it.

If you add hex into the URLs (%hex value), there are 1.333735776850284124449081472843780*10^33 possible values for klitetools dot com, 6.6009724686219550843768321818372*10^82 vales for ktechsupport.clicdev.com, 1.048576*10^30 values for 203.22.204.86, and 2.4356848165022712132477606520105*10^91 values for the secret URL.

That&#39;s just hex. It goes on forever.

SeK612
04-23-2004, 08:18 PM
The word filters are just there as a deterrent. You can get around them by doing stuff like placing spaces between the words are there to encourage people not to do things (in this case spam). I&#39;m sure the admins / mods will sort out any posts which people try to get around the filters.

h1
04-23-2004, 09:36 PM
It&#39;s not spam though. It&#39;s now illegal to post a DDL to a freeware program, or to the homepage of the new client, or to point people to a page which just happens to have all of the security-related tools they need...

Etc.

[B][O][T]
04-23-2004, 10:08 PM
Haxor, thanks for the information, but if You think We will do anything to block Your site in the word filter You&#39;re wrong. For Us it&#39;s all ok now :)
And I&#39;ve to agree with SeK612 :)

BOT

brotherdoobie
04-25-2004, 02:26 AM
Originally posted by Error403@22 April 2004 - 01:53

The real coding is in c, and c++ IMO.
Nah, assembler all the way :P
Small is beautiful ;)

Peace brotherdoobie