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