{"id":20900018,"url":"https://github.com/the404hacking/wig","last_synced_at":"2025-07-17T01:34:22.438Z","repository":{"id":109048007,"uuid":"110844098","full_name":"The404Hacking/wig","owner":"The404Hacking","description":"WebApp Information Gatherer.","archived":false,"fork":false,"pushed_at":"2017-11-15T17:18:01.000Z","size":387,"stargazers_count":5,"open_issues_count":0,"forks_count":4,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-13T01:37:27.394Z","etag":null,"topics":["cmsmap","droopescan","the404hacking","web","web-application","webapp","wig"],"latest_commit_sha":null,"homepage":"https://T.me/The404Hacking","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/The404Hacking.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}},"created_at":"2017-11-15T14:30:08.000Z","updated_at":"2025-04-09T16:33:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"5fa8694a-f8c0-4934-813f-725faebfa3d6","html_url":"https://github.com/The404Hacking/wig","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/The404Hacking/wig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The404Hacking%2Fwig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The404Hacking%2Fwig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The404Hacking%2Fwig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The404Hacking%2Fwig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/The404Hacking","download_url":"https://codeload.github.com/The404Hacking/wig/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The404Hacking%2Fwig/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265558659,"owners_count":23787954,"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":["cmsmap","droopescan","the404hacking","web","web-application","webapp","wig"],"created_at":"2024-11-18T11:17:29.855Z","updated_at":"2025-07-17T01:34:22.417Z","avatar_url":"https://github.com/The404Hacking.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [wig](https://github.com/The404Hacking/wig) - WebApp Information Gatherer\n\n\nwig is a web application information gathering tool, which can identify numerous Content Management Systems and other administrative applications.\n\nThe application fingerprinting is based on checksums and string matching of known files for different versions of CMSes. This results in a score being calculated for each detected CMS and its versions. Each detected CMS is displayed along with the most probable version(s) of it. The score calculation is based on weights and the amount of \"hits\" for a given checksum.\n\nwig also tries to guess the operating system on the server based on the 'server' and 'x-powered-by' headers. A database containing known header values for different operating systems is included in wig, which allows wig to guess Microsoft Windows versions and Linux distribution and version. \n\n\n## Requirements\n\n\nwig is built with **Python 3**, and is therefore not compatible with Python 2. \n\n\n\n## Installation\nwig can be run from the command line or installed with distuils.\n\n\n### Command line\n```\n$ python3 wig.py example.com\n```\n\n\n### Usage in script\nInstall with \n```\n$ python3 setup.py install\n```\n\nand then wig can be imported from any location as such:\n\n\n```\n\u003e\u003e\u003e\u003e from wig.wig import wig\n\u003e\u003e\u003e\u003e w = wig(url='example.com')\n\u003e\u003e\u003e\u003e w.run()\n\u003e\u003e\u003e\u003e results = w.get_results()\n```\n\n\n\n## How it works\n\n\nThe default behavior of wig is to identify a CMS, and exit after version detection of the CMS. This is done to limit the amount of traffic sent to the target server.\nThis behavior can be overwritten by setting the '-a' flag, in which case wig will test all the known fingerprints.\nAs some configurations of applications do not use the default location for files and resources, it is possible to have wig fetch all the static resources it encounters during its scan. This is done with the '-c' option.\nThe '-m' option tests all fingerprints against all fetched URLs, which is helpful if the default location has been changed.\n\n\n\n## Help Screen\n\n```\nusage: wig.py [-h] [-l INPUT_FILE] [-q] [-n STOP_AFTER] [-a] [-m] [-u] [-d]\n              [-t THREADS] [--no_cache_load] [--no_cache_save] [-N]\n              [--verbosity] [--proxy PROXY] [-w OUTPUT_FILE]\n              [url]\n\nWebApp Information Gatherer\n\npositional arguments:\n  url              The url to scan e.g. http://example.com\n\noptional arguments:\n  -h, --help       show this help message and exit\n  -l INPUT_FILE    File with urls, one per line.\n  -q               Set wig to not prompt for user input during run\n  -n STOP_AFTER    Stop after this amount of CMSs have been detected. Default:\n                   1\n  -a               Do not stop after the first CMS is detected\n  -m               Try harder to find a match without making more requests\n  -u               User-agent to use in the requests\n  -d               Disable the search for subdomains\n  -t THREADS       Number of threads to use\n  --no_cache_load  Do not load cached responses\n  --no_cache_save  Do not save the cache for later use\n  -N               Shortcut for --no_cache_load and --no_cache_save\n  --verbosity, -v  Increase verbosity. Use multiple times for more info\n  --proxy PROXY    Tunnel through a proxy (format: localhost:8080)\n  -w OUTPUT_FILE   File to dump results into (JSON)\n```\n\n\n## Example of run:\n\n```\n$ python3 wig.py example.com\n\nwig - WebApp Information Gatherer\n\n\nRedirected to http://www.example.com\nContinue? [Y|n]:\nScanning http://www.example.com...\n_____________________________________________________ SITE INFO _____________________________________________________\nIP                        Title                                                                                      \n256.256.256.256           PAGE_TITLE                                 \n                                                                                                                     \n______________________________________________________ VERSION ______________________________________________________\nName                      Versions                                               Type                                \nDrupal                    7.38                                                   CMS                                 \nnginx                                                                            Platform                            \namazons3                                                                         Platform                            \nVarnish                                                                          Platform                            \nIIS                       7.5                                                    Platform                            \nASP.NET                   4.0.30319                                              Platform                            \njQuery                    1.4.4                                                  JavaScript                          \nMicrosoft Windows Server  2008 R2                                                OS                                  \n                                                                                                                     \n_____________________________________________________ SUBDOMAINS ____________________________________________________\nName                      Page Title                                             IP                                  \nhttp://m.example.com:80   Mobile Page                                            256.256.256.257                     \nhttps://m.example.com:443 Secure Mobil Page                                      256.256.256.258                     \n                                                                                                                     \n____________________________________________________ INTERESTING ____________________________________________________\nURL                       Note                                                   Type                                \n/test/                    Test directory                                         Interesting                         \n/login/                   Login Page                                             Interesting                         \n                                                                                                                     \n_______________________________________________ PLATFORM OBSERVATIONS _______________________________________________\nPlatform                  URL                                                    Type                                \nASP.NET 2.0.50727         /old.aspx                                              Observation                         \nASP.NET 4.0.30319         /login/                                                Observation                         \nIIS 6.0                   http://www.example.com/templates/file.css              Observation                         \nIIS 7.0                   https://www.example.com/login/                         Observation                         \nIIS 7.5                   http://www.example.com                                 Observation                         \n                                                                                                                     \n_______________________________________________________ TOOLS _______________________________________________________\nName                      Link                                                   Software                            \ndroopescan                https://github.com/The404Hacking/droopescan             Drupal                              \nCMSmap                    https://github.com/The404Hacking/CMSmap                 Drupal                              \n                                                                                                                     \n__________________________________________________ VULNERABILITIES __________________________________________________\nAffected                  #Vulns                                                 Link                                \nDrupal 7.38               5                                                      http://cvedetails.com/version/185744\n                                                                                                                     \n_____________________________________________________________________________________________________________________\nTime: 11.3 sec            Urls: 310                                              Fingerprints: 37580       \n```\n\n## Download and Clone\n\u003e Download: [https://github.com/The404Hacking/wig/archive/master.zip](https://github.com/The404Hacking/wig/archive/master.zip)\n\n\u003e Clone: git clone [https://github.com/The404Hacking/wig](https://github.com/The404Hacking/wig.git)\n\n## The404Hacking | Digital UnderGround Team\n[The404Hacking](https://T.me/The404Hacking)\n\n## Follow us !\n[The404Hacking](https://T.me/The404Hacking) - [The404Cracking](https://T.me/The404Cracking)\n\n[Instagram](https://instagram.com/The404Hacking) - [GitHub](https://github.com/The404Hacking)\n\n[YouTube](http://yon.ir/youtube404) - [Aparat](http://www.aparat.com/The404Hacking)\n\n[Weblog](http://the404hacking.blogsky.com) - [Email](mailto:The404Hacking.Team@Gmail.Com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe404hacking%2Fwig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthe404hacking%2Fwig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe404hacking%2Fwig/lists"}