Skip to content

Test CHR & RouterOS (6.48.6/6.49.6/7.4) without results #1

@danielcshn

Description

@danielcshn

Test:
Versión: CHR RouterOS v6.48.6 (long-term)
OS: Windows 10 21H2 19044.1826
JAVA: java 18.0.2 2022-07-19

java -jar "ROSMenuLister.jar" test.json 192.168.88.1 admin
Connecting...OK.
Logging into shell...
OK.
Pressing Enter (to clear the command line and find out the command prompt).
java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1

Test:
Versión: CHR RouterOS v6.49.6 (stable)
OS: Windows 10 21H2 19044.1826
JAVA: java 18.0.2 2022-07-19

java -jar "ROSMenuLister.jar" test.json 192.168.88.1 admin admin
Connecting...OK.
Logging into shell...
OK.
Pressing Enter (to clear the command line and find out the command prompt).
java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1

Test:
Versión: CHR RouterOS v7.4 (stable)
OS: Windows 10 21H2 19044.1826
JAVA: java 18.0.2 2022-07-19

java -jar "ROSMenuLister.jar" test.json 192.168.88.1 admin admin
Connecting...OK.
Logging into shell...
OK.
Pressing Enter (to clear the command line and find out the command prompt).
Staring to parse.
Parsing menu ""
Listed all menus
Listed all commands
Listed all arguments
JSON generated
Exiting

Result test.json:

{"summary":"7.4","name":"","submenus":[],"commands":[]}

Test:
Mikrotik: RB4011iGS+5HacQ2HnD-IN
Versión: RouterOS v6.49.6 (stable)
OS: Windows 11 21H2 22000.795
JAVA: java version "1.8.0_321"

java -jar "ROSMenuLister.jar" test.json 192.168.88.1 admin admin
Connecting...OK.
Logging into shell...
OK.
Pressing Enter (to clear the command line and find out the command prompt).
Staring to parse.
Parsing menu ""
java.lang.ArrayIndexOutOfBoundsException: -1

Test:
Mikrotik: RBD52G-5HacD2HnD (hAP ac²)
Versión: RouterOS v7.3 (stable)
OS: Windows 10 21H2 19044.1826
JAVA: java 18.0.2 2022-07-19

java -jar "ROSMenuLister.jar" test.json 192.168.88.1 admin admin
Connecting...OK.
Logging into shell...
OK.
Pressing Enter (to clear the command line and find out the command prompt).
Staring to parse.
Parsing menu ""
Listed all menus
Listed all commands
Listed all arguments
JSON generated
Exiting

Result test.json:

{"summary":"7.3","name":"","submenus":[],"commands":[]}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions