no save
Assistance
Achat
News

Forum | programmation
[Hexadecimal] Comment le décrypté ?
lami20j, le mar. 11 avr. 2006 à 21:21:44
Re, #! /usr/bin/perl

use warnings;
use strict;

my $l=<>;

print "$l\n";
my @code = unpack("C*",$l);

foreach(@code){
print "$_ => ${ \(chr($_)) }\n";
}
Le résultat [lamitest@localhost corbeille]$ perl char2code.pl texte.txt
MPLE1<<

16 =>
1 =>
77 => M
80 => P
76 => L
69 => E
49 => 1
60 => <
60 => <
0 =>
1 =>
0 =>
0 =>
0 =>
10 =>

[lamitest@localhost corbeille]$ Tu peux aussi regarder les commande od et hexdump
PrécédentKandoska
avr. 06
Kandoska
avr. 06
Suivant
REPONSES
lami20j
avr. 06
Kandoska
avr. 06
lami20j
avr. 06
Kandoska
avr. 06
patfab33
avr. 08
patfab33
avr. 08
Version Web
Réalisé par RedShift
no save