Created
October 23, 2021 17:15
-
-
Save powerexploit/9407b5b0281bc65a15fd8cf0455b2aa3 to your computer and use it in GitHub Desktop.
Revisions
-
powerexploit created this gist
Oct 23, 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,20 @@ #!/usr/bin/python import re import requests import argparse import sys def upi_grabber(url): response= requests.get('%s' %(url)).text UPI_ID = re.findall(r'[a-zA-Z0-9.\-_]{2,256}@[a-zA-Z]{2,64}',response) print(UPI_ID) if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument('--url',help='parse the url') args = parser.parse_args() if args.url: print("[+] Extracting UPI ID's: \n") upi_grabber(args.url) sys.exit()