<commit_before><!doctype html>
    <head>
        <title>{% block title %}{% endblock %}</title>
        <title>{% block extra_head %}{% endblock %}</title>
	<script type=text/javascript>
    		$SCRIPT_ROOT = {{ request.script_root|tojson|safe }};
  	</script>
        <script src="{{ url_for('static', filename='js/vendor/jquery.js') }}"></script>
        <link rel="stylesheet" href="{{ url_for('static', filename='css/foundation.min.css') }}">
        <link rel="stylesheet" href="{{ url_for('static', filename='css/normalize.css') }}">
        <script src="{{ url_for('static', filename='js/vendor/foundation.min.js') }}"></script>
        <script src="{{ url_for('static', filename='js/vendor/modernizr.js') }}"></script>
        <script src="{{ url_for('static', filename='js/main.js') }}"></script>
    </head>
    <body>
        {% if user.is_authenticated %}
        <nav class="top-bar" style="margin-bottom: 30px;"  data-topbar>
            <ul class="title-area">
                <li class="name">
                    <h1><a href="{{ url_for('ui.dashboard') }}">CHN Server</a></h1>
                </li>
            </ul>
            <section class="top-bar-section">
                <!-- Left Nav Section -->
                <ul class="left">
                    <li><a href="{{ url_for('ui.honeymap') }}">Map</a></li>
                    <li><a href="{{ url_for('ui.deploy_mgmt') }}">Deploy</a></li>
                    <li><a href="{{ url_for('ui.get_attacks') }}">Attacks</a></li>
                    <li><a href="{{ url_for('ui.get_feeds', channel='snort.alerts') }}">Payloads</a></li>
                    <li class="has-dropdown">
                        <a href="{{ url_for('ui.get_rules') }}">Rules</a>
                        <ul class="dropdown">
                            <li><label>Manage</label></li>
                            <li><a href="{{ url_for('ui.get_rules') }}">Activate/Deactivate</a></li>
                            <li><a href="{{ url_for('ui.rule_sources_mgmt') }}">Sources</a></li>
                            <li><label>Download</label></li>
                            <li><a href="{{ url_for('api.get_rules', plaintext=true) }}">Live Render</a></li>
                            <li><a href="{{ url_for('static', filename='/mhn.rules') }}">Pre-Rendered</a></li>
                        </ul>
                    </li>
                    <li class="has-dropdown">
                        <a href="{{ url_for('ui.get_sensors') }}">Sensors</a>
                        <ul class="dropdown">
                            <li><a href="{{ url_for('ui.get_sensors') }}">View sensors</a></li>
                            <li><a href="{{ url_for('ui.add_sensor') }}">Add sensor</a></li>
                        </ul>
                    </li>
            
				
				
			 <li class="has-dropdown">
                        <a href="{{ url_for('ui.chart') }}">Charts</a>
                        <ul class="dropdown">
			    <li><a href="{{ url_for('graph_passwords') }}">Kippo/Cowrie Top Passwords</a></li>
                            <li><a href="{{ url_for('graph_users') }}">Kippo/Cowrie Top Users</a></li>
                            <li><a href="{{ url_for('graph_combos') }}">Kippo/Cowrie Top User/Passwords</a></li>
                            <li><a href="{{ url_for('graph_top_attackers') }}">Kippo/Cowrie Top Attackers</a></li>
                        </ul>
                    </li>
                </ul>

				
				
				
                <!-- Right Nav Section -->
                <ul class="right">
                    <li class="active"><a id="out-btn" href="#">LOGOUT</a></li>
                </ul>
                {% if current_user.has_role('admin') %}
                <ul class="right">
                    <li class=""><a id="out-btn" href="{{ url_for('ui.settings') }}">Settings</a></li>
                </ul>
                {% endif %}
            </section>
        </nav>
        {% endif %}
        {% block content %}{% endblock %}
        {% block footer %}
        <style>
            #footer {
                margin-top: 80px;
                margin-bottom: 80px;
                bottom: 0;
                width: 100%;
            }
        </style>
        <div class="row" id="footer">
            <div class="small-7 large-centered columns">
              <span><small><a href="https://github.com/CommunityHoneyNetwork">CommunityHoneyNetwork is an open source project!</a></small><span>
            </div>
        </div>
        {% endblock %}
        <script src="{{ url_for('static', filename='js/vendor/fastclick.js') }}"></script>
        <script>
            $(document).foundation();
        </script>
    </body>
