Code Monkey home page Code Monkey logo

Comments (8)

grafnu avatar grafnu commented on August 14, 2024

Understood about the use case, but unlikely to be a common data store. What's needed is an if-then capability with parameters. Directly exposing a data-store breaks encapsulation.

from daq.

grafnu avatar grafnu commented on August 14, 2024

Would like to identify an exact use-case where this is desirable. The example of "should run brute or not" I think it better handled through explicit configuration, not dynamic adjustment.

I realized there are provisions for doing this already, but I wouldn't want it to be used unless it was demonstrably the right thing to do.

from daq.

pisuke avatar pisuke commented on August 14, 2024

The idea of conditional tests sounds good in this specific instance.
I think that the sequence of operations could be:
nmap scans ports
for each port that is open, execute brute test on that port using the relevant protocol(s)
save output log and test results to report

I think that the data store could be useful though for storing results of soak tests and let a soak test module parse them and create a "cumulative" report.
But this can also be done perhaps by adding a docker bind mount to the inst/ folder? Any problem with any of these approaches?

from daq.

grafnu avatar grafnu commented on August 14, 2024

from daq.

pisuke avatar pisuke commented on August 14, 2024

OK, thanks Trevor. So shall we say this can be closed by acknowledging the appropriate action is to add support for a device configuration file that has test configuration options?

from daq.

grafnu avatar grafnu commented on August 14, 2024

I updated the title to reflect the desired work -- we can keep this issue open.

Summary: I will implement the capability to explicitly specify exposed ports for a device, and that device configuration can then be used to guide which ports are probed by a given test.

from daq.

pisuke avatar pisuke commented on August 14, 2024

I've moved this issue to the pressing items, noting we're targeting completing the brute module soon.
The understanding is that this will be implemented as an additional per-device configuration file in the daq/misc/test_site/mac_addrs/9a02571e8f01/ folder, or similar folder.

from daq.

grafnu avatar grafnu commented on August 14, 2024

Fixed/enabled/demonstrated in grafnu#123

from daq.

Related Issues (20)

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.