home *** CD-ROM | disk | FTP | other *** search
/ The Unsorted BBS Collection / thegreatunsorted.tar / thegreatunsorted / hacking / phreak_utils_pc / PC / SCANNER.CFG < prev    next >
Encoding:
Text File  |  1993-05-07  |  12.9 KB  |  344 lines

  1. |
  2. | Scanner V1.95  Amiga Config File
  3. | --------------------------------            by /Y\r.Great & Mr. Commodore
  4. |                                                            (c) 05/10/1993
  5. |
  6. | Example configuration file with lots of extra information. Scanner
  7. | will automatically search for and read the  "Scanner.cfg"  file if
  8. | present in the  current directory.  You can specify any  file with
  9. | the -C option like this:
  10. |
  11. ;     Scanner DIAL -CC:\MYDIR\MYSCAN.CFG
  12. |
  13. | In the case of all these settings, if you don't specify one, the
  14. | program will use the defaults metioned for each one.
  15. |
  16. | PS! The order in which these commands are listed doesn't matter.
  17. |     All text lines starting with '|' are ignored. Everything after
  18. |     trimed off. You CAN also put remarks after the settings..
  19. |     Upper- or lowercase letters can be used thruout the settings.
  20.  
  21.  
  22. |--------------------------------------------------------------------------
  23. | Modem settings for initialization. Default "ATZ".
  24.  
  25. MODEMINIT = ATZ
  26.  
  27.  
  28. |--------------------------------------------------------------------------
  29. | Optional second modem setting sent after the above one. Default blank.
  30.  
  31. MODEMSTR2 = ATX6
  32.  
  33.  
  34. |--------------------------------------------------------------------------
  35. | Initialize serial port baud rate. Default 19200.
  36.  
  37. BAUDRATE = 19200
  38.  
  39.  
  40. |--------------------------------------------------------------------------
  41. | COM port to use. Default is 1. Change to 2 for COM2, etc.. up to 4.
  42. | It uses default port addresses: COM1 = 03F8 (IRQ4), COM2 = 02F8 (IRQ3),
  43. | COM3 = 03E8 (IRQ4), COM4 = 02E8 (IRQ3).  Get back to me if you need
  44. | variable address' or IRQ's.
  45.  
  46. UNIT = 2
  47.  
  48.  
  49. |--------------------------------------------------------------------------
  50. | For each scan entry in the logfile, you can specify how you want the
  51. | date format to be:
  52. |                      FULL = Sat Feb 27 04:20:28 1993  (Default)
  53. |                     SHORT = 04:20:28
  54.  
  55. LOGDATE = FULL
  56.  
  57.  
  58. |--------------------------------------------------------------------------
  59. | Path and filename for text file to log activity. Default is "Scanner.log"
  60. | This will be the main log file.
  61.  
  62. LOGFILE = SCANNER.LOG
  63.  
  64.  
  65. |--------------------------------------------------------------------------
  66. | Modem result codes. Enter here the result codes your modem uses, the pro-
  67. | gram will use these result codes to determine the status of the scan.
  68. |
  69. | After each result code, you can place a full path and filename of a log-
  70. | file, after the '>' character. In which all accurances of the result code,
  71. | with the number and time, will be placed for later detailed overview.
  72. |
  73. | If you supply the '> MAINLOG' keyword, it will also be placed in the main
  74. | logfile. Specified above in the LOGFILE config line.
  75. |
  76. | If no logfile is supplied it won't be written anywhere, except on screen.
  77. | Up to ten (10) different logfiles can be specified.
  78.  
  79. OK          = OK          >OK.LOG >MAINLOG
  80. CONNECT     = CONNECT     >CONNECT.LOG >MAINLOG
  81. NO CARRIER  = NO CARRIER  >NOCARRIR.LOG >MAINLOG
  82. ERROR       = ERROR       >ERROR.LOG >MAINLOG
  83. NO DIAL TONE= NO DIAL TONE>NODIALTN.LOG >MAINLOG
  84. BUSY        = BUSY        >BUSY.LOG >MAINLOG
  85. RINGING     = RINGING     >RINGING.LOG >MAINLOG
  86. VOICE       = VOICE       >VOICE.LOG >MAINLOG
  87. RING        = RING        >RING.LOG >MAINLOG
  88. NO ANSWER   = NO ANSWER   >NOANSWER.LOG >MAINLOG
  89.  
  90.  
  91. |--------------------------------------------------------------------------
  92. | Path and filename for a text file to log timeout activity. And/or appended
  93. | to the main log file, like the above result code logs.
  94.  
  95. TIMEOUTLOG = TIMEOUT.LOG >MAINLOG
  96.  
  97.  
  98. |--------------------------------------------------------------------------
  99. | Prefix dailing string, usually something like ATDT950. Default blank.
  100.  
  101. PREFIX = ATDT950
  102.  
  103.  
  104. |--------------------------------------------------------------------------
  105. | String to put after the number. Default blank.
  106. | USRobotics modems can detect second dialtones, by using "W;H". It will
  107. | return the OK result code, if it found one and log this in the log file.
  108. | For scanning for CARRIERs don't use any suffix string. The program will
  109. | automatically log the carrier string and drop carrier.
  110. |
  111. | Info for USR-DS 16.8 users: Mr. Commodore found a fucking bug in his 16.8,
  112. | that it can't detect VOICE results, only in FAX mode. This has been
  113. | comfirmed by USR, and they have made a new Supervisor ROM available! Also
  114. | if you get alot of false NO DAILTONE errors, don't use ATX6.
  115.  
  116. SUFFIX = W;H
  117.  
  118.  
  119. |--------------------------------------------------------------------------
  120. | Timeout delay after the number is dialed. Default 20 seconds.
  121.  
  122. WAITDELAY = 33
  123.  
  124.  
  125. |--------------------------------------------------------------------------
  126. | Dailing delay in between calls. Default 5 seconds.
  127.  
  128. DAILDELAY = 3
  129.  
  130.  
  131. |--------------------------------------------------------------------------
  132. | Maximum number of tries when initializing modem to wait for "OK" string.
  133. | Default is 2 retries. Each try waits around 3 seconds querying the modem.
  134. |
  135. | Usually no need to mess around with this setting, but just in case, it's
  136. | here..
  137. OKRETRIES = 2
  138.  
  139.  
  140. |--------------------------------------------------------------------------
  141. | Path and filename to exchange data file. Default is "Scanner.dat".
  142. |
  143. | Starting in V1.95: Sorry, older Scanner.dat files are NOT compatible.
  144.  
  145. TABLEFILE = SCANNER.DAT
  146.  
  147.  
  148. |--------------------------------------------------------------------------
  149. | Start and ending offsets in data table to dial. Default is 0 and 9999.
  150. | If the table is created sequentially, with the SEQ command, you can simply
  151. | use these offsets to directly specify which number to dial.
  152.  
  153. START = 0000
  154. END = 9999
  155.  
  156.  
  157. |--------------------------------------------------------------------------
  158. | Range in which to create the exchange data file. Default 0 and 9999.
  159. | So you can randomly scan a certain range of exchanges. Very useful if you
  160. | f.ex. only want to do exchanges 1000 to 2000, in a random order.
  161. | TABLEEND defaults to the largest possible number in table (see EXCHDIGITS
  162. | below) if NOT specified/present.
  163.  
  164. TABLESTART = 0000
  165. TABLEEND = 9999
  166.  
  167. | So for example if you wanted to make a random exchange file with exchanges
  168. | 3000-5000, but right now only wanted to scan exchanges 3500-4000, your
  169. | settings should be:
  170. |
  171. |    TABLESTART = 3000
  172. |    TABLEEND   = 5000
  173. |    START      = 500
  174. |    END        = 1000
  175.  
  176.  
  177. |--------------------------------------------------------------------------
  178. | Max Ring counter before timeout. Default 3.
  179. | If 0 it will disable the ring counter feature.
  180.  
  181. MAXRINGS = 3
  182.  
  183.  
  184. |--------------------------------------------------------------------------
  185. | Number of digits in exchange used. Standard US default is 4. Certain
  186. | amount of space is needed for the number of digits used. Technically each
  187. | exchange number takes up 4 bytes, as we use longwords, so:
  188. |
  189. | Digits  Highest Number     Datafile Size  Comment
  190. | ------  --------------   ---------------  -------------------------------
  191. |      1               9   (in bytes)   48  To hack around the office?
  192. |      2              99               408
  193. |      3             999             4.008
  194. |      4            9999            40.008  Regular US exchange.
  195. |      5           99999           400.008  Most exchanges I would think..
  196. |      6          999999         4.000.008  Yep, 4 Megs! Init takes 30 mins!
  197. |      7         9999999        40.000.008  Entire US areacode! 1-800-???-????
  198. |      8        99999999       400.000.008
  199. |      9       999999999     4.000.000.008  4 Gigabytes..hmm..
  200. |
  201. | As a 32 bit longword can only hold up to no. 4294967296, we cannot do a 10
  202. | digit (4 Tetrabytes anyone??) table and scan the entire US. Sorry guys.. :)
  203. | - We could later either use 'double' long word variables, or use a linear
  204. | congruential random generator to get totally rid of the table file!!
  205. |
  206. | Currently the program randomizes the table in memory, so you can maximum do
  207. | a 6 digit, 4 meg table. I could make the random routine filebased, which
  208. | will be much slower if anyone would like a randomized 7 digit 40meg table.
  209. |
  210. | PS! Remember to change the TABLEEND value, or simply remove it. Otherwise
  211. | it will cut off the table where you might not want it to.
  212.  
  213. EXCHDIGITS = 4
  214.  
  215.  
  216. |--------------------------------------------------------------------------
  217. | If YES it uses the keyboard.device to scan key presses instead of the
  218. | active CLI Window. The keyboard.device receives all keypresses no matter
  219. | which Window/Program you currently are in. Can be handy. Default is NO.
  220. |
  221. | If NO it uses the current CLI window to get the keyboard input, which is
  222. | much nicer. You can then also define and use your left mousebutton.
  223.  
  224. KEYBDEVICE = NO
  225.  
  226.  
  227. |--------------------------------------------------------------------------
  228. | Complete user configurable key function setup! Lets you, the user, setup
  229. | what text and/or function you want each key to represent.
  230. |
  231. | Format is as follows:  KEY<Key>=<Text><Hangup Flag><Function Name><Log>
  232. |
  233. | Order is not important, and you can leave out any of the four parts.
  234. |
  235. | 1 The Hang-up Flag, "^", specifies if you want the modem to drop carrier
  236. |   upon a keypress, use a '^' somewhere in the string.
  237. | 2 The Text can be any text (except for ^, @ and >), you wish to write to
  238. |   the logfile and screen with the scan entry, upon keypress.
  239. | 3 The Function, is a pre-programmed function that does a specific task.
  240. | 4 The Log specfication. ">", puts any activity caused by the key to a
  241. |   specified log file. If you supply the '> MAINLOG' keyword, it will also
  242. |   be placed in the main logfile. Specified in the LOGFILE config line. If
  243. |   no logfile is supplied it won't be written anywhere, except on screen.
  244. |
  245. | Current available functions you can place and use:
  246. |
  247. |       @INFO       Show info screen.
  248. |       @HELP       Show help screen.
  249. |       @JUMP       Jump to specified table offset.
  250. |       @RETRY      Retry last number.
  251. |       @PAUSE      Pause until same key pressed again.
  252. |       @TIME       Print current time.
  253. |       @SKIP       Skip entry, and continue to next.
  254. |       @DELETE     Skip entry.
  255. |       @ABORT      Abort scan, and quit program.
  256. |       @BACK       Skip entry, go one backward.
  257. |       @FORWARD    Skip entry, go one forward.
  258. |       @COMMENT    Prompt for comment text.
  259. |       @ENTERSTR   Change prefix and suffix modem strings.
  260. |       @DIAL       Ask for a number to dialout.
  261. |
  262. | For example examine the config line:
  263. |
  264. |       KEYJ=GOTO OFFSET^ @JUMP
  265. |
  266. | Would when the key 'J' is pressed hang-up the modem, print "GOTO OFFSET"
  267. | on the screen and in the logfile. Then execute the actual Jump function
  268. | routine to ask for the new offset and jump there.
  269. |
  270. | Available keys that can be defined are listed below. As an added bonus,
  271. | you can also define the 10 available F-keys.
  272. |
  273. | With the KEYLEFT command you can define what the left mousebutton
  274. | should do when pressed. (only if KEYBDEVICE = NO)
  275. |
  276. | Only default key available is ESCape. Defined as an abort/panic key.
  277.  
  278. KEYA=ANSWERING MACHINE^ >ANSWMACH.LOG >MAINLOG
  279. KEYB=BUSY^ >BUSY.LOG >MAINLOG
  280. KEYC=CARRIER^ >CARRIER.LOG >MAINLOG
  281. KEYD=DISCONNECTED^ >DISCONNE.LOG >MAINLOG
  282. KEYE=
  283. KEYF=FAX MACHINE^ >FAXMACHN.LOG >MAINLOG
  284. KEYG=
  285. KEYH=
  286. KEYI=@INFO
  287. KEYJ=JUMP^ @JUMP >JUMP.LOG >MAINLOG
  288. KEYK=COMMENT^ @COMMENT >COMMENT.LOG >MAINLOG
  289. KEYL=
  290. KEYM=MESSAGE SERVICE^ >MSGSRVC.LOG >MAINLOG
  291. KEYN=NEW NUMBER^ >NEWNUMBR.LOG >MAINLOG
  292. KEYO=OK^ >OK.LOG >MAINLOG
  293. KEYP=PAGER^ >PAGER.LOG >MAINLOG
  294. KEYQ=QUIET^ >QUIET.LOG >MAINLOG
  295. KEYR=RETRY^ @RETRY >RETRY.LOG >MAINLOG
  296. KEYS=*PAUSE* @PAUSE >PAUSE.LOG >MAINLOG
  297. KEYT=TONE^ >TONE.LOG >MAINLOG
  298. KEYU=
  299. KEYV=VOICE^ >VOICE.LOG >MAINLOG
  300. KEYW=
  301. KEYX=
  302. KEYY=
  303. KEYZ=@TIME >TIME.LOG >MAINLOG
  304. KEY?=???^ >???.LOG >MAINLOG
  305. KEY-=BACK^ @BACK >BACK.LOG >MAINLOG
  306. KEY+=FORWARD^ @FORWARD >FORWARD.LOG >MAINLOG
  307. KEYF01=ENTERSTR^ @ENTERSTR >ENTERSTR.LOG >MAINLOG
  308. KEYF02=DIAL^ @DIAL >DIAL.LOG >MAINLOG
  309. KEYF03=
  310. KEYF04=
  311. KEYF05=
  312. KEYF06=
  313. KEYF07=
  314. KEYF08=
  315. KEYF09=
  316. KEYF10=
  317. KEYDEL=DELETE^ @DELETE >DELETE.LOG >MAINLOG
  318. KEYESC=ABORT^ @ABORT >ABORT.LOG >MAINLOG
  319. KEYRET=SKIP^ @SKIP >SKIP.LOG >MAINLOG
  320. KEYHLP=@HELP
  321. KEYLEFT=SKIP^ @SKIP >SKIP.LOG >MAINLOG
  322.  
  323.  
  324. |--------------------------------------------------------------------------
  325. | This command lets you create a custom list of numbers you wish to scan.
  326. |
  327. | It doesn't change or delete your standard data file, Scanner.dat, but
  328. | just use these numbers one by one instead. Just list all the numbers
  329. | in a normal text file, one on each line. Up to 128 characters on each line.
  330. |
  331. | There can be blank lines in the table, and you can use the '|' in the
  332. | beginning of each line for comments...
  333. |
  334. | Remember to change your PREFIX string, and START and END offsets! If you
  335. | leave your START and END out, it will automatically count the total count
  336. | of numbers in the table.
  337.  
  338. |CUSTOMTABLE = SCANNER.TAB
  339.  
  340.  
  341. | Thats it so far....
  342. |==========================================================================
  343.  
  344.