Giter Club home page Giter Club logo

Comments (4)

moloch-- avatar moloch-- commented on July 29, 2024 1

oh that's a good point, I hadn't thought of haha. I'll add some code to check if the file/directory exists.

from leakdb.

moloch-- avatar moloch-- commented on July 29, 2024

You should be able to pass the --json file directly to the main command (which automates all of the subcommands). Ensure your file.json exists and your user has permission to read it, the command should be able to accept a single file or directory of files.

The following command works for me:

moloch@atlas ~/l/normalized> ./leakdb-curator --json test.json
Applying bloom filter ...
   Uniques = 601836 (263747/sec)
Duplicates = 326

If you're still having issues can you let me know what OS/build you're using?

from leakdb.

almandin avatar almandin commented on July 29, 2024

Ok I get it, when you download a release, you have a zip file containing 3 files, one is called "leakdb". When you call leakdb-curator from the command line, it tries to create a folder named leakdb to put output files into it. Bad luck, the leakdb binary already exists ...

from leakdb.

almandin avatar almandin commented on July 29, 2024

/internal/curator/main.go:182, a folder named "leakdb" is created. I think other people will have the same problem if you dont change the name of the default output folder :p

from leakdb.

Related Issues (5)

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.