Closed sk1tt1sh closed 10 years ago
Nice PR; changes noted.
Other questions/things to consider:
With some work I think it would make a neat addition.
I will continue adding debug info. The flag has been updated to --[platform]-sam as well. Just need to go over a couple things and I think it'll be ready.
Updates as requested. Sticking with string.replace since something causes it the think its unicode for .translate and bugs it out.
Why should this module require root?
I just ran this against Tomcat 5.5 on Windows 7 and it failed to dump SAM/SYSTEM correctly. It pulled down 0 byte files.
Root privs aren't necessary I suppose. The files are saved to clustered so...if there's access on that dir for non-root cool.
It will pull 0 byte files if the service is run as a user in admin that is not running TC as an admin. Same with JBoss. I will see if there's a way to get a privs level... or a "runas option" but that will probably fail if there's UAC at all turned on.
I'll clean up the string split, and debug/bold green happiness stuff today. Thanks.
Pushed changes.
I'm not convinced the module is stable enough for a merge yet, but i'll be doing some testing over the weekend.
Closed as per offline discussion.
getSAM modules added for automatic sam and system hive retrieval.