flipkart-incubator / Astra

Automated Security Testing For REST API's
Apache License 2.0
2.49k stars 394 forks source link

To avoid ERROR Distribution sqlmapamqp #151

Open ZaforAbdullah opened 4 months ago

ZaforAbdullah commented 4 months ago

Add dev containers

Added port to each services

Inspire by Astra/pull/136/commits by @naturedamends

https://github.com/flipkart-incubator/Astra/issues/134

https://github.com/flipkart-incubator/Astra/pull/136/files#diff-13bd9d7a30bf46656bc81f1ad5b908a627f9247be3f7d76df862b0578b534fc6

naturedamends commented 4 months ago

looks good to me. When i changed the insert to insert one i did not understand the implications of the change. I simply made my current path happy by whatever means nessasery..

Did you get it properly working as intended with python 3?

ZaforAbdullah commented 4 months ago

I'm not sure about it's implication also. Didn't explore with insert, just follow you. Only shortcoming I saw was, no port were expose. So expose necessary port each service.

Log

Sample PDF.pdf

naturedamends commented 4 months ago

Are you using vscode.dev, and codespaces?

ZaforAbdullah commented 4 months ago

I'm not using codespaces. VSCode with Dev container.

naturedamends commented 4 months ago

I'm not using codespaces. VSCode with Dev container.

im just giving it a test now seems alrite and would be a good addition. Im thinking it will only be a mounts issue, solved via a simple .env file.

and the base container for the user shell

ie i want to open a devcontainer for fuzzing via vscode.dev/https://github.com/some/webfuzzer

ZaforAbdullah commented 4 months ago

I am not sure what you are trying to accomplish. Can you give me your test code/sample?

naturedamends commented 4 months ago

I am not sure what you are trying to accomplish. Can you give me your test code/sample?

just try opening a repo via vscode.dev/

the first parameter is a url which it opens in a dev container.

it will execute a docker compsoe service aswell, which would be nice