__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/usr/bin/python3
import sqlite3
import apt_pkg
apt_pkg.init()
class SqliteDatabase(object):
def __init__(self, filename):
self.con = sqlite3.connect(filename)
self.component = ""
def lookup(self, command):
# deal with invalid unicode (LP: #1130444)
command = command.encode("utf-8", "surrogateescape").decode("utf-8", "replace")
results = []
for row in self.con.execute(
"""
SELECT packages.name, packages.version, packages.component
FROM commands
INNER JOIN packages on packages.pkgID = commands.pkgID
WHERE commands.command=?
ORDER BY packages.priority DESC
""", (command,)).fetchall():
results.append( (row[0], row[1], row[2]) )
return results
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __pycache__ | Folder | 0755 |
|
|
| __init__.py | File | 39 B | 0644 |
|
| creator.py | File | 11.95 KB | 0644 |
|
| db.py | File | 868 B | 0644 |
|