Ryan Voots
22ec899271
make error message clearer
2017-04-18 11:03:57 -04:00
Ryan Voots
a386dd2c5e
make deparse do more for me
2017-04-14 17:33:43 -04:00
Ryan Voots
661de2e297
Merge branch 'master' of github.com:perlbot/perlbuut
2017-04-14 17:21:24 -04:00
Ryan Voots
5fc8dddf03
Fixup things in eval.pl
2017-04-14 17:20:47 -04:00
mauke
fa6e2b8e0f
make deparse use Data::Dumper for constants
...
The built-in dumper in B::Deparse doesn't handle cyclic constants (and recurses infinitely). For example:
deparse: use constant FOO => do { my %x; $x{k} = \%x }; FOO
This problem also occurs if you try to deparse parameter types with Function::Parameters and Types::Standard.
2017-04-09 21:23:39 +02:00
Ryan Voots
2ccaad88d2
Relax some limits in #perlbot
2017-04-05 20:41:57 -04:00
Ryan Voots
c954380c04
make deparse smarter
2017-04-05 20:41:48 -04:00
Ryan Voots
5f7d37b8f0
Add support for perl4. This required using sysread to get the eval type so we can prevent it from needing to write a temp file.
2017-04-04 14:42:32 -04:00
Ryan Voots
72eb3c71ee
localize some perlvars to prevent people from doing weird shit
2017-04-04 11:31:15 -04:00
Ryan Voots
e85e082848
Make versions more ergonomic
2017-04-03 18:36:37 -04:00
Ryan Voots
3b8d67e720
Lock down execve even more
2017-04-03 18:19:45 -04:00
Ryan Voots
974984c32d
minor
2017-04-03 18:14:54 -04:00
Ryan Voots
c9d93a88cc
Add 5.5-5.8 and update help
2017-04-01 15:43:38 -04:00
Ryan Voots
c63356fa7b
Add two more syscalls for newer perls
2017-04-01 15:15:50 -04:00
Ryan Voots
0900baaa31
Support more perl versions
2017-04-01 15:12:48 -04:00
Ryan Voots
ff2a50c3fa
Update eval.pl to allow execve of other perl interps
2017-04-01 13:22:52 -04:00
Ryan Voots
b60a1f1a51
Fix Linux::Seccomp polluting the namespace
2017-03-29 17:28:26 -04:00
Ryan Voots
25348d5248
More updates and features to Zathras
2017-01-24 20:40:07 -05:00
Ryan Voots
36d71f7eee
Update the easter egg to support chaining
2017-01-24 20:24:08 -05:00
Ryan Voots
41c54ea473
Add some eastereggs
2017-01-17 14:47:10 -05:00
Ryan Voots
6d4ac7e304
Update pastebin to add "Anonymous" for no name. Update eval to include another module. Update factoids to not be case sensitive in suggestions.
2017-01-13 14:44:26 -05:00
Ryan Voots
4c9b5516e8
Reselect STDOUT upon exiting the eval
2016-12-07 07:36:21 -05:00
Ryan Voots
b014d89cd4
Fix unicode finally. FINALLY
2016-12-04 02:59:20 -05:00
Ryan Voots
f435a4853e
Make STDIN a Klingon lorem ipsum
2016-12-01 14:20:15 -05:00
Ryan Voots
d4a9dcb1d7
Fix line numbers in evals on perlbot.pl and in eval:
2016-12-01 14:11:07 -05:00
Ryan Voots
d49ef98ebd
Fix the TZ, and PID of evals
2016-11-27 13:04:10 -05:00
Ryan Voots
efc4e24d4b
Mauke is a picky developer
2016-10-30 03:28:08 -04:00
Ryan Voots
a0de17ba45
No longer use root, instead use cap_sys_chroot on perl
2016-10-21 16:04:48 -04:00
a0b16eb284
Allow basic IO::Async to work
2016-10-18 17:16:52 -07:00
Ryan Voots
4d909cd88d
Add mremap so that stack reallocations happen properly
2016-10-15 09:43:02 -04:00
05fee1a0ea
Add nanosleep for Time::HiRes qw/sleep/
2016-10-15 06:18:00 -07:00
Ryan Voots
109c713dab
Add some help text for when it gets killed by a signal
2016-10-15 08:35:28 -04:00
Ryan Voots
66bc4ad0e9
Now use the awesome power of SECCOMP to secure the eval, and enable new functionality
2016-10-15 08:04:58 -04:00
Ryan Voots
b4ef3b5197
Setup more modules in eval
2016-10-01 18:47:51 -04:00
Ryan Voots
2c593cb8c5
add autovivification, and Moo requirements
2016-09-28 15:19:51 -04:00
Ryan Voots
1b356f66a7
Add new modules
2016-09-19 19:06:27 -04:00
Ryan Voots
27633c1b6f
Add some new experimental features
2016-08-09 14:41:27 -04:00
Ryan Voots
0c1f9a4f85
Add in the allowpaste plugin to control the pastebin
2016-06-26 19:11:02 -04:00
Ryan Voots
a0b2f7c715
Clean up output, also add new role for the new pastebin
2016-06-25 21:31:12 -04:00
Ryan Voots
e470e471cd
Clean up output of deparse and eval
2016-06-25 20:09:02 -04:00
Ryan Voots
7a507ee2c0
Switch eval server to symlink perl, also change memory limits a little
2016-05-11 16:39:44 -04:00
Ryan Voots
bf34a550a5
Remove un-used languages from eval. Reduces memory footprint by 80%.
2016-04-13 12:55:24 -04:00
Ryan Voots
9ce72f6ac2
Switch to a newer perl-blead. Start recording evals to build up a fuzz-suite for CI perl-bleads
2016-04-08 17:59:48 -04:00
Ryan Voots
82cec14f7b
Reopen STDIN to /dev/null to avoid warnings in certain evals. Also remove old comment
2016-02-04 20:01:05 -05:00
9364e7f05d
Some debugging and fix the Foo namespace
2016-01-01 23:46:00 -08:00
Ryan Voots
8693c31f9b
Increase children and fix utf8 always being on
2015-12-14 00:18:55 -05:00
Ryan Voots
7447126de6
Update core and get plugins for a little functionality. Also update Bot::BB3::* to allow for addressless messages to be sent from plugins. Also redo how handlers work so that they can output text and interrupt the process of other plugins being handled. This enables the badfacts plugin to function while being unaddressed in channels if configured.
2015-12-06 03:05:12 -05:00
Ryan Voots
45c556a3bd
Upgrade to 5.22, lie about our OS, and lie about the user agent so fox news works
2015-11-03 18:46:27 -05:00
Ryan Voots
7251c7f119
Also add Cpanel::JSON::XS
2015-07-14 21:33:22 -04:00
Ryan Voots
eed85789ac
Add in JSON, JSON::XS, and JSON::MaybeXS
2015-07-14 20:38:38 -04:00