Open nikitastupin opened 4 years ago
$ python3 --version
Python 3.7.7
macOS Catalina 10.15.5
Hey Nikita,
Thanks for reporting the issue. This could be a documentation issue but the script searches for config files starting at the configs directory. The command for using doubles.py should be:
python3 smuggler.py -c doubles.py -u https://example.com
Please try that and let me know. Donโt self-close this issue, at a minimum I want to update the documentation.
Thanks! Evan
Hi Evan,
python3 smuggler.py -c doubles.py -u https://example.com
this works just fine :)
Thanks for your response!
Sir Can we input our config file?? If yes, how because everytime i input the location or put .py file in config folder still shows config file not found. As you can see in the picture
@TechnicalPredator Smuggler has a small bug in attempting to figure out if the passed configfile path is an absolute path. As a result, the best bet is to put your configfile in the project's configs
(e.g. "myconfig.py") folder and then use argument e.g. -c myconfig.py
.
I've made a tiny PR for this. https://github.com/defparam/smuggler/pull/22
Hi,
I've tried to use another config with
-c
option but smuggler returns an error:P.S. Hackish way to get around this is to copy desired config to
default.py
๐ P.P.S. Thanks for the tool!