{"id":27968549,"url":"https://github.com/redsiege/rstools","last_synced_at":"2025-05-07T21:04:22.261Z","repository":{"id":131845210,"uuid":"115741888","full_name":"RedSiege/rstools","owner":"RedSiege","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-18T15:19:53.000Z","size":193,"stargazers_count":48,"open_issues_count":0,"forks_count":13,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-05-07T21:04:17.740Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/RedSiege.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-29T17:36:27.000Z","updated_at":"2025-04-18T15:44:03.000Z","dependencies_parsed_at":"2024-07-17T02:29:35.427Z","dependency_job_id":"c36bfd77-8025-4572-b2f3-0a2fab5c0248","html_url":"https://github.com/RedSiege/rstools","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/RedSiege%2Frstools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedSiege%2Frstools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedSiege%2Frstools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedSiege%2Frstools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RedSiege","download_url":"https://codeload.github.com/RedSiege/rstools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252954408,"owners_count":21830902,"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":[],"created_at":"2025-05-07T21:04:21.823Z","updated_at":"2025-05-07T21:04:22.246Z","avatar_url":"https://github.com/RedSiege.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RSTools\n\n## Nmap\n\n### nmap-open-ports-simple.sh\nGet a simple list of IP:Port from Nmap XML. Requires `xmlstarlet`.\n\n```\nnmap-open-ports-simple.sh nmap-results.xml\n192.168.1.1:80\n192.168.1.1:443\n192.168.1.100:22\n192.168.1.200:445\n```\n\n### nmap-open-ports-long.sh\nGet table delimited table of IP, DNS name, Port, Protocol, Detected Service from Nmap XML. Requires `xmlstarlet`.\n\n```\nnmap-open-ports-long.sh nmap-results.xml\n```\n|               |                    |         |          |                         |\n| ------------- | ------------------ | ------- | -------- | ----------------------- |\n| 192.168.1.1   | alpha.redsiege.com | 22/tcp  | ssh      | OpenSSH 7.4protocol 2.0 |\n| 192.168.1.1   | alpha.redsiege.com | 443/tcp | ssl/http | nginx 1.12.2            |\n| 192.168.1.100 | bravo.redsiege.com | 22/tcp  | ssh      | OpenSSH 7.4protocol 2.0 |\n    \n## Web\n\n### GetNamesFromServerCert.py\n\nGets the Common Name and Subject Alternate Names from a certificate.\n\nTakes targets (-t) in IP, FQDN, or CIDR format and combines them with ports (-p) and extracts the CN and the Subject Altrnate Names from the certificate. By default, the script will randomize the host and ports but it can be disabled with -r. The -v option can be used to show the verbose actions.\n\n### GetNamesFromServerCert.ps1\n\nGets the Common Name and Subject Alternate Names from a certificate.\n\nSimilar to GetNamesFromServerCert.py but for PowerShell. Parameters are `-Targets` and `-Ports`.\n\n## Azure\n\n### adsso-spray.py\n\nTool for performing Azure AD user enumeration and password spraying via the Azure AD Seamless SSO endpoint.\n\n```\nusage: adsso-spray.py [-h] [-d DOMAIN] [-l USER_LIST] [-u URL] [-w WAIT] [-p PASSWORD] [-v] [-vv]\n                      [-o OUTPUT_FILE]\n\nEnumerate users or password spray against Azure AD Seamless SSO\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -v, --verbose\n  -vv, --more-verbose\n  -o OUTPUT_FILE, --output OUTPUT_FILE\n                        Output file for results (csv). Default is spray_results.csv\n\nAttack Target:\n  -d DOMAIN             Target domain - required\n  -l USER_LIST          File with list of target usernames (without domain)\n  -u URL, --url URL     Target URL if using something like fireprox; otherwise will directly call\n                        the Azure AD SeamlessSSO endpoint\n  -w WAIT, --wait WAIT  Number of seconds to sleep between individual user attempts\n\nPassword Group:\n  -p PASSWORD, --password PASSWORD\n                        password to spray. Defaults to \"notarealpassword,Iswear\".\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredsiege%2Frstools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredsiege%2Frstools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredsiege%2Frstools/lists"}