Git Product home page Git Product logo

ashirt-rs's People

Contributors

jrozner avatar

Stargazers

 avatar

Watchers

 avatar  avatar

ashirt-rs's Issues

Add async implementation

We should provide both an async and blocking api, similar to how reqwests does. It probably makes sense to look at how they implement it and do something similar. It would be nice if we could re-use the async implementations for the blocking to avoid having to duplicate the implementation.

Remove id from operation

Currently the server still returns this and it is used for the /api/operations/:id endpoint. It's unclear if this is ever actually needed. It seems like it only exists to get the slug name of an id that we already have. Given that we've elsewhere moved entirely to slugs this maybe able to go away now and definitely will be able to go away in the future.

Wait until we have an answer for ashirt-ops/ashirt-server#467. The only place this seems like it might be used is in the desktop app.

Add tests

It's not clear what the best way to handle this is given that there likely isn't much that can be done as unit tests. There might be some good mocking libraries that we can leverage but it probably doesn't actually make sense since we really want to run integration tests. We could potentially spin up ashirt with docker compose in the test runner and have it communicate with the server. We'd need to ship some default key pairs with the seed data which I don't believe we currently do.

Provide c api

Given the relatively small amount of code it probably makes sense to just build a native version in each of the languages that we need to support. It would be nice to have a C compatible library that other projects can link against. We could also use language bindings for other languages (python, ruby, node, etc.) but we should probably wait until there is real desire. Java would be relatively easy with the JNI crate but the main use case for a Java implementation is likely going to be burp which would make this difficult to distribute.

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.