cowrie/wardenfiler: Replace lstrip with startswith and slicing

str.lstrip("::ffff:") takes any character from the set {:,f} and it removes these characters from the beginning of the sequence.

So I replaced this with startswith, which will only recognize the whole sequence.

Merge request reports

Loading