Giter VIP home page Giter VIP logo

Comments (5)

wneessen avatar wneessen commented on June 29, 2024

Hi @markdingo,

I've created a test method that would in my opinion accomplish your request. Here is a test run with it for 10 random PWs. Let me know if this is what you are looking for:

Raw: PX4xDoiKrs,[egEAief{ => Grouped: ADEKPXeefgiiorsx4,[{
Raw: *Z%C9d+PZYkD7D+{~r'w => Grouped: CDDPYZZdkrw79%'*++{~
Raw: 4?r2YV:Abo&/z<3tJ*Z{ => Grouped: AJVYZbortz234&*/:<?{
Raw: .BrX*.=k"spdb@\*r26; => Grouped: BXbdkprrs26"**..;=@\
Raw: #/FABD3O|1DZeKtDw/%? => Grouped: ABDDDFKOZetw13#%//?|
Raw: 0B/4w2+=\OX*Ex&+]yN8 => Grouped: BENOXwxy0248&*++/=\]
Raw: .aOken"5"1L>arHlVo]] => Grouped: HLOVaaeklnor15"".>]]
Raw: 01zurd8K<6}NEeAdr{o: => Grouped: AEKNddeorruz0168:<{}
Raw: )be}IkQsAj2PH'EDN1Bp => Grouped: ABDEHINPQbejkps12')}
Raw: 0I&MgqzsC'|_HQ)cT~Z\ => Grouped: CHIMQTZcgqsz0&')\_|~

If so, I'll add a new CLI arg that, if set, will group the PWs accordingly.

from apg-go.

wneessen avatar wneessen commented on June 29, 2024

Nevermind... I just realized that I am not only grouping, but also sorting, which makes the PWs much more predictable. Looks like I have to rework that method a bit.

from apg-go.

wneessen avatar wneessen commented on June 29, 2024

This should be better now:

Raw: PX4xDoiKrs,[egEAief{ => Grouped: PXDKEAxoirsegief4,[{
Raw: *Z%C9d+PZYkD7D+{~r'w => Grouped: ZCPZYDDdkrw97*%++{~'
Raw: 4?r2YV:Abo&/z<3tJ*Z{ => Grouped: YVAJZrbozt423?:&/<*{
Raw: .BrX*.=k"spdb@\*r26; => Grouped: BXrkspdbr26.*.="@\*;
Raw: #/FABD3O|1DZeKtDw/%? => Grouped: FABDODZKDetw31#/|/%?
Raw: 0B/4w2+=\OX*Ex&+]yN8 => Grouped: BOXENwxy0428/+=\*&+]
Raw: .aOken"5"1L>arHlVo]] => Grouped: OLHVakenarlo51."">]]
Raw: 01zurd8K<6}NEeAdr{o: => Grouped: KNEAzurdedro0186<}{:
Raw: )be}IkQsAj2PH'EDN1Bp => Grouped: IQAPHEDNBbeksjp21)}'
Raw: 0I&MgqzsC'|_HQ)cT~Z\ => Grouped: IMCHQTZgqzsc0&'|_)~\

from apg-go.

markdingo avatar markdingo commented on June 29, 2024

Yes, the second grouping looks much better. It'll be interesting to see your CLI/API choices. I think that might be more challenging than the grouping code :-)

from apg-go.

wneessen avatar wneessen commented on June 29, 2024

The feature is now merged into the main branch. You can now use the -g flag to enable the grouping. If you have Docker available, you can test using the main build: docker pull ghcr.io/wneessen/apg-go:main
Please let me know if this works for you.

from apg-go.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.