<commit_before>        <div id='help' style='display: none' title="Help">
            <h2>First run</h2>
            <p>
                If this is your first run of the WebUI then you've been
                redirected here because you haven't specified any Dispatchers
                for the WebUI to use.
            </p>
            <p>
                You can start a Dispatcher by running:
                <pre>arachni_rpcd</pre>
                in a terminal.
            </p>
            <p>
                This command will fire-up a Dispatcher which will, by default,
                bind to: <pre>localhost:7331</pre>
            </p>
            <p>
                Input this URL in the 'URL' field and press "Add".<br/>
                After that you should be able to use the WebUI to perform scans.
            </p>

        </div>

        <button onclick="$('#help').dialog( { height: 530, width: 500 } );"/>Help</button>

        <div id="page-intro">
            <h2>Edit Dispatchers</h2>
            <p>
                This screen allows you to add and remove Dispatchers.
            </p>
        </div>

        <%= erb :flash, {:layout => false} %>

        <% if !dispatchers.empty? %>
        <table>
            <tr>
                <th>Location</th>
                <th>Alive?</th>
                <th>Action</th>
            </tr>
            <% dispatchers.each do |dispatcher| %>
            <tr>
                <td><%=dispatcher['url']%></td>
                <td><%=dispatcher['alive'].to_s.capitalize%></td><commit_msg>updated help<commit_after>        <div id='help' style='display: none' title="Help">
            <h2>First run</h2>
            <p>
                If this is your first run of the WebUI then you've been
                redirected here because you haven't specified any Dispatchers
                for the WebUI to use.
            </p>

            <h2>Dispatchers</h2>
            <p>
                You can start a Dispatcher by running:
                <pre>arachni_rpcd</pre>
                in a terminal.
            </p>
            <p>
                This command will fire-up a Dispatcher which will, by default,
                bind to: <pre>localhost:7331</pre>
            </p>
            <p>
                Input this URL in the 'URL' field and press "Add".<br/>
                After that you should be able to use the WebUI to perform scans.
            </p>

            <p>
                You can find more information about setting up Dispatchers <a href="https://github.com/Zapotek/arachni/wiki/RPC-server">here</a>.
            </p>

        </div>

        <button onclick="$('#help').dialog( { height: 530, width: 500 } );"/>Help</button>

        <div id="page-intro">
            <h2>Edit Dispatchers</h2>
            <p>
                This screen allows you to add and remove Dispatchers.
            </p>
        </div>

        <%= erb :flash, {:layout => false} %>

        <% if !dispatchers.empty? %>
        <table>
            <tr>
                <th>Location</th>
                <th>Alive?</th>
                <th>Action</th>
            </tr>
            <% dispatchers.each do |dispatcher| %>
            <tr>
                <td><%=dispatcher['url']%></td>
                <td><%=dispatcher['alive'].to_s.capitalize%></td>
{'fraction_non_alphanumeric': 0.1269172932330827, 'fraction_numerical': 0.009022556390977444, 'mean_word_length': 1.2874828060522696, 'pattern_counts': {'":': 0, '<': 97, '<?xml version=': 0, '>': 99, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5320261', 'n_tokens_mistral': 1006, 'n_tokens_neox': 915, 'n_words': 274}