Giter Site home page Giter Site logo

jimmy201602 / webterminal Goto Github PK

View Code? Open in Web Editor NEW
1.6K 67.0 557.0 757.76 MB

ssh rdp vnc telnet sftp bastion/jump web putty xshell terminal jumpserver audit realtime monitor rz/sz 堡垒机 云桌面 linux devops sftp websocket file management rz/sz otp 自动化运维 审计 录像 文件管理 sftp上传 实时监控 录像回放 网页版rz/sz上传下载/动态口令 django

Home Page: https://jimmy201602.github.io/webterminal/

License: GNU Lesser General Public License v3.0

Python 98.07% Shell 0.05% Dockerfile 0.01% Vue 0.97% Less 0.44% SCSS 0.46% Sass 0.01%
webterminal django automation maintenance ssh terminal intersystems terminal-based terminal-emulators realtime

webterminal's Introduction

Webterminal bastion server (webterminal堡垒机)

EN doc CN doc

Webterminal implemented by django. This project focus on DevOps and Continuous Delivery. For now it support almost 90% remote management protocol such as vnc, ssh,rdp,telnet,sftp... It support a possiblity to monitor and recorded user action when user use this project to manage their server!You can also replay the user action such as like a video. Hope you enjoy it.

Features

  • RDP remote desktop control
  • VNC remote desktop control
  • SSH SFTP protocol support
  • Telnet protocol support
  • VNC, RDP, SFTP Remote file browser (download, delete, update and upload files)
  • Remote command and script execution (shell)
  • Realtime user action audit
  • User session audit
  • Kick user off this project
  • SSH command audit
  • Permission control
  • Webterminal helper support (use your favourite tools to manage and connect server)

useage manual

useage

Usage Video

Run with docker compose

sudo docker-compose up -d
Login user & password
username: admin
password: password!23456

Author Email

[email protected]

screenshots

screenshots screenshots

Ubuntu webterminal helper support

screenshots screenshots

Mac webterminal helper support

screenshots

Windows webterminal helper support

screenshots

commercial version provide mstsc helper(rdp clipboard support vs file upload download and vnc protocol connection support)

screenshots screenshots

screenshots screenshots screenshots screenshots screenshots screenshots screenshots screenshots screenshots screenshots screenshots screenshots screenshots

License

Open source is not a easy staff, please respect the author's contribution, thank you.

This system has been continuously updated for four years to reach the current project functions. For now, except for the OCR function, other functions have been comparable to the commercial software! At present, this project has not produced any profit. Based on the author's enthusiasm for power generation with love, it has been found that someone has changed this project for commercial use. I solemnly declare that all consequences arising from the commercialization of this project should be borne by yourself.

Therefore, to avoid disputes, it is not recommended to use commercial products. If you insist on using it, please contact the original author for authorization.

Once again, if you directly use this system in commercial products without contacting the author, this system will not bear any commercial disputes, thank you.

LGPL-3.0 License

Copyright (c) 2021 Jimmy

Reporting Issues

If you're experiencing a problem, we encourage you to open an issue, and share your feedback.

webterminal's People

Contributors

jimmy201602 avatar liuzheng avatar teldragon avatar v3rlust avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

webterminal's Issues

after loging in stystem, browser make redirect with error

hi, i installed docker, and after logging, in system, browser make redirect, with error like The address wasn’t understood
URL you can see in screen:
OFxQ95WsKn
what i need to install, on my PC (Windows 10) to fix it? as i understand i need to have some associated app on my PC to open this link?

nginx抱502 bad gateway错误

检查日志,发现
2018/06/03 13:54:16 [crit] 7784#0: *1 connect() to 0.0.0.0:8000 failed (13: Permission denied) while connecting to upstream, client: 10.17.4.128, server: localhost, request: "GET / HTTP/1.1", upstream: "http://0.0.0.0:8000/", host: "172.16.22.110"

权限管理说明建议

权限列表里面有很多权限,可以根据用户自己的需求,自定义,很灵活,要是有粗略的需求,如审计员、运维员,管理员等权限的时候,得自己找对应的,建议:出厂有这三个管理员就好了,同时保留原有的灵活性。

