Comments (3)
Personally I would say -c/-C would make the most sense.
from duplicut.
Hi ! For transform rules, i'm a big fan o piping multiple shell commands.
I initially made duplicut because removing duplicates from a very large wordlist without sorting was not feasible otherwise.
Other actions, such as lowering, or stripping numbers can easily be achieved with built-in linux commands.
Take a look at my nil0x42/cracking-utils. Here i have some simple scripts i like to use for creting my wordlists.
Lowering whole wordlist is also an easy task with tr
:
tr '[:upper:]' '[:lower:]' < "old.txt" > "new.txt"
Duplicut is a tool you should use as a last step during wordlist creation. After concatenating multiple sources as you wish, in your prefered order, then you can duplicut
it to remove duplicates, as quickly as possible, without losing your precious order.
Anyway, even if main focus is dedupe, i still implemented --line-max-size
& --printable
filters, because they are only filters, and no transformers. They just are additional conditions to decide if a line should be added or not.
If you have suggestions for adding relevant filters, i can consider implementing (if the overhead is low).
Thank you for posting this issue !
from duplicut.
EDIT: after taking 1 minute to test adding a tolower() between buffer read/write cycle on first copy, it looks like it has almost no overhead, so i'm adding it as TODO for next release 👍
What do you think would be good single letter options for --tolower
and --toupper
? I'm thinking of -x
/-X
, or perhaps -c
/-C
, because -l
is already taken by --line-max-size
.
Opinions are welcome !
from duplicut.
Related Issues (20)
- Otimize duplicut for SSDs HOT 1
- Improve `MEDIUM_LINE_BYTES` guessing with heuristic HOT 1
- core/status: status display sometimes fails to show coherent output
- Verbose output HOT 2
- Output to stdout by default HOT 1
- [Chore] Typo HOT 1
- Ideas for enhancement HOT 4
- Purge both duplicates HOT 1
- [enhancement] Sort options HOT 1
- Run Duplicut on Windows? HOT 1
- Duplicut not cutting all duplicates HOT 7
- No output produced (0 byte) for 9.2 Gb tab separated text file HOT 6
- how to use in kali linux? HOT 2
- Can this program sort the password dictionary? HOT 1
- Why any line longer than 255 chars is ignored? HOT 3
- Add support for removing duplicates from other file HOT 2
- Inconsistency sometimes occurs across multiple runs on the same file HOT 2
- how does it work on windows? HOT 1
- make give error on ubuntu 23 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duplicut.