Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Adding parameters to tamper scripts  #5452

Copy link
Copy link
@kaleb-c0d3

Description

@kaleb-c0d3
Issue body actions

Hi! Is there a way to pass parameters to the tamper scripts from the command line?

I've wrote some tampers in the past (a loooong time ago I was one of the people that worked with it), and want to feed the script with some specific parameters for each test case. Tried to add any custom parameter and catch it later using like 'sys.argv', but the param parser is kicking me out because "sqlmap.py: error: no such option: --tamper-param-1".

I can manage it by editing the script by hand for each scenario, but it could be very useful to have something along the line like:

python ./sqlmap.py -u '......' --tamper="awsometamper" --tamper-param-1="true" --tamper-param-2="/tmp/something.out"

Thank you very much in advance.

Reactions are currently unavailable

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.