Created
December 26, 2021 10:53
-
-
Save powerexploit/75f338671d311f3fddc0078ae00c976c to your computer and use it in GitHub Desktop.
Revisions
-
powerexploit created this gist
Dec 26, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,34 @@ #!/usr/bin/python3 import json from Wappalyzer import Wappalyzer, WebPage from os import system import warnings import time,sys import argparse def techno(url): start = time.time() try: webpage = WebPage.new_from_url(url) warnings.simplefilter("ignore") wappalyzer = Wappalyzer.latest() tech = wappalyzer.analyze_with_versions_and_categories(webpage) data = json.dumps(tech, indent = 4) system('tput setaf 9') print(data) except: print("[+] Oops unable to connect..") end = time.time() print(f"\n[+] Total Execution Time: {end - start} seconds\n\n") if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument('--url',help='parse url to detect tech stack') args = parser.parse_args() if args.url: system('tput setaf 6') print("[+] Detecting CMS with Identified Technologies from target url\n") system('tput setaf 9') techno(args.url) sys.exit()