Georg Pfuetzenreuter 5560c59614
Prevent dice overflow
rand.Int() would panic when the max value is <= 0, which happens when
big.NewInt() was fed with a too large number. Avoid this by validating
the big.NewInt() return beforehand. Add error handling to all callers to
both gracefully return to IRC and to log an error message.
Rename the shadowed "max" variable whilst at it to avoid confusion.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-10-10 02:41:46 +02:00
2022-02-02 16:36:36 +01:00
2024-10-10 02:41:46 +02:00
2024-09-21 16:22:04 +02:00
2019-06-28 18:54:32 +01:00
2024-09-29 14:36:23 +02:00
2024-10-02 21:40:30 +02:00
2024-10-02 21:40:30 +02:00
2018-10-19 23:30:20 +00:00
2024-09-29 14:36:23 +02:00

watbot

watbot

ported watbot from wuselfuzz

Description
Working copy of watbot by wuselfuz. This is a modified version by **** in golang.
Readme 6.6 MiB
Languages
Go 55.8%
Python 44.1%