evilsocket
7919cda5ec
lint driven refactoring
2018-04-24 16:33:38 +02:00
KhasMek
4b8d4aeb1b
api: switch request router and add more paths
...
This switches the url router to gorilla and
adds the following routes.
- /api/events
- /api/session
- /api/session/ble
- /api/session/ble/{mac}
- /api/session/env
- /api/session/gateway
- /api/session/interface
- /api/session/lan
- /api/session/lan/{mac}
- /api/session/options
- /api/session/packets
- /api/session/started-at
- /api/session/wifi
- /api/session/wifi/{mac}
where {mac} is the mac address of a device.
2018-03-12 18:42:32 -06:00
evilsocket
1e7d99433e
refact: refactored module status checks in Configure methods for consistency
2018-03-07 12:47:15 +01:00
evilsocket
5ad1a17118
new: implemented optional websocket for /api/events
2018-03-06 13:54:37 +01:00
evilsocket
b243e67828
some progress but still doesn't work
2018-03-01 19:30:10 +01:00
evilsocket
894cbe76a1
refact: refactored api.rest to avoid using global variables
2018-03-01 18:06:42 +01:00
evilsocket
63cea73f8e
misc: small fix or general refactoring i did not bother commenting
2018-02-23 00:07:09 +01:00
evilsocket
1728ed63f1
refact: we got rid of huge GIN dependency by using core golang libs for api.rest module
2018-02-22 16:59:23 +01:00
evilsocket
9c6eb70eb3
refact: refactored module SetRunning method ( fixes #49 )
2018-02-11 01:43:48 +01:00
evilsocket
6c4a13b5bc
new: implemented basic https proxy ( fixes #3 )
2018-01-14 16:13:47 +01:00
evilsocket
fd18dffd1a
refact: refactored api.rest module to use GIN and have better security ( fixes #11 )
2018-01-14 15:10:11 +01:00
evilsocket
2454a669bb
fix: using spoofed names for TLS certificate generation in order to be less fingerprintable ( fixes #12 )
2018-01-14 14:12:11 +01:00
evilsocket
fb593af38d
balls
2018-01-13 13:33:04 +01:00
evilsocket
52629c0e9e
fix: fixed api.rest module
2018-01-13 02:10:16 +01:00
evilsocket
291e87de39
refact: some refactoring to proxy modules
2018-01-11 19:53:14 +01:00
evilsocket
e543582257
refact: refactored module parameters api
2018-01-11 00:27:53 +01:00
evilsocket
31de46c14c
new: improved menu and per module help
2018-01-09 22:23:11 +01:00
evilsocket
e36bcacf00
refact: centralized logging into log package using Session singleton instance
2018-01-08 12:25:26 +01:00
evilsocket
d052758efc
refact: renamed api.rest TLS files
2018-01-08 09:50:35 +01:00
evilsocket
64221a126d
refact: session/modules -> modules
2018-01-08 09:28:46 +01:00