routeros | RouterOS Security Research Tooling and Proof of Concepts | Security library
kandi X-RAY | routeros Summary
kandi X-RAY | routeros Summary
This repository contains various tools and exploits developed while performing security research on MikroTik's RouterOS. The various projects are broken up into the following subdirectories:. For much more detail drill down into the individual directories.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of routeros
routeros Key Features
routeros Examples and Code Snippets
Community Discussions
Trending Discussions on routeros
QUESTION
I've got a router Mikrotik hAP AC2. Recently I've updated RouterOS to version 7.1.3 and have found that 5GHz access point has issues.
My notebook sometimes disconnects from 5GHz wlan, and one of smartphones in my family doesn't connect to 5GHz at all.
Here is the plot of wifi signal strength, that I've collected using my notebook located in direct visibility of the router at the distance of about 5-6m.
Cyan line shows 2.4GHz signal and red line shows 5GHz signal. Numbers are -42dbm for 2.4GHz and -68dbm for 5GHz.
My impression is that generally this is not normal. I repeat, there were no obstacles between the notebook and the router, only thin air.
I've tried to reset configuration for 5GHz wlan, change its region, but without success.
How can I fix this?
Here are current settings:
...ANSWER
Answered 2022-Mar-24 at 12:305GHz Wifi is always lower strength than 2.4GHz, it's physics. 5GHz originally improved performance due to moving away from the then congested 2.4GHz band, however, now 5GHz is just as common so despite having a wider range of frequencies it still ends up congested.
5GHz allows for higher throughput while having the disadvantage of being attenuated quicker due to the higher frequency
2.4GHz has a lower data throughput but isn't attenuated as easily.
QUESTION
I have a variable:
...ANSWER
Answered 2021-Nov-30 at 16:42following your error, its seems _ip is a list, so
try:
QUESTION
ANSWER
Answered 2021-Mar-21 at 09:37You can match 3 or more linebreaks, and replace with 2 newlines or match 2 newlines using an alternation and replace that with 1 newline.
QUESTION
I am writing copy button for code-blocks, but the button can not handle "copy" event.
The buttons are created with createElement
method, and event added to the buttons with addEventListener
to the buttons, before appending to the blocks, through foreach
loop.
JSFiddle Link of the blocks
Create Button code:
...ANSWER
Answered 2021-Mar-21 at 06:08After clicking the button copy
you can get to a
elements with this code:
QUESTION
I am trying to add Javascript button to code-block dynamically, but the button is not showing when created dynamically.
I am using code-syntax highlighting library highlightjs
Please mention or reply, the work-through for this
In console, I can add button, but I can not add button with Javascript. Please see, where I am doing wrong.
Updated the JSfiddle link, I am trying to loop with foreach loop.
...ANSWER
Answered 2021-Mar-20 at 08:29Since there is no table present you should change this:
QUESTION
I'm learning websocket nodejs, I want to connect to routeros via websocket like the https://github.com/aluisiora/node-routeros/ package, the package is too broad, I just want to know how to connect.
I've read the official documentation https://wiki.mikrotik.com/wiki/Manual:API, but I'm having trouble understanding it.
I have tried it this way, but did not get any response:
...ANSWER
Answered 2021-Mar-08 at 17:05Take into consideration the next things:
- RouterOS API has it's own protocol, it has a bit of complexity. The official wiki tell us how to interact with it at LOW LEVEL. For these reason it's very difficult to understand. Isn't for a High Level programmer. Don't worry, We have all been through here.
- Routeros v7 have a REST API, that will make the job easier, the exchange language is HTTP protocol, easy right? Actually is at
beta
stage. - RouterOS Wiki have other package for node.js that seems more easy: Mikronode
Install mikronode
package
QUESTION
I'm writing a simple script to notify me whenever a new firmware update is available in my Mikrotik router. The RouterOS command for this purpose is:
...ANSWER
Answered 2021-Feb-05 at 20:14Oh nevermind, I just fixed it.
After redirecting the output to a /tmp/mikrotik.tmp
file I just thought about running:
QUESTION
I can't figure out how to create more than one api connection to microtics (I have more than 20 of them) using routeros-client at the same time. Is it possible to somehow connect a config with parameters and credentials? I will be glad to any advice and tips
...ANSWER
Answered 2020-Nov-23 at 11:33Problem solved in such way: Firstly there was created config.yml, then defined variables and use forEach() method.
QUESTION
i have a problem with ansible: I wrote some playbooks, that do basic things like getting the routeros version from the mikrotik, and the playbook itself seems to works fine. What i mean by that is that about half of the mikrotiks (all in one network, all reachbale via ssh, all with the same firewall settings ect) send the information that i requested just fine. But with the other half i get this strange error (see below).
I tested it intensively with two mikrotiks ( RB2011UiAS). With one of them working, and the other one causes the exeption seen below. I compared the config side by side, other then the ip´s (in the same network) everything is 100% the same. Even the software version. Both are reachable via ssh.
...ANSWER
Answered 2020-Oct-05 at 05:01Check if your identity in the router has a special char like /, routeros_command calls the resource print and get messed up by the identity. Well at least it worked for me...
QUESTION
I have list of string from which i want to extract channel number value with low SIG value. Below is mt list name "Outlines"
...ANSWER
Answered 2020-Aug-28 at 14:04You can get the positions in each line you need to parse from the line that contains 'SIG' and 'CHANNEL'
.
You can loop all lines, extract the positions and convert the SIG to a number and put it into a dictionary of lists of CHANNELS (if 2 have the same SIG and both are lowest).
You can proceed to work with the dictionary data:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install routeros
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page