Skip to content

Instantly share code, notes, and snippets.

@0xdreadnaught
Last active February 19, 2020 17:39
Show Gist options
  • Select an option

  • Save 0xdreadnaught/bb1d25289629f2d95b28893eadb1a0c6 to your computer and use it in GitHub Desktop.

Select an option

Save 0xdreadnaught/bb1d25289629f2d95b28893eadb1a0c6 to your computer and use it in GitHub Desktop.
RPC Enumeration
Command Question
rpcclient -U "" <target-ip> What commands can I run?
rpcclient -U "" -command=srvinfo <target-ip> Server versions: https://en.wikipedia.org/wiki/Comparison_of_Microsoft_Windows_versions
rpcclient -U "" -command=enumdomusers -N <target-ip> What can I do with these accounts?
rpcclient -U "" -command=enumprivs -N <target-ip> Can I list privs? What can I do with them?
rpcclient -U "" -command=netshareenum -N <target-ip> Any network shares available?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment