microsoft / routeros-scanner

Tool to scan for RouterOS (Mikrotik) forensic artifacts and vulnerabilities.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How does the command works with paramiko?

thinkycx opened this issue · comments

For example, the project use paramiko to run command on the server.
However, the /ip command is not on the server, why it works?

data = self._ssh_data(sshc, '/ip dns print')

stdin, stdout, stderr = sshc.exec_command(command)

Hi, this tool is for Mikrotik devices which run RouterOS. The RouterOS has a unique SSH shell with custom commands that won't work on a classic Linux shell. One of those commands is the '/ip' command.