Unverified Commit 87097eb2 authored by Hanno's avatar Hanno
Browse files

initial commit of irssi fuzzing examples

parent b00ab681
# perl script to fuzz irssi
# by Hanno Böck, license: CC0 / public domain
#
# Will read fuzzc.txt and execute it as a command.
# Use with afl by putting it into irssi's autorun directory (default: ~/.irssi/scripts/autorun)
# and run something like:
# afl-fuzz -i in -o out -m none -t 5000 -f fuzzc.txt irssi
use Irssi;
open $file, "fuzzc.txt" or die "failed to open";
while ( my $line = <$file> ) {
Irssi::command($line);
}
close $file;
Irssi::command("QUIT");
# perl script to fuzz irssi
# by Hanno Böck, license: CC0 / public domain
#
# Will read fuzzp.txt and print it.
# Use with afl by putting it into irssi's autorun directory (default: ~/.irssi/scripts/autorun)
# and run something like:
# afl-fuzz -i in -o out -m none -t 5000 -f fuzzp.txt irssi
use Irssi;
open $file, "fuzzp.txt" or die "failed to open";
while ( my $line = <$file> ) {
print $line;
}
close $file;
Irssi::command("QUIT");
%r red
%R RED
%3 yellow
%7f7f00 html color
%X13 more color
%%
SET theme foobar
SET autorejoin_channels #chan1
AWAY
SET term_type utf-8
TOPIC foo
QUIT
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment