Skip to content

Instantly share code, notes, and snippets.

@tommelo
Created November 12, 2017 19:45
Show Gist options
  • Select an option

  • Save tommelo/0672445d49ae65ce298b2dd9e7265356 to your computer and use it in GitHub Desktop.

Select an option

Save tommelo/0672445d49ae65ce298b2dd9e7265356 to your computer and use it in GitHub Desktop.

Revisions

  1. tommelo created this gist Nov 12, 2017.
    4 changes: 4 additions & 0 deletions sam-no-admin.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    SAM_FILE = r'C:\Windows\System32\config\sam'

    with open(SAM_FILE, 'r') as sam:
    print sam.readlines()