Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Control extra args #706

Open
cyb3rsalih opened this issue Apr 24, 2023 · 0 comments
Open

Control extra args #706

cyb3rsalih opened this issue Apr 24, 2023 · 0 comments

Comments

@cyb3rsalih
Copy link

Hi! I try to make a custom module for a script that expect a string as input. The string has 2 parts.

It looks like this
mycustomscript -s "$target $wordlist"

I use for loop in module to iterate over wordlist file,

for payload in $(cat input);do mycustomscript -s "$target  $payload"

I need to send $target now. Is it possible to send args from axiom-scan and use it in my module?

like this
axiom-scan payloads.txt -m mycustomscript -customarg "example.com"

and it will work as in module

for payload in $(cat input);do mycustomscript -s "$customarg  $payload"

Actually my question before is like this one, but it was a script that I can edit, I can't edit this to take the the target as an argument. So I need to find a way :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant