app package

Subpackages

Submodules

app.admin module

class app.admin.ArticleAdmin(model, admin_site)

Bases: ModelAdmin

property media

app.apps module

class app.apps.AppConfig(app_name, app_module)

Bases: AppConfig

name = 'app'

app.models module

class app.models.Server(id, name, token, vnc_password)

Bases: Model

exception DoesNotExist

Bases: ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: MultipleObjectsReturned

id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <django.db.models.manager.Manager object>
token

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

vnc_password

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class app.models.forensicVM(id, name, forensicImage, osDetected, vncHost, vncPort)

Bases: Model

exception DoesNotExist

Bases: ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: MultipleObjectsReturned

forensicImage

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <django.db.models.manager.Manager object>
osDetected

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

vncHost

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

vncPort

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

app.tests module

app.views module

class app.views.ProxyNetdata(*args, **kwargs)

Bases: LoginRequiredMixin, ProxyView

login_url = '/login/'
redirect_field_name = 'next'
upstream = 'http://localhost:19999'
class app.views.ProxyShellbox(*args, **kwargs)

Bases: LoginRequiredMixin, ProxyView

login_url = '/login/'
redirect_field_name = 'next'
upstream = 'http://localhost:4200'
class app.views.VMListView(**kwargs)

Bases: View

get(request)
process_info_file(info_file, uuid)
app.views.register(request)
app.views.vnc_proxy(request)

VNC agente de controlo remoto

app.views.vnc_proxy_http(request)

VNC agente de controlo remoto

Module contents