{"id":13841217,"url":"https://github.com/BloodHoundAD/SharpHound2","last_synced_at":"2025-07-11T12:30:40.687Z","repository":{"id":40929746,"uuid":"97151659","full_name":"BloodHoundAD/SharpHound2","owner":"BloodHoundAD","description":"The Old BloodHound C# Ingestor (Deprecated)","archived":true,"fork":false,"pushed_at":"2022-06-22T17:07:56.000Z","size":516,"stargazers_count":510,"open_issues_count":32,"forks_count":114,"subscribers_count":40,"default_branch":"master","last_synced_at":"2024-08-05T17:27:02.363Z","etag":null,"topics":["activedirectory","bloodhound","csharp","pentesting-windows"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BloodHoundAD.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-13T18:05:44.000Z","updated_at":"2024-07-17T15:21:43.000Z","dependencies_parsed_at":"2022-09-20T17:15:38.243Z","dependency_job_id":null,"html_url":"https://github.com/BloodHoundAD/SharpHound2","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BloodHoundAD%2FSharpHound2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BloodHoundAD%2FSharpHound2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BloodHoundAD%2FSharpHound2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BloodHoundAD%2FSharpHound2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BloodHoundAD","download_url":"https://codeload.github.com/BloodHoundAD/SharpHound2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225720397,"owners_count":17513596,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["activedirectory","bloodhound","csharp","pentesting-windows"],"created_at":"2024-08-04T17:01:04.908Z","updated_at":"2024-11-21T11:30:25.253Z","avatar_url":"https://github.com/BloodHoundAD.png","language":"C#","funding_links":[],"categories":["C# #"],"sub_categories":[],"readme":"# THIS IS NOW DEPRECATED IN FAVOR OF [SHARPHOUND3](https://github.com/BloodHoundAD/SharpHound3). DATA COLLECTED USING THIS METHOD WILL NOT WORK WITH BLOODHOUND 3.0\n\n\n# SharpHound - C# Rewrite of the BloodHound Ingestor\n\n## Get SharpHound\nThe latest build of SharpHound will always be in the BloodHound repository [here](https://github.com/BloodHoundAD/BloodHound/tree/master/Ingestors)\n\n## Compile Instructions\nSharphound is written using C# 7.0 features. To easily compile this project, use Visual Studio 2017. \n\nIf you would like to compile on previous versions of Visual Studio, you can install the [Microsoft.Net.Compilers](https://www.nuget.org/packages/Microsoft.Net.Compilers/) nuget package.\n\nBuilding the project will generate an executable as well as a PowerShell script that encapsulates the executable. All dependencies are rolled into the binary.\n\n## Requirements\nSharphound is designed targetting .Net 3.5. Sharphound must be run from the context of a domain user, either directly through a logon or through another method such as RUNAS.\n\n## More Information\n\n## Usage\n### Enumeration Options\n* **CollectionMethod** - The collection method to use. This parameter accepts a comma separated list of values. Has the following potential values (Default: Default):\n  * **Default** - Performs group membership collection, domain trust collection, local admin collection, and session collection\n  * **Group** - Performs group membership collection\n  * **LocalAdmin** - Performs local admin collection\n  * **RDP** - Performs Remote Desktop Users collection\n  * **DCOM** - Performs Distributed COM Users collection\n  * **GPOLocalGroup** - Performs local admin collection using Group Policy Objects\n  * **Session** - Performs session collection\n  * **ComputerOnly** - Performs local admin, RDP, DCOM and session collection\n  * **LoggedOn** - Performs privileged session collection (requires admin rights on target systems)\n  * **Trusts** - Performs domain trust enumeration\n  * **ACL** - Performs collection of ACLs\n  * **Container** - Performs collection of Containers\n  * **DcOnly** - Performs collection using LDAP only. Includes Group, Trusts, ACL, ObjectProps, Container, and GPOLocalGroup.\n  * **All** - Performs all Collection Methods except GPOLocalGroup and LoggedOn\n* **SearchForest** - Search all the domains in the forest instead of just your current one\n* **Domain** - Search a particular domain. Uses your current domain if null (Default: null)\n* **Stealth** - Performs stealth collection methods. All stealth options are single threaded.\n* **SkipGCDeconfliction** - Skip Global Catalog deconfliction during session enumeration. This can speed up enumeration, but will result in possible inaccuracies in data.\n* **ExcludeDc** - Excludes domain controllers from enumeration (avoids Microsoft ATA flags :) )\n* **ComputerFile** - Specify a file to load computer names/IPs from\n* **OU** - Specify which OU to enumerate\n\n### Connection Options\n* **DomainController** - Specify which Domain Controller to connect to (Default: null)\n* **LdapPort** - Specify what port LDAP lives on (Default: 0)\n* **SecureLdap** - Connect to AD using Secure LDAP instead of regular LDAP. Will connect to port 636 by default.\n* **IgnoreLdapCert** - Ignores LDAP SSL certificate. Use if there's a self-signed certificate for example\n* **LDAPUser** - Username to connect to LDAP with. Requires the LDAPPassword parameter as well (Default: null)\n* **LDAPPass** - Password for the user to connect to LDAP with. Requires the LDAPUser parameter as well (Default: null)\n* **DisableKerbSigning** - Disables LDAP encryption. Not recommended.\n\n### Performance Options\n* **Threads** - Specify the number of threads to use (Default: 10)\n* **PingTimeout** - Specifies the timeout for ping requests in milliseconds (Default: 250)\n* **SkipPing** - Instructs Sharphound to skip ping requests to see if systems are up\n* **LoopDelay** - The number of seconds in between session loops (Default: 300)\n* **MaxLoopTime** - The amount of time to continue session looping. Format is 0d0h0m0s. Null will loop for two hours. (Default: 2h)\n* **Throttle** - Adds a delay after each request to a computer. Value is in milliseconds (Default: 0)\n* **Jitter** - Adds a percentage jitter to throttle. (Default: 0)\n\n### Output Options\n* **JSONFolder** - Folder in which to store JSON files (Default: .)\n* **JSONPrefix** - Prefix to add to your JSON files (Default: \"\")\n* **NoZip** - Don't compress JSON files to the zip file. Leaves JSON files on disk. (Default: false)\n* **EncryptZip** - Add a randomly generated password to the zip file.\n* **ZipFileName** - Specify the name of the zip file\n* **RandomFilenames** - Randomize output file names\n* **PrettyJson** - Outputs JSON with indentation on multiple lines to improve readability. Tradeoff is increased file size.\n\n### Cache Options\n* **CacheFile** - Filename for the Sharphound cache. (Default: \u003cB64 Machine Sid\u003e.bin)\n* **NoSaveCache** - Don't save the cache file to disk. Without this flag, \u003cB64 Machine Sid\u003e.bin will be dropped to disk\n* **Invalidate** - Invalidate the cache file and build a new cache\n\n### Misc Options\n* **StatusInterval** - Interval to display progress during enumeration in milliseconds (Default: 30000)\n* **Verbose** - Enables verbose output\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBloodHoundAD%2FSharpHound2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBloodHoundAD%2FSharpHound2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBloodHoundAD%2FSharpHound2/lists"}