Skip to content

Cmd

  • cd: print working directory
  • type: cat for windows
  • move <src> <dest>: move files
  • del: delete file
  • replace: replace file with another
  • copy/robocopy: copy files
  • sc query: lists running services
  • wevtutil: retrieve info about event logs and publishers
  • el: enumerate service logs
  • dir /b/s *<file>: search for file recursively, accespts blobs
  • powershell -c/powershell iex: execute powershell command
  • systeminfo: list configuration info for the machine's OS, hardware etc.
  • ver
  • tasklist
  • netstat -an: list all active network connections
  • -a: lists all connection
  • -n: doesn't resolve hosts (shows IPs)