manage pattern for BOF exploitation