Skip to content

Instantly share code, notes, and snippets.

View sticky270's full-sized avatar

Michael Ward sticky270

View GitHub Profile
@dirkjanm
dirkjanm / ntsecdesctest.py
Created April 13, 2018 10:08
Test Security Descriptor encoding/decoding in impacket
#!/usr/bin/env python
####################
#
# Copyright (c) 2018 Dirk-jan Mollema - Fox-IT
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is