Skip to content

prepend words is broken (reversed) #21

@jfoug

Description

@jfoug

Just playing around a bit (btw, NICE tool). I downloaded the pre-built 1.0 and here was one issue I found:

2 nodes, append male name, prepend female name. Here was the first rule: append-"james" prepend-"mary" But as you see the output from john shows mary is yram (reversed).

$ echo -n '1234' | ../bleed-64/run/john -rules=':$j$a$m$e$s^m^a^r^y' -stdout -pipe
Using default input encoding: UTF-8
yram1234james
1p 0:00:00:00 0.00% 7.092p/s yram1234james

When using single character appends, you have to reverse the order, so the proper rule is: $j$a$m$e$s^y^r^a^m

so if the word was 1234, these are the interim words generated by john or HC:

1234j
1234ja
1234jam
1234jame
1234james
m1234james
am1234james
ram1234james
yram1234james

Simply appending y then a then r them m will 'solve' this problem. This 'bug' may impact other things. If there were dates appended, you might see 0591 vs 1950, etc. I have not experimented (yet). Raw numbers should not matter (000 to 999, etc). But when you want specific values (using single char append), you must provide the data in reversed order.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions