Skip to content

Commit 1e7cea7

Browse files
authored
Merge pull request sanscript-tech#325 from HaripriyaB/webTechnologiesDetector
Web technologies detector in python
2 parents 09ccada + 4357899 commit 1e7cea7

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Web Technologies Detector
2+
The aim of the program is to analyse the technologies used ehind a website.
3+
4+
# Libraries Used:
5+
* [Python-Wappalyzer](https://github.com/chorsley/python-Wappalyzer) - Python driver for Wappalyzer, a web application detection utility.
6+
7+
## pre-requisites:
8+
`>> pip install python-Wappalyzer`
9+
10+
## Usage:
11+
`>> python web_technologies_detector.py`
12+
13+
## I/O:
14+
```
15+
Enter the full url you want to check for: $(url)
16+
<Sample output>
17+
{'Ruby': {'versions': [], 'categories': ['Programming languages']}, 'Ruby on Rails': {'versions': [], 'categories': ['Web frameworks']}, 'GitHub Pages': {'versions': [], 'categories': ['PaaS']}}
18+
```
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
from Wappalyzer import Wappalyzer, WebPage
2+
3+
url = ""
4+
5+
def detect():
6+
wappalyzer = Wappalyzer.latest()
7+
webpage = WebPage.new_from_url(url)
8+
print(wappalyzer.analyze_with_versions_and_categories(webpage))
9+
10+
def main():
11+
global url
12+
url = input("Enter the full url you want to check for: ")
13+
detect()
14+
15+
16+
if __name__ == "__main__":
17+
main()

0 commit comments

Comments
 (0)