!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.16 (Debian). PHP/5.3.3-7+squeeze19 

uname -a: Linux mail.tri-specialutilitydistrict.com 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC
2014 x86_64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/pyshared/epsilon/test/   drwxr-xr-x
Free 129.89 GB of 142.11 GB (91.4%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     mantissa-structure.py (1.56 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |

import sys
import os

from os.path import join as opj

projectName = sys.argv[1]

topDir = projectName.capitalize()
codeDir = projectName.lower()

os.mkdir(topDir)
os.mkdir(opj(topDir, codeDir))

file(opj(topDir, codeDir, '__init__.py'), 'w').write("""
# Don't put code here.
from twisted.python.versions import Version
version = Version(%r, 0, 0, 1)

""" %(codeDir,))

file(opj(topDir, codeDir, codeDir+'_model.py'),
     'w').write("""

from axiom.item import Item
from axiom.attributes import text, bytes, integer, reference

class %sStart(Item):
    schemaVersion = 1           # First version of this object.
    typeName = '%s_start'       # Database table name.

    name = text()               # We must have at least one attribute - model
                                # objects must store data.

    def explode(self):
        raise Exception('these should fail until you write some tests!')

""" % (topDir, codeDir))

os.mkdir(opj(topDir, codeDir, 'test'))

file(opj(topDir, codeDir, 'test', '__init__.py'), 'w').write(
    "# Don't put code here.")

file(opj(topDir, codeDir, 'test', 'test_'+codeDir+'.py'),
     'w').write("""

from axiom.store import Store

from twisted.trial import unittest
from %s import %s_model

class BasicTest(unittest.TestCase):
    def setUp(self):
        self.store = Store()

    def testUserWroteTests(self):
        o = %s_model.%sStart(store=self.store,
                    name=u'Test Object')
        self.assertEquals(1, 0)
        o.explode()

    def tearDown(self):
        self.store.close()

""" % (codeDir, codeDir, codeDir, topDir))


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0065 ]--