What is the equivalent of this in perl
On command line I have this
perl -e "$n="\x41"x40;$ q="\x32\x32\x32 \x32";$e=$n.$q; print $n' | ./foo
i want to tranlate it to this but its not working, how would I go about doing this, im on UNIX
On command line I have this
perl -e "$n="\x41"x40;$ q="\x32\x32\x32 \x32";$e=$n.$q; print $n' | ./foo
i want to tranlate it to this but its not working, how would I go about doing this, im on UNIX
Code:
#!/usr/bin/perl my $n="\x41"x40; my $q="\x32\x32\x32\x32"; my $e=$n.$q; system(SOMETHING IN HERE);
Comment