Skip to content

Commit

Permalink
Misc formatting/comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mepley1 committed Aug 3, 2024
1 parent e259aab commit 1ff7af4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@

[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fmepley1%2Fhoneypot&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false)](https://hits.seeyoufarm.com)

A simple HTTP honeypot for capturing and viewing HTTP requests + auto reporting.
A simple HTTP honeypot + analysis webapp for capturing and analyzing HTTP requests + auto reporting.
Stores request data in a SQLite database and includes some stats views for easier analysis of wild bot(net)/scanner traffic. Includes a catch-all route to catch requests using any HTTP method for (almost) any URI.

Very much a work in progress.

[Live Demo](https://x2.mepley.com/stats) Note: May not be active at any given time. Demo login: user `demo` pw `0xDEADBEEF`
[Live Demo](https://x2.mepley.com/stats) Note: May not be active at any given time.
Demo login:
user: `demo`
pw: `0xDEADBEEF`

## To run locally for testing/development:

Expand Down
3 changes: 1 addition & 2 deletions project/static/js/nav-mobile.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function toggle_res_class() {
}
}

// Toggle nav menu responsive class on icon click (event listener for above)
// Toggle nav menu responsive class on hamburger icon click (event listener for above)
$("#nav_toggle_btn").click(function() {
toggle_res_class();
});
Expand All @@ -34,4 +34,3 @@ $(document).ready(function() {
$(menuItems).toggle();
});
});

2 changes: 1 addition & 1 deletion project/templates/headers_json.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h1>Headers</h1>
{% endif %}
{% endwith %}

<h2>Headers sent in request #<a href="{{ url_for('main.stats_by_id', request_id=request_id) }}">{{ request_id }}</a></h2>
<h2>Headers received in request #<a href="{{ url_for('main.stats_by_id', request_id=request_id) }}">{{ request_id }}</a></h2>

<div class="pagination">
<p>
Expand Down
2 changes: 1 addition & 1 deletion project/templates/loginstats.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h1><span class="dim">Stats -></span> Logins</h1>
{% if stats %}
<h2>Most recent login attempts: </h2>
<div id="dataToggles">
Toggle data columns:
Toggle data columns:<wbr>
<label>
<input type="checkbox" name="dataCheckbox" value="dataID" class="sv0">#
</label>
Expand Down

0 comments on commit 1ff7af4

Please sign in to comment.