Commit Graph

79 Commits

Author SHA1 Message Date
OldGregg
78cf01c1fd Added SSL support to butterfly.
Added SSL certificate capability to butterfly. Butterfly now
has the --secure option, which requires the following files
to be present in the local folder:
  - butterfly.crt
  - butterfly.key
  - butterflyca.crt
This option forces butterfly to use HTTPS and secure
WebSockets. The connection still requires a username
and password.

There is also the --reallysecure option, which forces
the user's browser to provide a client side certificate.
The certificate is validated against butterflyca.crt, before
allowing the connection. Afterward, the commonName in the
certificate is used as the username for the connection.
The connection still requires the user to provide a password.

Also forced a default user "daemon" to be returned by the
User class, as it prevents someone from finding valid users
on the remote host.
2014-03-01 13:07:04 -05:00
Florian Mounier
38cface138 Protect origin, it enhance a little bit security 2014-02-28 18:59:49 +01:00
Florian Mounier
425594d633 Fix CTRL+D unicode error 2014-02-28 18:27:22 +01:00
Florian Mounier
f507ed5be3 Python 2 raw_input compatibility Fixes #2 2014-02-28 18:20:56 +01:00
Florian Mounier
0cbb4b2afc Fix shell name in argv[0] 2014-02-28 12:20:41 +01:00
Florian Mounier
9351fdceec Remove creepy warning at start 2014-02-28 11:46:45 +01:00
Florian Mounier
14caa88d19 Bind to localhost by default 2014-02-28 11:21:47 +01:00
Florian Mounier
3d6677643d Minor fix and fav 2014-02-27 14:58:09 +01:00
Florian Mounier
a5f68cc970 Whoops 2014-02-27 10:09:33 +01:00
Florian Mounier
4dc55630a3 1.1.5 optimize js and css 2014-02-27 10:07:56 +01:00
Florian Mounier
e4d51415ca And the js... 2014-02-26 15:55:21 +01:00
Florian Mounier
779711f077 Fix selection not being unselected on enter 2014-02-26 15:55:02 +01:00
Florian Mounier
89d11c9189 A really better selection 2014-02-24 12:19:01 +01:00
Florian Mounier
459b256ddc Greatly improve selection 2014-02-24 11:06:29 +01:00
Florian Mounier
4aa5f75e4f Bump 2014-02-21 16:53:29 +01:00
Florian Mounier
6d10994eb7 Improve selection 2014-02-21 16:44:46 +01:00
Florian Mounier
1db6c4eb5c Fix path selection 2014-02-17 18:08:49 +01:00
Florian Mounier
cd44280877 Allow to stop history by double ctrl-c. 2014-02-14 17:44:36 +01:00
Florian Mounier
35838a600b Minor fixes 2014-02-14 16:23:32 +01:00
Florian Mounier
a96950c303 Typo 2014-02-14 13:45:38 +01:00
Florian Mounier
ae64a7c4e7 Run location.hash at start + fix weird browser with TouchEvent + remove spellcheck in ff 2014-02-14 13:43:50 +01:00
Florian Mounier
805f61a80d Fix firefox paste I hope and fix -i check in local shell 2014-02-14 12:29:01 +01:00
Florian Mounier
b218432f30 Add README.md 2014-02-14 11:25:44 +01:00
Florian Mounier
b14afe2247 Minor fixes 2014-02-14 10:49:21 +01:00
Florian Mounier
2d03625763 Style fix 2014-02-14 10:41:56 +01:00
Florian Mounier
61b2dce274 Small fixes 2014-02-14 10:03:28 +01:00
Florian Mounier
c69779884f Fix init 2014-02-13 14:45:04 +01:00
Florian Mounier
d986ee8ba7 Minor clean 2014-02-13 12:30:44 +01:00
Florian Mounier
1eb4df9003 Put sepia effect on skip 2014-02-12 16:35:38 +01:00
Florian Mounier
394d966b27 Round deltaY 2014-02-12 16:12:34 +01:00
Florian Mounier
6bae92edc9 Various clean 2014-02-12 15:53:26 +01:00
Florian Mounier
9b2e4e9ce4 Fix mouse :) 2014-02-11 17:57:22 +01:00
Florian Mounier
1f361b3f48 Restore paste 2014-02-11 16:54:11 +01:00
Florian Mounier
20e3275b7f Make it work 2014-02-11 16:38:11 +01:00
Florian Mounier
0cc33d9dff Start term.js rewrite 2014-02-11 12:55:29 +01:00
Florian Mounier
d4bbdec781 Refactoring + better inline html integration 2014-02-06 18:00:51 +01:00
Florian Mounier
421a15a05f Make it work on android and perhaps in IOS 2014-02-04 16:23:36 +01:00
Florian Mounier
a6de5eb22e Confirm before close if the websocket is still open 2014-01-31 15:37:54 +01:00
Florian Mounier
3b94bab145 Minor fix 2014-01-31 11:34:03 +01:00
Florian Mounier
466c48b53f Fix zombies again, add some log and a program name in execvpe 2014-01-31 10:14:32 +01:00
Florian Mounier
242f7ffe03 Bump 2014-01-30 18:48:27 +01:00
Florian Mounier
4f9059fc5f Fix local environment 2014-01-30 18:47:05 +01:00
Florian Mounier
46c1db55da localhost IPv6 2014-01-30 14:48:18 +01:00
Florian Mounier
0a14b94b1a Fix INET6 sockets 2014-01-30 14:32:15 +01:00
Florian Mounier
4180c3cc26 Clean up 2014-01-30 13:37:01 +01:00
Florian Mounier
ac1afde220 Clean up 2014-01-30 13:36:28 +01:00
Florian Mounier
5b1f83ff54 Clean up 2014-01-30 13:36:10 +01:00
Florian Mounier
6d0b5f79c3 Clean up 2014-01-30 13:35:41 +01:00
Florian Mounier
55af42f905 Package app (get rid of useless stuff) 2014-01-30 13:17:36 +01:00
Florian Mounier
f802155116 Style cursor and visualBell 2014-01-24 18:12:48 +01:00