If you ever need to test Modsecuritys upload / scanning function, here a method.
curl -k -i -F 'upload=@"//tmp/bad.txt"' https://$domain/
HTH
Brent
curl -k -i -F 'upload=@"//tmp/bad.txt"' https://$domain/
vagrant plugin install vagrant-scp (From vagrant-scp)
And then the method is
vagrant scp <some_local_file_or_dir> [vm_name]:<somewhere_on_the_vm>
To get "vm_name" you need to run:vagrant global-status
In my instance:bclark@bclark:~/Vagrant_Projects/Imapproxy$ vagrant global-status
id name provider state directory
---------------------------------------------------------------------------------------------
5250600 default virtualbox running /home/bclark/Vagrant_Projects/Imapproxy
Then to copy the files, I run:
vagrant scp 5250600:/etc/dovecot /path/to/where/you/want/it/stored
HTH