local$ ssh-keygen -t dsa local$ scp ~/.ssh/id_dsa.pub remote:~/ local$ ssh username@remote remote$ cat ~/id_dsa.pub >> ~/.ssh/authorized_keys remote$ chmod 644 ~/.ssh/authorized_keys remote$ exit local$ ssh username@remoteźródło
Pokazywanie postów oznaczonych etykietą password. Pokaż wszystkie posty
Pokazywanie postów oznaczonych etykietą password. Pokaż wszystkie posty
wtorek, 29 stycznia 2013
Bezhasłowa autoryzacja ssh (kluczem)
czwartek, 26 kwietnia 2012
Dekodowanie hasła w pliku *.sth w managerze MQ
#!/usr/bin/perl -w
#
# unstash.pl - "decrypt" IBM HTTP server stash files. No, really. They *are* this pathetic.
#
# sploit (BoByRiTe) 1999, Major Malfunction, code by Ben Laurie, cos I dudn't dud perly thing.
use strict;
die "Usage: $0 <stash file>\n" if $#ARGV != 0;
my $file=$ARGV[0];
open(F,$file) || die "Can't open $file: $!";
my $stash;
read F,$stash,1024;
my @unstash=map { $_^0xf5 } unpack("C*",$stash);
foreach my $c (@unstash) {
last if $c eq 0;
printf "%c",$c;
}
printf "\n";
Wywołanie:
perl unstash.pl PLIK.sthźródło
Subskrybuj:
Posty (Atom)