Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old February 26th 11, 11:39 PM posted to alt.radio.scanner,rec.radio.scanner
external usenet poster
 
First recorded activity by RadioBanter: Jul 2006
Posts: 168
Default Pro96 Crack

On Feb 22, 7:11*pm, "[Anon] "
wrote:[i]
#include stdio.h
#include stdlib.h
#include string.h
#include unistd.h
char cd[]={0x55,0xB9,0xCC,0x59,0x95,0x13,0x39,0x87,0x70,0x6 6,0x8D,0xE5,0xAA,0x98,0x1C,0x32,0x5D,0xB1,0xC4,0x5 1,0x9D,0x1B,0x31,0x8F,0x78,0x6E,0x85,0xED,0xA2,0x9 0,0x14,0x3A,0x15,0xF9,0x8C,0x19,0xD5,0x53,0x79,0xC 7,0x30,0x26,0xCD,0xA5,0xEA,0xD8,0x5C,0x72,0x75,0x9 9,0xEC,0x79,0xB5,0x33,0x1D,0xA7,0x50,0x46,0xAD,0xC 5,0x8A,0xB8,0x3C,0x12};
char hd[]={0x55,0x69,0xA5,0x98,0xC3};
char db[4096];
char pb[128];
int pp,hflg,lrcerr,arcerr,frmerr;
#define PS 64
void pdump(char*p,int l){
* * * * int i;
* * * * for (i=0;il;i++){
* * * * * * * * fprintf(stderr,"%02x ",p[i]&0xff);
* * * * * * * * }
* * * * fprintf(stderr,"\n");
* * * * }
void xb(char*b1,char*b2,int l){
* * * * int i;
* * * * for(i=0;il;i++)b1[i]^=b2[i];
* * * * }
void xc(char*b,char c,int l){
* * * * int i;
* * * * for(i=0;il;i++)b[i]^=c;
* * * * }
char lrc(char*b,int l){
* * * * int i;
* * * * char lrc=0;
* * * * for(i=0;il;i++)lrc^=b[i];
* * * * return lrc;
* * * * }
int arc(char*b,int l){
* * * * int i;
* * * * int arc=0;
* * * * for(i=0;il;i++)arc+=(b[i]&0xff);
* * * * return arc;
* * * * }
void tp(char*p){
* * * * char lrc_;
* * * * int arc_;
* * * * lrc_=lrc(p,PS);
* * * * arc_=arc(p,PS);
* * * * xb(p,cd,PS);
* * * * xc(p,(lrc_^arc_)&0xff,PS);
* * * * fputc(0x55,stdout);
* * * * fwrite(p,PS,1,stdout);
* * * * fwrite(&arc_,2,1,stdout);
* * * * fputc(lrc_,stdout);
* * * * pp=0;
* * * * }
void rp(char*p){
* * * * if(0x55!=*p++)frmerr++;
* * * * xb(p,cd,PS);
* * * * xc(p,p[PS]^p[PS+2],PS);
* * * * if(p[PS+2]!=lrc(p,PS))lrcerr++;
* * * * if(*(unsigned short*)&p[PS]!=arc(p,PS))arcerr++;
* * * * fwrite(p,PS,1,stdout);
* * * * /*pdump(p-1,PS+4);*/
* * * * pp=0;
* * * * }
void tx(char c){
* * * * pb[pp++]=c;
* * * * if(pp=PS)tp(pb);
* * * * }
void rx(char c){
* * * * pb[pp++]=c;
* * * * if(pp=sizeof(pb))pp=sizeof(pb)-1;
* * * * if(!hflg){
* * * * * * * * if(!memcmp(hd,pb,sizeof(hd))){
* * * * * * * * * * * * hflg=1;
* * * * * * * * * * * * pp=0;
* * * * * * * * * * * * }
* * * * * * * * return;
* * * * * * * * }
* * * * if(pp=PS+4)rp(pb);
* * * * }
void dec(int argc,char**argv){
* * * * int i,ct;
* * * * for(;{
* * * * * * * * ct=read(0,db,sizeof(db));
* * * * * * * * if(ct1)break;
* * * * * * * * for(i=0;ict;i++)rx(db[i]);
* * * * * * * * }
* * * * }
void enc(int argc,char**argv){
* * * * int i,ct;
* * * * fwrite(hd,sizeof(hd),1,stdout);
* * * * hflg=1;
* * * * for(;{
* * * * * * * * ct=read(0,db,sizeof(db));
* * * * * * * * if(ct1)break;
* * * * * * * * for(i=0;ict;i++)tx(db);
* * * * * * * * }
* * * * }
int main(int argc,char**argv){
* * * * dec(argc,argv);
* * * * if(frmerr||arcerr||lrcerr||pp||!hflg)fprintf(stder r,"error:framing=%d,lrc=%d,arc=%d,leftover=%d,hdrf ail=%d\n",frmerr,lrcerr,arcerr,pp,(hflg)?0:1);
* * * * exit(0);
* * * * }

/* something like this
** stty -F /dev/ttyS0 clocal cs8 raw 19200 (pro96)
** stty -F /dev/ttyS0 clocal cs8 raw 4800 (pro95)
** dd if=/dev/ttyS0 | dec | dump [95|96]
** -then-
** radio clone procedure
** -or-
** win96 serial crossover cable write one way mode
**/
#include stdio.h
#include stdlib.h
#include string.h
#include unistd.h
int nb=10;
int nch;
int cpb;
char db[4];
int main(int argc,char**argv){
* * * * int b,c,i,ct,flg,frq;
* * * * if(argc!=2){
* * * * * * * * printf("usage: %s [95|96]\n",argv[0]);
* * * * * * * * exit(1);
* * * * * * * * }
* * * * if(!strcmp(argv[1],"95"))
* * * * * * * * nch=1000;
* * * * else if(!strcmp(argv[1],"96"))
* * * * * * * * nch=500;
* * * * else{
* * * * * * * * printf("usage: %s [95|96]\n",argv[0]);
* * * * * * * * exit(1);
* * * * * * * * }
* * * * cpb=nch/nb;
* * * * for(i=0;inch;i++){
* * * * * * * * ct=fread(db,1,4,stdin);
* * * * * * * * if(ct4)break;
* * * * * * * * flg=db[3];
* * * * * * * * db[3]=0;
* * * * * * * * frq=*(unsigned long int*)db;
* * * * * * * * if(frq==0x090909)continue;
* * * * * * * * frq*=25;
* * * * * * * * b=i/cpb;
* * * * * * * * c=i%cpb;
* * * * * * * * printf("M%03d..%s%s%s.%s * * %4d.%04d\n",
* * * * * * * * * * * * (b*100)+c,
* * * * * * * * * * * * (flg&0x04)?"A":".",
* * * * * * * * * * * * (flg&0x08)?"D":".",
* * * * * * * * * * * * (flg&0x10)?"L":".",
* * * * * * * * * * * * (flg&0x02)
* * * * * * * * * * * * * * * * ?((flg&0x01)?"ED":"MO")
* * * * * * * * * * * * * * * * (flg&0x01)?"FM":"AM"),
* * * * * * * * * * * * frq/100000,
* * * * * * * * * * * * (frq%100000)/10
* * * * * * * * );
* * * * * * * * }
* * * * exit(0);
* * * * }


What is the crack for your Ho?
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
RS Pro-95 vs Pro96 Marcus Caine III Scanner 1 November 19th 06 12:36 AM
RS PRO96 spider Scanner 1 February 8th 05 01:06 AM
PRO96 Mod Triciac1 Scanner 3 May 16th 04 06:48 AM
bc296d or pro96? Scott Ehrlich Scanner 3 May 11th 04 12:34 AM
Anyone get a PRO96 in Phoenix yet? noobie Scanner 0 September 12th 03 06:51 PM


All times are GMT +1. The time now is 12:59 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 RadioBanter.
The comments are property of their posters.
 

About Us

"It's about Radio"

 

Copyright © 2017