psudohash
psudohash copied to clipboard
[New feature] Reverse keywords
trafficstars
Create mutations of the reversed version of the keyword(s) as well.
hey @t3l3machus , I would love to work on this. Could you please assign me the issue?
Would this work for you?
below https://github.com/t3l3machus/psudohash/blob/238a76851713f849227aa5eb6be7f1782bafb914/psudohash.py#L62 add
parser.add_argument("-rev", "--reverse", action="store_true", help="Also generate mutations of each keyword reversed (character order)")
above https://github.com/t3l3machus/psudohash/blob/238a76851713f849227aa5eb6be7f1782bafb914/psudohash.py#L687 add
if args.reverse:
keywords.extend(k[::-1] for k in keywords)
keywords = list(dict.fromkeys(keywords))