执行python manage.py makemigrations webterminal报错

Traceback (most recent call last):
File "manage.py", line 22, in
execute_from_command_line(sys.argv)
File "/usr/lib64/python2.7/site-packages/django/core/management/init.py", line 364, in execute_from_command_line
utility.execute()
File "/usr/lib64/python2.7/site-packages/django/core/management/init.py", line 338, in execute
django.setup()
File "/usr/lib64/python2.7/site-packages/django/init.py", line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/lib64/python2.7/site-packages/django/apps/registry.py", line 116, in populate
app_config.ready()
File "/usr/lib/python2.7/site-packages/channels/apps.py", line 17, in ready
monkeypatch_django()
File "/usr/lib/python2.7/site-packages/channels/hacks.py", line 10, in monkeypatch_django
from .management.commands.runserver import Command as RunserverCommand
File "/usr/lib/python2.7/site-packages/channels/management/commands/runserver.py", line 5, in
from daphne.server import Server, build_endpoint_description_strings
File "/usr/lib/python2.7/site-packages/daphne/server.py", line 8, in
from twisted.internet import reactor, defer
File "/usr/lib64/python2.7/site-packages/twisted/internet/reactor.py", line 38, in
from twisted.internet import default
File "/usr/lib64/python2.7/site-packages/twisted/internet/default.py", line 56, in
install = _getInstallFunction(platform)
File "/usr/lib64/python2.7/site-packages/twisted/internet/default.py", line 44, in _getInstallFunction
from twisted.internet.epollreactor import install
File "/usr/lib64/python2.7/site-packages/twisted/internet/epollreactor.py", line 24, in
from twisted.internet import posixbase
File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 18, in
from twisted.internet import error, udp, tcp
File "/usr/lib64/python2.7/site-packages/twisted/internet/tcp.py", line 28, in
from twisted.internet._newtls import (
File "/usr/lib64/python2.7/site-packages/twisted/internet/_newtls.py", line 21, in
from twisted.protocols.tls import TLSMemoryBIOFactory, TLSMemoryBIOProtocol
File "/usr/lib64/python2.7/site-packages/twisted/protocols/tls.py", line 63, in
from twisted.internet._sslverify import _setAcceptableProtocols
File "/usr/lib64/python2.7/site-packages/twisted/internet/_sslverify.py", line 38, in
TLSVersion.TLSv1_1: SSL.OP_NO_TLSv1_1,
AttributeError: 'module' object has no attribute 'OP_NO_TLSv1_1'

使用双因子验证的服务器登录有问题

Can not connect to server: ('Bad authentication type', [u'gssapi-keyex', u'gssapi-with-mic', u'keyboard-interactive']) (allowed_types=[u'gssapi-keyex', u'gssapi-with-mic', u'keyboard-interactive'])

服务器配置了ssh登录需要双因子验证。使用keyboard-interactive方式登录。现在不支持。
keyboard-interactive需输入两次密码。

每點擊新頁面彈出 ssh 連結

每點擊新頁面彈出 ssh 連結,chrome 提示 要開啓『WINSCP:SFTP...and SCP Client 』嗎?如果選擇開啓會打開一putty 連結到 "test" . "test" 不存在所以putty 沒有反應。

在 chrome 的 developer tool 追蹤到

openUriWithTimeoutHack @ protocolcheck.js:74
  module.exports @
  (anonymous) @
  i @
  fireWith @
  ready @
  J @

rdp 和 ssh 連線功能能正常使用的,

guacmole probleme

Actually i had a problem after connecting to server and do what ever i want
and when i close the connection there is no replay or i see the line of replay but no replays was found
and a an error is finded in runserver console with :

[2018/03/29 09:07:07] HTTP GET /guacamole/2/ 200 [0.02, 192.168.1.100:51844] [2018/03/29 09:07:07] WebSocket HANDSHAKING /guacamole/2/ [192.168.1.100:51845] [2018/03/29 09:07:07] WebSocket CONNECT /guacamole/2/ [192.168.1.100:51845] [2018/03/29 09:09:51] WebSocket DISCONNECT /guacamole/2/ [192.168.1.100:51845] disconnect [2018/03/29 09:09:51] HTTP POST /sshterminalkill/ 200 [0.06, 192.168.1.100:51848] Exception in thread Thread-14: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 804, in __bootstrap_inner self.run() File "/opt/webterminal/guacamole/guacamolethreading.py", line 54, in run instruction = self.client.receive() File "/opt/webterminal/guacamole/client.py", line 109, in receive buf = self.client.recv(BUF_LEN) timeout: timed out

this is the first probleme
the second probleme how users that i add it can connect because whene i try to add user it add normally but whene he try to connect from a django administration page it said sorry this only for staff_team something like that
and when i give him a staff_team member he can do everything to the other users he can delet them and add permission to them ................
please give me answers

color vim

今天因SFTP文件上传下载看到当前项目,想起去年就是借鉴贵项目的web终端,当时发现不能彩色vim的问题。
webterminal/webterminal/consumers.py
105 chan = self.ssh.invoke_shell(width=width, height=height,)
============>
chan = self.ssh.invoke_shell(term='xterm', width=width, height=height,)

默认是哑终端,设置终端为xterm、vt100等可使vi为彩色。

Replay doesn't work

sorry bro for asking too match but i really need you'r project in my company and the replay doesn't work for me and add the permission to see the log info and nothing happen i stay click on play and nothing
reader appear but no screen recorded this erreur happen can you help me and you said it's normal :
`Traceback (most recent call last):
File "/usr/lib64/python2.7/threading.py", line 804, in __bootstrap_inner
self.run()
File "/opt/webterminal/guacamole/guacamolethreading.py", line 54, in run
instruction = self.client.receive()
File "/opt/webterminal/guacamole/client.py", line 109, in receive
buf = self.client.recv(BUF_LEN)
timeout: timed out

this erreur when i disconnect and no other erreur happen [2018/03/29 18:14:55] HTTP GET /guacamole/logplay/1/ 200 [0.06, 192.168.1.12:55849]
[2018/03/29 18:14:55] HTTP GET /static/css/playback.css 304 [0.02, 192.168.1.12:55849]
[2018/03/29 18:14:55] HTTP GET /static/plugins/guacamole/all.min.js?=1522347292672 200 [0.02, 192.168.1.12:55851]
[2018/03/29 18:14:55] HTTP GET /static/plugins/guacamole/playback.js?
=1522347292673 200 [0.02, 192.168.1.12:55851]
Not Found: /media/2018-3-29/1135d31a-f2b3-47cf-b1c9-630ad3e330eb
[2018/03/29 18:14:55] HTTP GET /media/2018-3-29/1135d31a-f2b3-47cf-b1c9-630ad3e330eb 404 [0.05, 192.168.1.12:55851]
`

please help me :D

the replay work with ssh but rdp no

python2 posix_shell方法中在对部分中文编码通过u()方法转成unicode会触发报错

错误详情如下:
2019-01-29 01:57:40,347 [Thread-103:139751908353792] [webterminal_logger:154] [WARNING]- Traceback (most recent call last):
File "/opt/ncm_proj/ncm_sync/apps/webterminal/interactive.py", line 152, in posix_shell
x = u(x)
File "/usr/local/lib/python2.7/site-packages/paramiko/py3compat.py", line 70, in u
return s.decode(encoding)
File "/usr/local/lib/python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe8 in position 0: unexpected end of data

Multi factor authentif8cation

this kind of platform need a multifactor authentification to use it
pleasd add it as soon as possible to allow companny use you 'r project
(just a little advice ) and good job

Not able to run

./manage.py runserver
Unhandled exception in thread started by <function check_errors..wrapper at 0x7fabab4a0620>
Traceback (most recent call last):
File "/home/vino/py3/lib/python3.5/site-packages/django/utils/autoreload.py", line 228, in wrapper
fn(args, **kwargs)
File "/home/vino/py3/lib/python3.5/site-packages/django/core/management/commands/runserver.py", line 117, in inner_run
autoreload.raise_last_exception()
File "/home/vino/py3/lib/python3.5/site-packages/django/utils/autoreload.py", line 251, in raise_last_exception
six.reraise(
_exception)
File "/home/vino/py3/lib/python3.5/site-packages/django/utils/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/home/vino/py3/lib/python3.5/site-packages/django/utils/autoreload.py", line 228, in wrapper
fn(*args, **kwargs)
File "/home/vino/py3/lib/python3.5/site-packages/django/init.py", line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File "/home/vino/py3/lib/python3.5/site-packages/django/apps/registry.py", line 108, in populate
app_config.import_models()
File "/home/vino/py3/lib/python3.5/site-packages/django/apps/config.py", line 202, in import_models
self.models_module = import_module(models_module_name)
File "/home/vino/py3/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 673, in _load_unlocked
File "", line 665, in exec_module
File "", line 222, in _call_with_frames_removed
File "/home/vino/scripts/webterminal/elfinder/models.py", line 2, in
from elfinder.fields import ElfinderField
File "/home/vino/scripts/webterminal/elfinder/fields.py", line 6, in
from utils.volumes import get_path_driver
File "/home/vino/scripts/webterminal/elfinder/utils/volumes.py", line 3, in
from elfinder.conf import settings as ls
File "/home/vino/scripts/webterminal/elfinder/conf/settings.py", line 4, in
from elfinder.volumes.filesystem import ElfinderVolumeLocalFileSystem
File "/home/vino/scripts/webterminal/elfinder/volumes/filesystem.py", line 29
self._options['dirMode'] = 0755 #new dirs mode
^
SyntaxError: invalid token

webcocket,漏洞

我用一个简单网页就能链接服务端的ws://0.0.0.0:8000/ws,不需要任何验证和tocken.

权限问题

希望可以允许 个人账号可以 修改自身的登录密码

Asking Questions

Hi ,
i just wanna ask if you can add Calendar restriction and "Commands restriction" and solve the probleme of logout
"calendar restriction" means that there is some users that are not authorised to use webterminal in a periode of Time or in some days
"Commands restriction" can you add it in SSH/telnet Connexion that we can limit commands like if users use Sudo ..... the cannection will be cut off

i hope you add this in somedays and thank you

get information

hello sir
i wanna know if we can add an RDP sessions ? is this possible ?

Make hosts password automatic

actually i need to stock all passwords's hosts into database then web terminal will get password from a database and connect to the server
this will be more secure because users will never know host's password
can i make dat ?? if it's possible please give me the name of the script that i can change into it to achieve this
because i don't know the conception of you r project

你的项目下午安装了下

centos6.8 py2.7 安装过程出现好多问题(pysqlite问题,glibc2.14问题等),经过几个小时努力终于安装好。 运行起来进入项目,项目组不能创建,ssh也不能使用。提交就出现错误,可以说整个项目只能打开index页面。

请问接下来该如何操作。

你好

能加个联系方式吗

项目的安装问题

使用docker安装,每次更新完毕后,配置都不在了,很是不方便,使用命令安装,往往有些复杂,安装不上,建议,是否可以做一个脚本文件,来一键安装,安装完毕后,下次开启,自动启动相关服务。这样更方便使用和推广。
谢谢!项目创始人!

Normal user gui and connection page

hello sir , i wanna ask
did u add a normal user interface / login page or not yet ?
i wanna know if this project also can be runned on mysql instead of sqlite if it be
what i change and thank you so much

shell exec

You can report it to me'ascii' codec can't encode characters inposition 94-95: ordinal not in range(

Always same probleme we can't capture vnc/rdp sessions

js 304 [0.02, 192.168.1.14:54009]
[2018/04/05 19:32:44] HTTP GET /static/img/user1.jpg 304 [0.03, 192.168.1.14:54019]
[2018/04/05 19:32:44] HTTP GET /static/fonts/toadOcfmlt9b38dHJxOBGEo0As1BFRXtCDhS66znb_k.woff2 304 [0.03, 192.168.1.14:54011]
[2018/04/05 19:32:44] HTTP GET /static/fonts/ODelI1aHBYDBqgeIAH2zlNV_2ngZ8dMf8fLgjYEouxg.woff2 304 [0.03, 192.168.1.14:54020]
[2018/04/05 19:32:46] HTTP GET /sshlogslist/ 200 [0.05, 192.168.1.14:54020]
[2018/04/05 19:32:48] HTTP GET /guacamole/logplay/1/ 200 [0.04, 192.168.1.14:54020]
[2018/04/05 19:32:48] HTTP GET /static/plugins/guacamole/all.min.js?=1522956766230 200 [0.04, 192.168.1.14:54020]
[2018/04/05 19:32:48] HTTP GET /static/plugins/guacamole/playback.js?
=1522956766231 200 [0.05, 192.168.1.14:54020]
Not Found: /media/2018-4-5/88398d77-db56-4c86-9f10-86c9401f0a2c
[2018/04/05 19:32:48] HTTP GET /media/2018-4-5/88398d77-db56-4c86-9f10-86c9401f0a2c 404 [0.05, 192.168.1.14:54020]

please helpp we can't reaad rdp session log and vnc sessions
you said that you solve the capture rdp session after updating installation doc but always nothing happen when we try to replay the session we click on replay and nothing happen
however ssh works fine come on bro
you have an other problme with logout when you try to logout then log in in the same page of logout you can't log in you problem in url
please help me to solve the first problem with vnc and rdp session
also an interface for normal user doesn't exist we are waiting for the first time to fix rdp sessions reader and vnc session reader

在web terminal shell上打exit会有问题

            if x == "exit\r\n" or x == "logout\r\n" or x == 'logout':
                chan.close()
            else:
                if isinstance(x,unicode):
                    stdout.append([delay,x])
                else:
                    stdout.append([delay,codecs.getincrementaldecoder('UTF-8')('replace').decode(x)])

这一段上x是bytes类型的 比较我觉得要转成str先
stdout.append([delay,codecs.getincrementaldecoder('UTF-8')('replace').decode(x)])
这段应该要在if x == "exit\r\n" or x == "logout\r\n" or x == 'logout':
chan.close()
这里的close上放一个

前台putty关闭后,后台到服务器的连接没有中断

使用docker最新版安装后,我主要测试对网络设备的兼容情况,测试后发现,有后台连接不中断的情况,造成设备登录几次后,连接数占满无法继续登录。具体有如下情况,
1、到某些型号的网络设备(Juniper防火墙)关闭putty或者输入exit退出后,后台连接均未中断。
通过命令exit断开putty的日志
INFO:paramiko.transport:Authentication (password) successful!
DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes
DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 0 opened.
DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
DEBUG:paramiko.transport:[chan 0] EOF received (0)
DEBUG:paramiko.transport:[chan 0] EOF sent (0)
DEBUG:paramiko.transport:[chan 0] EOF sent (0)
DEBUG:paramiko.transport:[chan 0] EOF received (0)
DEBUG:paramiko.transport:EOF in transport thread
直接关闭putty的日志
INFO:paramiko.transport:Authentication (password) successful!
DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes
DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 0 opened.
DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
DEBUG:paramiko.transport:EOF in transport thread

2、某些型号的设备(某些华为交换机)
通过exit退出putty,后台日志,这种情况下,后台连接立刻中断
INFO:paramiko.transport:Authentication (password) successful!
DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes
DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 0 opened.
DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
DEBUG:paramiko.transport:[chan 0] EOF sent (0)
DEBUG:paramiko.transport:Ignoring message for dead channel 0
INFO:paramiko.transport:Disconnect (code 2): The connection is closed by SSH server
DEBUG:paramiko.transport:[chan 0] EOF sent (0)
DEBUG:paramiko.transport:[chan 0] EOF received (0)
DEBUG:paramiko.transport:EOF in transport thread

直接关闭putty的日志与juniper防火墙日志一致,但华为交换机直接关闭后大概15分钟后,后台连接中断,出现了日志
INFO:paramiko.transport:Disconnect (code 2): The connection is closed by SSH server
juniper防火墙永不终端

GuacamoleWebsocket 在python3运行问题

大佬,我把你的有关Guacamole的后端代码用最新的django-channel,改了一下,前端代码没弄,但是每次连接都会提示如下:
WebSocket connection to 'ws://10.1.19.10:8000/guacamole/?undefined' failed: Error during WebSocket handshake: Unexpected response code: 500

我不太明白传的参数为什么是undefined,需要修改js的代码么?

probleme installation

when i try python manager.py makemigration something went wrong
i use fedora 27
Traceback (most recent call last): File "manage.py", line 22, in <module> execute_from_command_line(sys.argv) File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line utility.execute() File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 356, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 283, in run_from_argv self.execute(*args, **cmd_options) File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 327, in execute self.check() File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 359, in check include_deployment_checks=include_deployment_checks, File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 346, in _run_checks return checks.run_checks(**kwargs) File "/usr/lib/python2.7/site-packages/django/core/checks/registry.py", line 81, in run_checks new_errors = check(app_configs=app_configs) File "/usr/lib/python2.7/site-packages/django/core/checks/urls.py", line 16, in check_url_config return check_resolver(resolver) File "/usr/lib/python2.7/site-packages/django/core/checks/urls.py", line 26, in check_resolver return check_method() File "/usr/lib/python2.7/site-packages/django/urls/resolvers.py", line 254, in check for pattern in self.url_patterns: File "/usr/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/lib/python2.7/site-packages/django/urls/resolvers.py", line 405, in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) File "/usr/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/lib/python2.7/site-packages/django/urls/resolvers.py", line 398, in urlconf_module return import_module(self.urlconf_name) File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/opt/webterminal/webterminal/urls.py", line 63, in <module> url(r'^permission/',include('permission.urls')), File "/usr/lib/python2.7/site-packages/django/conf/urls/__init__.py", line 50, in include urlconf_module = import_module(urlconf_module) File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/opt/webterminal/permission/urls.py", line 3, in <module> from permission.views import UserRegister,UserUpdate,UserList,UserDelete File "/opt/webterminal/permission/views.py", line 6, in <module> from permission.forms import RegisterForm,PermissionForm File "/opt/webterminal/permission/forms.py", line 76, in <module> class PermissionForm(forms.ModelForm): File "/opt/webterminal/permission/forms.py", line 88, in PermissionForm class Meta: File "/opt/webterminal/permission/forms.py", line 92, in Meta 'permissions': forms.SelectMultiple(choices=[(app.id,app.model) for app in ContentType.objects.filter(app_label='webterminal')]), File "/usr/lib/python2.7/site-packages/django/db/models/query.py", line 250, in __iter__ self._fetch_all() File "/usr/lib/python2.7/site-packages/django/db/models/query.py", line 1118, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/lib/python2.7/site-packages/django/db/models/query.py", line 53, in __iter__ results = compiler.execute_sql(chunked_fetch=self.chunked_fetch) File "/usr/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 894, in execute_sql raise original_exception django.db.utils.OperationalError: no such table: django_content_type [dali@localhost webterminal]$

Change timezone of log list

Hi Jimmy,

May i know how to change timezone of log list?

timezone of container is correct already but timezone under this page is still UTC +0
2019-05-03_19-42-44

js bug

在你的代码/templates/webterminal/credentialcreate.html中,有这么一行代码schemas["$.password"] = schema;将导致无论是添加的密钥登录还是密码登录都将会以password字段传给后台程序,导致在添加密钥登录时会报错

centos7 编译安装无G盘

文件上传五G盘,日志出现:
guacd[13088]: Failed to load guacdr plugin. Drive redirection and printing will not work. Sound MAY not work.
guacd[13088]: Failed to load guacsnd alongside guacdr plugin. Sound will not work. Drive redirection and printing MAY not work.

这个问题是freerdp的库默认安装在/usr/local/lib/freerdp下了,copy到centos默认的路径就行。
cp /usr/local/lib/freerdp/* /usr/lib64/freerdp/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.