Mister Spy Say ="Hello Kids ... :D"
___ ____ _ _____
| \/ (_) | | / ___|
| . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _
| |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | |
| | | | \__ \ || __/ | /\__/ / |_) | |_| |
\_| |_/_|___/\__\___|_| \____/| .__/ \__, |
| | __/ |
|_| |___/
Bot Mister Spy V3
Mister Spy
Mister Spy
use strict;
use warnings;
use Expect;
my $e = Expect->new;
$e->spawn($^X, "examples/calc.pl") or die;
$e->log_stdout(0);
$e->raw_pty(1);
$e->send("19+23\n");
$e->expect(1, "19+23");
print 'Match: <', $e->match, ">\n";
print 'Before: <', $e->before, ">\n";
print 'After: <', $e->after, ">\n";
$e->clear_accum;
$e->expect(1, '-re' => qr/'\d+'/);
print 'Match: <', $e->match, ">\n";
print 'Before: <', $e->before, ">\n";
print 'After: <', $e->after, ">\n";
$e->close;
Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat