{"id":26600801,"url":"https://github.com/elddy/nim-smbexec","last_synced_at":"2025-04-09T16:23:55.023Z","repository":{"id":118355279,"uuid":"288105327","full_name":"elddy/Nim-SMBExec","owner":"elddy","description":"SMBExec implementation in Nim - SMBv2 using NTLM Authentication with Pass-The-Hash technique","archived":false,"fork":false,"pushed_at":"2022-07-19T13:31:28.000Z","size":93,"stargazers_count":90,"open_issues_count":1,"forks_count":13,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-23T18:47:47.507Z","etag":null,"topics":["nim","nim-lang","ntlm","pass-the-hash","pentest-tool","red-teaming","smb","windows"],"latest_commit_sha":null,"homepage":"","language":"Nim","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elddy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-08-17T06:51:26.000Z","updated_at":"2025-03-18T15:28:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"a7fcf342-2e0c-4015-b0de-3e5135964ab3","html_url":"https://github.com/elddy/Nim-SMBExec","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elddy%2FNim-SMBExec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elddy%2FNim-SMBExec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elddy%2FNim-SMBExec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elddy%2FNim-SMBExec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elddy","download_url":"https://codeload.github.com/elddy/Nim-SMBExec/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065991,"owners_count":21042012,"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":["nim","nim-lang","ntlm","pass-the-hash","pentest-tool","red-teaming","smb","windows"],"created_at":"2025-03-23T18:35:26.719Z","updated_at":"2025-04-09T16:23:54.994Z","avatar_url":"https://github.com/elddy.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nim-SMBExec\nSMBExec implementation in Nim - SMBv2 using NTLM Authentication with Pass-The-Hash technique\n\n## Install\n```\nnimble install SMBExec\n```\n\n## Usage\n```Nim\nimport SMBExec\n```\n\n## Examples\nCreate SMB object, connect to target and execute a command under specified service name:\n```Nim\nlet hash = toNTLMHash(\"SecretPassword\") # Returns NTLMHash =\u003e e.g 47bf8039a8506cd67c524a03ff84ba4e\n\nvar smb = newSMB2(\"IP Address/Hostname\", \"Domain\", \"Username\", \"Password Hash\", \"ServiceName (Optional)\") # Creates SMB object\n\nlet response = smb.connect() # Connect and authenticate to the target via SMB\n\nsmb.exec(\"cmd command\", response) # Response from the negotiation\n\nsmb.close() # Close socket\n```\n## Support\n#### Only supports SMBv2 Authentication\n\n## Credits\nPowershell: Invoke-SMBExec - https://github.com/Kevin-Robertson/Invoke-TheHash/blob/master/Invoke-SMBExec.ps1\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felddy%2Fnim-smbexec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felddy%2Fnim-smbexec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felddy%2Fnim-smbexec/lists"}