Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.1.1 & Your IP : 18.191.165.252
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
python3-debian /
examples /
debtags /
Delete
Unzip
Name
Size
Permission
Date
Action
pkgwalk
4.38
KB
-rwxr-xr-x
2022-01-16 08:42
reverse
1.19
KB
-rwxr-xr-x
2022-01-16 08:42
smartsearch
7.6
KB
-rwxr-xr-x
2022-01-16 08:42
tagminer
6.65
KB
-rwxr-xr-x
2022-01-16 08:42
tagsbyrelevance
1.69
KB
-rw-r--r--
2022-01-16 08:42
Save
Rename
#!/usr/bin/python3 # debtags - Implement package tags support for Debian # # Copyright (C) 2003--2006 Enrico Zini <enrico@debian.org> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. import sys from debian import debtags input = sys.stdin if len(sys.argv) > 1: input = open(sys.argv[1],"r") #db = read_tag_database(input) #db = reverse(db) db = debtags.read_tag_database_reversed(input) #dummy, db = debtags.read_tag_database_both_ways(input) for pkg, tags in db.items(): # Using % here seems awkward to me, but if I use calls to # sys.stdout.write it becomes a bit slower print("%s:" % (pkg), ", ".join(tags))