Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.217.130
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
python27 /
lib64 /
python2.7 /
Demo /
classes /
Delete
Unzip
Name
Size
Permission
Date
Action
Complex.py
9.72
KB
-rwxr-xr-x
2025-01-08 14:12
Dates.py
7.64
KB
-rwxr-xr-x
2025-01-08 14:12
Dbm.py
1.54
KB
-rwxr-xr-x
2025-01-08 14:12
README
522
B
-rwxr-xr-x
2025-01-08 14:12
Range.py
3.05
KB
-rwxr-xr-x
2025-01-08 14:12
Rev.py
2
KB
-rwxr-xr-x
2025-01-08 14:12
Vec.py
1.33
KB
-rwxr-xr-x
2025-01-08 14:12
bitvec.py
10.25
KB
-rwxr-xr-x
2025-01-08 14:12
Save
Rename
# A wrapper around the (optional) built-in class dbm, supporting keys # and values of almost any type instead of just string. # (Actually, this works only for keys and values that can be read back # correctly after being converted to a string.) class Dbm: def __init__(self, filename, mode, perm): import dbm self.db = dbm.open(filename, mode, perm) def __repr__(self): s = '' for key in self.keys(): t = repr(key) + ': ' + repr(self[key]) if s: t = ', ' + t s = s + t return '{' + s + '}' def __len__(self): return len(self.db) def __getitem__(self, key): return eval(self.db[repr(key)]) def __setitem__(self, key, value): self.db[repr(key)] = repr(value) def __delitem__(self, key): del self.db[repr(key)] def keys(self): res = [] for key in self.db.keys(): res.append(eval(key)) return res def has_key(self, key): return self.db.has_key(repr(key)) def test(): d = Dbm('@dbm', 'rw', 0600) print d while 1: try: key = input('key: ') if d.has_key(key): value = d[key] print 'currently:', value value = input('value: ') if value is None: del d[key] else: d[key] = value except KeyboardInterrupt: print '' print d except EOFError: print '[eof]' break print d test()