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.216.198
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib /
rpm /
Delete
Unzip
Name
Size
Permission
Date
Action
fileattrs
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
macros.d
[ DIR ]
drwxr-xr-x
2026-06-18 22:42
platform
[ DIR ]
drwxr-xr-x
2026-02-08 07:44
redhat
[ DIR ]
drwxr-xr-x
2026-04-30 22:04
alt-nodejs10-fixdep
3.48
KB
-rwxr-xr-x
2022-04-13 18:57
alt-nodejs10-provide.sh
70
B
-rwxr-xr-x
2022-04-13 18:57
alt-nodejs10-require.sh
69
B
-rwxr-xr-x
2022-04-13 18:57
alt-nodejs10-symlink-deps
4.92
KB
-rwxr-xr-x
2022-04-13 18:57
alt-nodejs10.prov
1.92
KB
-rwxr-xr-x
2022-04-13 18:57
alt-nodejs10.req
6.75
KB
-rwxr-xr-x
2022-04-13 18:57
alt-nodejs10_native.req
70
B
-rwxr-xr-x
2023-03-22 14:54
alt-nodejs11-fixdep
3.48
KB
-rwxr-xr-x
2022-04-13 19:06
alt-nodejs11-provide.sh
70
B
-rwxr-xr-x
2022-04-13 19:06
alt-nodejs11-require.sh
69
B
-rwxr-xr-x
2022-04-13 19:06
alt-nodejs11-symlink-deps
4.92
KB
-rwxr-xr-x
2022-04-13 19:06
alt-nodejs11.prov
1.92
KB
-rwxr-xr-x
2022-04-13 19:06
alt-nodejs11.req
6.75
KB
-rwxr-xr-x
2022-04-13 19:06
alt-nodejs11_native.req
70
B
-rwxr-xr-x
2021-10-19 13:39
alt-nodejs12-fixdep
3.48
KB
-rwxr-xr-x
2022-04-13 19:13
alt-nodejs12-provide.sh
70
B
-rwxr-xr-x
2022-04-13 19:13
alt-nodejs12-require.sh
69
B
-rwxr-xr-x
2022-04-13 19:13
alt-nodejs12-symlink-deps
4.92
KB
-rwxr-xr-x
2022-04-13 19:13
alt-nodejs12.prov
1.92
KB
-rwxr-xr-x
2022-04-13 19:13
alt-nodejs12.req
6.75
KB
-rwxr-xr-x
2022-04-13 19:13
alt-nodejs12_native.req
70
B
-rwxr-xr-x
2026-03-09 10:58
alt-nodejs14-fixdep
3.48
KB
-rwxr-xr-x
2022-04-13 19:23
alt-nodejs14-provide.sh
70
B
-rwxr-xr-x
2022-04-13 19:23
alt-nodejs14-require.sh
69
B
-rwxr-xr-x
2022-04-13 19:23
alt-nodejs14-symlink-deps
4.92
KB
-rwxr-xr-x
2022-04-13 19:23
alt-nodejs14.prov
1.92
KB
-rwxr-xr-x
2022-04-13 19:23
alt-nodejs14.req
6.75
KB
-rwxr-xr-x
2022-04-13 19:23
alt-nodejs14_native.req
70
B
-rwxr-xr-x
2026-02-23 00:17
alt-nodejs16-fixdep
3.49
KB
-rwxr-xr-x
2022-04-13 19:29
alt-nodejs16-provide.sh
70
B
-rwxr-xr-x
2022-04-13 19:29
alt-nodejs16-require.sh
69
B
-rwxr-xr-x
2022-04-13 19:29
alt-nodejs16-symlink-deps
4.93
KB
-rwxr-xr-x
2022-04-13 19:29
alt-nodejs16.prov
1.93
KB
-rwxr-xr-x
2022-04-13 19:29
alt-nodejs16.req
6.76
KB
-rwxr-xr-x
2022-04-13 19:29
alt-nodejs16_native.req
40
B
-rwxr-xr-x
2026-03-17 10:36
alt-nodejs18-fixdep
3.49
KB
-rwxr-xr-x
2022-07-05 21:32
alt-nodejs18-provide.sh
70
B
-rwxr-xr-x
2022-07-05 21:32
alt-nodejs18-require.sh
69
B
-rwxr-xr-x
2022-07-05 21:32
alt-nodejs18-symlink-deps
5.23
KB
-rwxr-xr-x
2022-07-05 21:32
alt-nodejs18.prov
1.93
KB
-rwxr-xr-x
2022-07-05 21:32
alt-nodejs18.req
6.76
KB
-rwxr-xr-x
2022-07-05 21:32
alt-nodejs18_native.req
40
B
-rwxr-xr-x
2026-03-09 12:55
alt-nodejs19-fixdep
3.49
KB
-rwxr-xr-x
2022-11-22 16:38
alt-nodejs19-provide.sh
70
B
-rwxr-xr-x
2022-11-22 16:38
alt-nodejs19-require.sh
69
B
-rwxr-xr-x
2022-11-22 16:38
alt-nodejs19-symlink-deps
5.23
KB
-rwxr-xr-x
2022-11-22 16:38
alt-nodejs19.prov
1.93
KB
-rwxr-xr-x
2022-11-22 16:38
alt-nodejs19.req
6.76
KB
-rwxr-xr-x
2022-11-22 16:38
alt-nodejs19_native.req
39
B
-rwxr-xr-x
2023-12-06 21:56
alt-nodejs20-fixdep
3.48
KB
-rwxr-xr-x
2023-05-22 17:50
alt-nodejs20-provide.sh
70
B
-rwxr-xr-x
2023-05-22 17:50
alt-nodejs20-require.sh
69
B
-rwxr-xr-x
2023-05-22 17:50
alt-nodejs20-symlink-deps
5.22
KB
-rwxr-xr-x
2023-05-22 17:50
alt-nodejs20.prov
1.92
KB
-rwxr-xr-x
2023-05-22 17:50
alt-nodejs20.req
6.75
KB
-rwxr-xr-x
2023-05-22 17:50
alt-nodejs20_native.req
40
B
-rwxr-xr-x
2026-04-09 16:20
alt-nodejs22-fixdep
3.49
KB
-rwxr-xr-x
2024-05-22 14:05
alt-nodejs22-provide.sh
70
B
-rwxr-xr-x
2024-05-22 14:05
alt-nodejs22-require.sh
69
B
-rwxr-xr-x
2024-05-22 14:05
alt-nodejs22-symlink-deps
5.23
KB
-rwxr-xr-x
2024-05-22 14:05
alt-nodejs22.prov
1.93
KB
-rwxr-xr-x
2024-05-22 14:05
alt-nodejs22.req
6.76
KB
-rwxr-xr-x
2024-05-22 14:05
alt-nodejs22_native.req
40
B
-rwxr-xr-x
2026-04-09 15:01
alt-nodejs24-fixdep
3.49
KB
-rwxr-xr-x
2025-06-09 00:02
alt-nodejs24-provide.sh
70
B
-rwxr-xr-x
2025-06-09 00:02
alt-nodejs24-require.sh
69
B
-rwxr-xr-x
2025-06-09 00:02
alt-nodejs24-symlink-deps
5.23
KB
-rwxr-xr-x
2025-06-09 00:02
alt-nodejs24.prov
1.93
KB
-rwxr-xr-x
2025-06-09 00:02
alt-nodejs24.req
6.76
KB
-rwxr-xr-x
2025-06-09 00:02
alt-nodejs24_native.req
40
B
-rwxr-xr-x
2026-04-09 13:46
alt-nodejs6-fixdep
3.49
KB
-rwxr-xr-x
2022-04-13 18:28
alt-nodejs6-provide.sh
69
B
-rwxr-xr-x
2022-04-13 18:28
alt-nodejs6-require.sh
68
B
-rwxr-xr-x
2022-04-13 18:28
alt-nodejs6-symlink-deps
4.92
KB
-rwxr-xr-x
2022-04-13 18:28
alt-nodejs6.prov
1.92
KB
-rwxr-xr-x
2022-04-13 18:28
alt-nodejs6.req
6.75
KB
-rwxr-xr-x
2022-04-13 18:28
alt-nodejs6_native.req
64
B
-rwxr-xr-x
2021-09-28 13:11
alt-nodejs8-fixdep
3.49
KB
-rwxr-xr-x
2022-04-13 18:35
alt-nodejs8-provide.sh
69
B
-rwxr-xr-x
2022-04-13 18:35
alt-nodejs8-require.sh
68
B
-rwxr-xr-x
2022-04-13 18:35
alt-nodejs8-symlink-deps
4.92
KB
-rwxr-xr-x
2022-04-13 18:35
alt-nodejs8.prov
1.92
KB
-rwxr-xr-x
2022-04-13 18:35
alt-nodejs8.req
6.75
KB
-rwxr-xr-x
2022-04-13 18:35
alt-nodejs8_native.req
68
B
-rwxr-xr-x
2021-09-28 14:25
alt-nodejs9-fixdep
3.49
KB
-rwxr-xr-x
2022-04-13 18:47
alt-nodejs9-provide.sh
69
B
-rwxr-xr-x
2022-04-13 18:47
alt-nodejs9-require.sh
68
B
-rwxr-xr-x
2022-04-13 18:47
alt-nodejs9-symlink-deps
4.92
KB
-rwxr-xr-x
2022-04-13 18:47
alt-nodejs9.prov
1.92
KB
-rwxr-xr-x
2022-04-13 18:47
alt-nodejs9.req
6.75
KB
-rwxr-xr-x
2022-04-13 18:47
alt-nodejs9_native.req
68
B
-rwxr-xr-x
2021-09-28 15:27
brp-scl-compress
1.77
KB
-rwxr-xr-x
2017-08-25 12:53
brp-scl-python-bytecompile
3.04
KB
-rwxr-xr-x
2017-08-25 12:53
kabi.sh
468
B
-rwxr-xr-x
2023-05-15 18:00
kmod.prov
682
B
-rwxr-xr-x
2023-05-15 18:00
macros
42.96
KB
-rw-r--r--
2024-12-17 07:41
nodejs_native.req
70
B
-rwxr-xr-x
2021-03-10 18:17
python-macro-helper
634
B
-rw-r--r--
2024-12-17 07:41
pythondeps.sh
921
B
-rwxr-xr-x
2023-03-31 19:14
pythondistdeps.py
10.92
KB
-rwxr-xr-x
2023-03-31 19:14
rpm.daily
296
B
-rw-r--r--
2024-12-17 07:41
rpm.log
61
B
-rw-r--r--
2024-12-17 07:41
rpm.supp
688
B
-rw-r--r--
2024-12-17 07:41
rpm2cpio.sh
1.22
KB
-rwxr-xr-x
2024-12-17 07:41
rpmdb_loadcvt
1.43
KB
-rwxr-xr-x
2024-12-17 07:41
rpmpopt-4.14.3
11.2
KB
-rw-r--r--
2024-12-17 07:41
rpmrc
16.75
KB
-rw-r--r--
2024-12-17 07:41
rubygems.con
1.46
KB
-rwxr-xr-x
2023-06-06 18:25
rubygems.prov
870
B
-rwxr-xr-x
2023-06-06 18:25
rubygems.req
2.73
KB
-rwxr-xr-x
2026-04-07 17:42
scldeps.sh
254
B
-rwxr-xr-x
2017-08-25 12:53
tgpg
929
B
-rwxr-xr-x
2024-12-17 07:41
Save
Rename
#!/usr/bin/python2 """ Automatic dependency generator for Node.js libraries. Parsed from package.json. See `man npm-json` for details. """ # Copyright 2012, 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS # IN THE SOFTWARE. from __future__ import unicode_literals import json import os import re import subprocess import sys RE_VERSION = re.compile(r'\s*v?([<>=~^]{0,2})\s*([0-9][0-9\.\-]*)\s*') def main(): #npm2rpm uses functions here to write BuildRequires so don't print anything #until the very end deps = [] #it's highly unlikely that we'll ever get more than one file but we handle #this like all RPM automatic dependency generation scripts anyway paths = [path.rstrip() for path in sys.stdin.readlines()] for path in paths: if not path.endswith('package.json'): continue # we only want the package.json in the toplevel module directory pathparts = path.split(os.sep) if not pathparts[-5:-2] == ['usr', 'lib', 'node_modules']: continue fh = open(path) metadata = json.load(fh) fh.close() #write out the node.js interpreter dependency req = 'alt-nodejs6-nodejs(engine)' if 'engines' in metadata and isinstance(metadata['engines'], dict) \ and 'node' in metadata['engines']: deps += process_dep(req, metadata['engines']['node']) else: deps.append(req) if 'dependencies' in metadata: if isinstance(metadata['dependencies'], dict): for name, version in metadata['dependencies'].iteritems(): req = 'alt-nodejs6-npm(' + name + ')' deps += process_dep(req, version) elif isinstance(metadata['dependencies'], list): for name in metadata['dependencies']: req = 'alt-nodejs6-npm(' + name + ')' deps.append(req) elif isinstance(metadata['dependencies'], basestring): req = 'alt-nodejs6-npm(' + metadata['dependencies'] + ')' deps.append(req) else: raise TypeError('invalid package.json: dependencies not a valid type') print '\n'.join(deps) # invoke the regular RPM requires generator p = subprocess.Popen(['/usr/lib/rpm/find-requires'], stdout=subprocess.PIPE, stdin=subprocess.PIPE) print p.communicate(input='\n'.join(paths))[0] def process_dep(req, version): """Converts an individual npm dependency into RPM dependencies""" deps = [] #there's no way RPM can do anything like an OR dependency if '||' in version: sys.stderr.write("WARNING: The {0} dependency contains an ".format(req) + "OR (||) dependency: '{0}.\nPlease manually include ".format(version) + "a versioned dependency in your spec file if necessary") deps.append(req) elif ' - ' in version: gt, lt = version.split(' - ') deps.append(req + ' >= ' + gt) deps.append(req + ' <= ' + lt) else: m = re.match(RE_VERSION, version) if m: deps += convert_dep(req, m.group(1), m.group(2)) #There could be up to two versions here (e.g.">1.0 <3.1") if len(version) > m.end(): m = re.match(RE_VERSION, version[m.end():]) if m: deps += convert_dep(req, m.group(1), m.group(2)) else: deps.append(req) return deps def convert_dep(req, operator, version): """Converts one of the two possibly listed versions into an RPM dependency""" deps = [] #any version will do if not version or version == '*': deps.append(req) #any prefix but ~ makes things dead simple elif operator in ['>', '<', '<=', '>=', '=']: deps.append(' '.join([req, operator, version])) #oh boy, here we go... else: #split the dotted portions into a list (handling trailing dots properly) parts = [part if part else 'x' for part in version.split('.')] parts = [int(part) if part != 'x' and not '-' in part else part for part in parts] # 1 or 1.x or 1.x.x or ~1 or ^1 if len(parts) == 1 or parts[1] == 'x': if parts[0] != 0: deps.append('{0} >= {1}'.format(req, parts[0])) deps.append('{0} < {1}'.format(req, parts[0]+1)) # 1.2.3 or 1.2.3-4 or 1.2.x or ~1.2.3 or ^1.2.3 or 1.2 elif len(parts) == 3 or operator != '~': # 1.2.x or 1.2 if len(parts) == 2 or parts[2] == 'x': deps.append('{0} >= {1}.{2}'.format(req, parts[0], parts[1])) deps.append('{0} < {1}.{2}'.format(req, parts[0], parts[1]+1)) # ~1.2.3 or ^0.1.2 (zero is special with the caret operator) elif operator == '~' or (operator == '^' and parts[0] == 0 and parts[1] > 0): deps.append('{0} >= {1}'.format(req, version)) deps.append('{0} < {1}.{2}'.format(req, parts[0], parts[1]+1)) #^1.2.3 elif operator == '^' and parts[0:1] != [0,0]: deps.append('{0} >= {1}'.format(req, version)) deps.append('{0} < {1}'.format(req, parts[0]+1)) # 1.2.3 or 1.2.3-4 or ^0.0.3 else: deps.append('{0} = {1}'.format(req, version)) # ~1.2 elif operator == '~': deps.append('{0} >= {1}'.format(req, version)) deps.append('{0} < {1}'.format(req, parts[0]+1)) #^1.2 elif operator == '^': deps.append('{0} >= {1}'.format(req, version)) deps.append('{0} < {1}'.format(req, parts[0]+1)) return deps if __name__ == '__main__': main()