</html>
<commit_msg>Fix double-forward-slash before filename=mhn.rules<commit_after><!doctype html>
    <head>
        <title>{% block title %}{% endblock %}</title>
        <title>{% block extra_head %}{% endblock %}</title>
	<script type=text/javascript>
    		$SCRIPT_ROOT = {{ request.script_root|tojson|safe }};
  	</script>
        <script src="{{ url_for('static', filename='js/vendor/jquery.js') }}"></script>
        <link rel="stylesheet" href="{{ url_for('static', filename='css/foundation.min.css') }}">
        <link rel="stylesheet" href="{{ url_for('static', filename='css/normalize.css') }}">
        <script src="{{ url_for('static', filename='js/vendor/foundation.min.js') }}"></script>
        <script src="{{ url_for('static', filename='js/vendor/modernizr.js') }}"></script>
        <script src="{{ url_for('static', filename='js/main.js') }}"></script>
    </head>
    <body>
        {% if user.is_authenticated %}
        <nav class="top-bar" style="margin-bottom: 30px;"  data-topbar>
            <ul class="title-area">
                <li class="name">
                    <h1><a href="{{ url_for('ui.dashboard') }}">CHN Server</a></h1>
                </li>
            </ul>
            <section class="top-bar-section">
                <!-- Left Nav Section -->
                <ul class="left">
                    <li><a href="{{ url_for('ui.honeymap') }}">Map</a></li>
                    <li><a href="{{ url_for('ui.deploy_mgmt') }}">Deploy</a></li>
                    <li><a href="{{ url_for('ui.get_attacks') }}">Attacks</a></li>
                    <li><a href="{{ url_for('ui.get_feeds', channel='snort.alerts') }}">Payloads</a></li>
                    <li class="has-dropdown">
                        <a href="{{ url_for('ui.get_rules') }}">Rules</a>
                        <ul class="dropdown">
                            <li><label>Manage</label></li>
                            <li><a href="{{ url_for('ui.get_rules') }}">Activate/Deactivate</a></li>
                            <li><a href="{{ url_for('ui.rule_sources_mgmt') }}">Sources</a></li>
                            <li><label>Download</label></li>
                            <li><a href="{{ url_for('api.get_rules', plaintext=true) }}">Live Render</a></li>
                            <li><a href="{{ url_for('static', filename='mhn.rules') }}">Pre-Rendered</a></li>
                        </ul>
                    </li>
                    <li class="has-dropdown">
                        <a href="{{ url_for('ui.get_sensors') }}">Sensors</a>
                        <ul class="dropdown">
                            <li><a href="{{ url_for('ui.get_sensors') }}">View sensors</a></li>
                            <li><a href="{{ url_for('ui.add_sensor') }}">Add sensor</a></li>
                        </ul>
                    </li>
            
				
				
			 <li class="has-dropdown">
                        <a href="{{ url_for('ui.chart') }}">Charts</a>
                        <ul class="dropdown">
			    <li><a href="{{ url_for('graph_passwords') }}">Kippo/Cowrie Top Passwords</a></li>
                            <li><a href="{{ url_for('graph_users') }}">Kippo/Cowrie Top Users</a></li>
                            <li><a href="{{ url_for('graph_combos') }}">Kippo/Cowrie Top User/Passwords</a></li>
                            <li><a href="{{ url_for('graph_top_attackers') }}">Kippo/Cowrie Top Attackers</a></li>
                        </ul>
                    </li>
                </ul>

				
				
				
                <!-- Right Nav Section -->
                <ul class="right">
                    <li class="active"><a id="out-btn" href="#">LOGOUT</a></li>
                </ul>
                {% if current_user.has_role('admin') %}
                <ul class="right">
                    <li class=""><a id="out-btn" href="{{ url_for('ui.settings') }}">Settings</a></li>
                </ul>
                {% endif %}
            </section>
        </nav>
        {% endif %}
        {% block content %}{% endblock %}
        {% block footer %}
        <style>
            #footer {
                margin-top: 80px;
                margin-bottom: 80px;
                bottom: 0;
                width: 100%;
            }
        </style>
        <div class="row" id="footer">
            <div class="small-7 large-centered columns">
              <span><small><a href="https://github.com/CommunityHoneyNetwork">CommunityHoneyNetwork is an open source project!</a></small><span>
            </div>
        </div>
        {% endblock %}
        <script src="{{ url_for('static', filename='js/vendor/fastclick.js') }}"></script>
        <script>
            $(document).foundation();
        </script>
    </body>
</html>

{'fraction_non_alphanumeric': 0.19790343074968234, 'fraction_numerical': 0.0027530707327403643, 'mean_word_length': 1.5962067069818582, 'pattern_counts': {'":': 0, '<': 299, '<?xml version=': 0, '>': 299, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5684475', 'n_tokens_mistral': 2906, 'n_tokens_neox': 2697, 'n_words': 495}