Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.35
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
git-core /
Delete
Unzip
Name
Size
Permission
Date
Action
mergetools
[ DIR ]
drwxrwxrwx
2020-08-24 23:42
git
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-add
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-add--interactive
36.78
KB
-rwxrwxrwx
2020-04-20 04:07
git-am
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-annotate
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-apply
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-archive
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-bisect
15.61
KB
-rwxrwxrwx
2020-04-20 04:07
git-bisect--helper
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-blame
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-branch
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-bundle
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-cat-file
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-check-attr
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-check-ignore
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-check-mailmap
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-check-ref-format
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-checkout
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-checkout-index
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-cherry
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-cherry-pick
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-clean
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-clone
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-column
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-commit
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-commit-tree
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-config
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-count-objects
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-credential
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-credential-cache
1006.94
KB
-rwxrwxrwx
2020-04-20 04:07
git-credential-cache--daemon
1019
KB
-rwxrwxrwx
2020-04-20 04:07
git-credential-store
1018.97
KB
-rwxrwxrwx
2020-04-20 04:07
git-daemon
1023.19
KB
-rwxrwxrwx
2020-04-20 04:07
git-describe
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-diff
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-diff-files
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-diff-index
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-diff-tree
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-difftool
12.24
KB
-rwxrwxrwx
2020-04-20 04:07
git-difftool--helper
2.19
KB
-rwxrwxrwx
2020-04-20 04:07
git-fast-export
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-fast-import
1.02
MB
-rwxrwxrwx
2020-04-20 04:07
git-fetch
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-fetch-pack
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-filter-branch
12.53
KB
-rwxrwxrwx
2020-04-20 04:07
git-fmt-merge-msg
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-for-each-ref
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-format-patch
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-fsck
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-fsck-objects
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-gc
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-get-tar-commit-id
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-grep
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-hash-object
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-help
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-http-backend
1019.19
KB
-rwxrwxrwx
2020-04-20 04:07
git-http-fetch
1.1
MB
-rwxrwxrwx
2020-04-20 04:07
git-http-push
1.11
MB
-rwxrwxrwx
2020-04-20 04:07
git-imap-send
1.11
MB
-rwxrwxrwx
2020-04-20 04:07
git-index-pack
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-init
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-init-db
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-instaweb
18.11
KB
-rwxrwxrwx
2020-04-20 04:07
git-interpret-trailers
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-log
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-ls-files
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-ls-remote
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-ls-tree
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-mailinfo
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-mailsplit
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-merge
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-merge-base
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-merge-file
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-merge-index
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-merge-octopus
2.42
KB
-rwxrwxrwx
2020-04-20 04:07
git-merge-one-file
3.62
KB
-rwxrwxrwx
2020-04-20 04:07
git-merge-ours
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-merge-recursive
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-merge-resolve
944
B
-rwxrwxrwx
2020-04-20 04:07
git-merge-subtree
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-merge-tree
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-mergetool
9.76
KB
-rwxrwxrwx
2020-04-20 04:07
git-mergetool--lib
7.79
KB
-rwxrwxrwx
2020-04-20 04:07
git-mktag
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-mktree
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-mv
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-name-rev
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-notes
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-pack-objects
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-pack-redundant
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-pack-refs
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-parse-remote
2.59
KB
-rwxrwxrwx
2020-04-20 04:07
git-patch-id
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-prune
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-prune-packed
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-pull
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-push
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-quiltimport
3.51
KB
-rwxrwxrwx
2020-04-20 04:07
git-read-tree
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-rebase
15.75
KB
-rwxrwxrwx
2020-04-20 04:07
git-rebase--am
2.41
KB
-rwxrwxrwx
2020-04-20 04:07
git-rebase--interactive
34.47
KB
-rwxrwxrwx
2020-04-20 04:07
git-rebase--merge
3.84
KB
-rwxrwxrwx
2020-04-20 04:07
git-receive-pack
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-reflog
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-relink
4.1
KB
-rwxrwxrwx
2020-04-20 04:07
git-remote
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-remote-ext
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-remote-fd
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-remote-ftp
1.11
MB
-rwxrwxrwx
2020-04-20 04:07
git-remote-ftps
1.11
MB
-rwxrwxrwx
2020-04-20 04:07
git-remote-http
1.11
MB
-rwxrwxrwx
2020-04-20 04:07
git-remote-https
1.11
MB
-rwxrwxrwx
2020-04-20 04:07
git-remote-testsvn
1.01
MB
-rwxrwxrwx
2020-04-20 04:07
git-repack
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-replace
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-request-pull
3.77
KB
-rwxrwxrwx
2020-04-20 04:07
git-rerere
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-reset
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-rev-list
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-rev-parse
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-revert
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-rm
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-send-pack
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-sh-i18n
2.3
KB
-rwxrwxrwx
2020-04-20 04:07
git-sh-i18n--envsubst
1006.86
KB
-rwxrwxrwx
2020-04-20 04:07
git-sh-prompt
15.73
KB
-rwxrwxrwx
2020-04-20 04:07
git-sh-setup
9.03
KB
-rwxrwxrwx
2020-04-20 04:07
git-shell
1006.97
KB
-rwxrwxrwx
2020-04-20 04:07
git-shortlog
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-show
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-show-branch
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-show-index
1006.86
KB
-rwxrwxrwx
2020-04-20 04:07
git-show-ref
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-stage
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-stash
13.9
KB
-rwxrwxrwx
2020-04-20 04:07
git-status
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-stripspace
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-submodule
27.18
KB
-rwxrwxrwx
2020-04-20 04:07
git-submodule--helper
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-subtree
16.02
KB
-rwxrwxrwx
2020-04-20 04:07
git-symbolic-ref
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-tag
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-unpack-file
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-unpack-objects
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-update-index
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-update-ref
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-update-server-info
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-upload-archive
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-upload-pack
1.06
MB
-rwxrwxrwx
2020-04-20 04:07
git-var
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-verify-commit
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-verify-pack
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-verify-tag
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-web--browse
4.3
KB
-rwxrwxrwx
2020-04-20 04:07
git-whatchanged
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-worktree
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
git-write-tree
1.99
MB
-rwxrwxrwx
2020-04-20 04:07
Save
Rename
#!/usr/bin/perl use lib (split(/:/, $ENV{GITPERLLIB} || "/usr/share/perl/5.24.1")); # Copyright 2005, Ryan Anderson <ryan@michonline.com> # Distribution permitted under the GPL v2, as distributed # by the Free Software Foundation. # Later versions of the GPL at the discretion of Linus Torvalds # # Scan two git object-trees, and hardlink any common objects between them. use 5.008; use strict; use warnings; use Getopt::Long; sub get_canonical_form($); sub do_scan_directory($$$); sub compare_two_files($$); sub usage(); sub link_two_files($$); # stats my $total_linked = 0; my $total_already = 0; my ($linked,$already); my $fail_on_different_sizes = 0; my $help = 0; GetOptions("safe" => \$fail_on_different_sizes, "help" => \$help); usage() if $help; my (@dirs) = @ARGV; usage() if (!defined $dirs[0] || !defined $dirs[1]); $_ = get_canonical_form($_) foreach (@dirs); my $master_dir = pop @dirs; opendir(D,$master_dir . "objects/") or die "Failed to open $master_dir/objects/ : $!"; my @hashdirs = grep { ($_ eq 'pack') || /^[0-9a-f]{2}$/ } readdir(D); foreach my $repo (@dirs) { $linked = 0; $already = 0; printf("Searching '%s' and '%s' for common objects and hardlinking them...\n", $master_dir,$repo); foreach my $hashdir (@hashdirs) { do_scan_directory($master_dir, $hashdir, $repo); } printf("Linked %d files, %d were already linked.\n",$linked, $already); $total_linked += $linked; $total_already += $already; } printf("Totals: Linked %d files, %d were already linked.\n", $total_linked, $total_already); sub do_scan_directory($$$) { my ($srcdir, $subdir, $dstdir) = @_; my $sfulldir = sprintf("%sobjects/%s/",$srcdir,$subdir); my $dfulldir = sprintf("%sobjects/%s/",$dstdir,$subdir); opendir(S,$sfulldir) or die "Failed to opendir $sfulldir: $!"; foreach my $file (grep(!/\.{1,2}$/, readdir(S))) { my $sfilename = $sfulldir . $file; my $dfilename = $dfulldir . $file; compare_two_files($sfilename,$dfilename); } closedir(S); } sub compare_two_files($$) { my ($sfilename, $dfilename) = @_; # Perl's stat returns relevant information as follows: # 0 = dev number # 1 = inode number # 7 = size my @sstatinfo = stat($sfilename); my @dstatinfo = stat($dfilename); if (@sstatinfo == 0 && @dstatinfo == 0) { die sprintf("Stat of both %s and %s failed: %s\n",$sfilename, $dfilename, $!); } elsif (@dstatinfo == 0) { return; } if ( ($sstatinfo[0] == $dstatinfo[0]) && ($sstatinfo[1] != $dstatinfo[1])) { if ($sstatinfo[7] == $dstatinfo[7]) { link_two_files($sfilename, $dfilename); } else { my $err = sprintf("ERROR: File sizes are not the same, cannot relink %s to %s.\n", $sfilename, $dfilename); if ($fail_on_different_sizes) { die $err; } else { warn $err; } } } elsif ( ($sstatinfo[0] == $dstatinfo[0]) && ($sstatinfo[1] == $dstatinfo[1])) { $already++; } } sub get_canonical_form($) { my $dir = shift; my $original = $dir; die "$dir is not a directory." unless -d $dir; $dir .= "/" unless $dir =~ m#/$#; $dir .= ".git/" unless $dir =~ m#\.git/$#; die "$original does not have a .git/ subdirectory.\n" unless -d $dir; return $dir; } sub link_two_files($$) { my ($sfilename, $dfilename) = @_; my $tmpdname = sprintf("%s.old",$dfilename); rename($dfilename,$tmpdname) or die sprintf("Failure renaming %s to %s: %s", $dfilename, $tmpdname, $!); if (! link($sfilename,$dfilename)) { my $failtxt = ""; unless (rename($tmpdname,$dfilename)) { $failtxt = sprintf( "Git Repository containing %s is probably corrupted, " . "please copy '%s' to '%s' to fix.\n", $tmpdname, $dfilename); } die sprintf("Failed to link %s to %s: %s\n%s" . $sfilename, $dfilename, $!, $dfilename, $failtxt); } unlink($tmpdname) or die sprintf("Unlink of %s failed: %s\n", $dfilename, $!); $linked++; } sub usage() { print("usage: git relink [--safe] <dir>... <master_dir> \n"); print("All directories should contain a .git/objects/ subdirectory.\n"); print("Options\n"); print("\t--safe\t" . "Stops if two objects with the same hash exist but " . "have different sizes. Default is to warn and continue.\n"); exit(1); }