├── .gitignore
├── server
├── requirements.txt
├── honeybadger
│ ├── static
│ │ ├── honey.jar
│ │ ├── honeybadger.png
│ │ ├── common.js
│ │ ├── badger.css
│ │ ├── badger.js
│ │ ├── normalize.css
│ │ ├── skeleton.css
│ │ └── sorttable.js
│ ├── templates
│ │ ├── log.html
│ │ ├── map.html
│ │ ├── login.html
│ │ ├── profile_activate.html
│ │ ├── profile.html
│ │ ├── register.html
│ │ ├── beacons.html
│ │ ├── demo.html
│ │ ├── layout.html
│ │ ├── admin.html
│ │ └── targets.html
│ ├── validators.py
│ ├── utils.py
│ ├── decorators.py
│ ├── constants.py
│ ├── __init__.py
│ ├── plugins.py
│ ├── models.py
│ ├── processors.py
│ ├── views.py
│ └── parsers.py
└── honeybadger.py
├── util
├── wireless_survey.sh
└── wireless_survey.ps1
├── README.md
└── LICENSE.txt
/.gitignore:
--------------------------------------------------------------------------------
1 | *.pyc
2 | *sublime*
3 | venv/
4 | agents/
5 | server_old/
6 | data.db
7 |
--------------------------------------------------------------------------------
/server/requirements.txt:
--------------------------------------------------------------------------------
1 | Flask
2 | Flask-Bcrypt
3 | Flask-SQLAlchemy
4 | Flask-CORS
5 | requests
6 |
--------------------------------------------------------------------------------
/server/honeybadger/static/honey.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/adhdproject/honeybadger/HEAD/server/honeybadger/static/honey.jar
--------------------------------------------------------------------------------
/server/honeybadger.py:
--------------------------------------------------------------------------------
1 | from honeybadger import app
2 |
3 | if __name__ == '__main__':
4 | app.run(host='0.0.0.0')#threaded=True)
5 |
--------------------------------------------------------------------------------
/server/honeybadger/static/honeybadger.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/adhdproject/honeybadger/HEAD/server/honeybadger/static/honeybadger.png
--------------------------------------------------------------------------------
/server/honeybadger/templates/log.html:
--------------------------------------------------------------------------------
1 | {% extends "layout.html" %}
2 | {% block body %}
3 |
4 |
{{ content }}
7 |
6 |
6 | | {{ column }} | 12 | {% endfor %} 13 |action | 14 |
|---|---|
| {{ beacon[column] }} | 21 | {% endfor %} 22 |23 | {% if g.user.is_admin %} 24 | 25 | {% endif %} 26 | | 27 |
XSS me, please.
51 | 56 | {% if text %} 57 |{{ text|safe }}
58 | {% endif %} 59 | 60 | 61 | -------------------------------------------------------------------------------- /server/honeybadger/templates/layout.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 || {{ column }} | 20 | {% endfor %} 21 |action | 22 |
|---|---|
| {{ user[column] }} | 29 | {% endfor %} 30 |31 | {% if user.status == 0 %} 32 | 33 | {% elif user.status == 1 %} 34 | 35 | 36 | {% elif user.status == 2 %} 37 | 38 | {% elif user.status == 3 %} 39 | 40 | {% endif %} 41 | 42 | | 43 |
| {{ column }} | 46 | {% endfor %} 47 |action | 48 |
|---|---|
| {{ target[column] }} | 55 | {% endfor %} 56 |
57 |
76 |
103 |
104 |
105 |
106 |
107 | {% if g.user.is_admin %}
108 |
109 | {% endif %}
110 | |
111 |
| Agent: | '+beacon.agent+' @ '+beacon.ip+':'+beacon.port+' |
| Time: | '+beacon.created+' |
| User-Agent: | '+beacon.useragent+' |
| Coordinates: | '+coords+' |
| Accuracy: | '+beacon.acc+' |
| Comment: | '+comment+' |