File: pb

package info (click to toggle)
libnet-cli-interact-perl 2.400002-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 576 kB
  • sloc: perl: 2,075; makefile: 7
file content (23 lines) | stat: -rw-r--r-- 502 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# a preliminary phrasebook for mikrotik routeros devices
# see http://wiki.mikrotik.com/wiki/Manual:Console_login_process for prompts and quirks
# version 0

prompt user
 match /Login: ?$/

prompt pass
 match /[Pp]assword: ?$/

# note: that only covers prompts in single-line command mode, not safe mode,
# not hotlock mode, and not line continuation mode either
prompt generic
 match  /\] (\/.+)?>\s+$/

macro paging
 send /
 
prompt privileged
 match  /\] (\/.+)?>\s+$/

macro disconnect
 send /quit