Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Commit

Permalink
Merge pull request #19 from srikanthlogic/update_suffixes
Browse files Browse the repository at this point in the history
- Add additional suffixes
- Add .gitpod.yml
- Add acknowledgements
  • Loading branch information
qurbat authored May 13, 2022
2 parents 2568c9b + c898169 commit a023eb5
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file)
# and commit this file to your remote git repository to share the goodness with others.

tasks:
- init: pip install -r requirements.txt


7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ Contributions are welcome. Feature wishlist:
- [ ] Introduce support for more API providers
- [ ] Introduce support for wordlist based address discovery
- [ ] Refactor for release as Python module
- [x] Introduce support for FASTag addresses
- [x] Introduce support for Google Pay addresses
- [x] Improve argument parsing code

## Acknowledgements

- Srikanth L (added FASTag and Google support)

## Disclaimer

Expand Down
5 changes: 5 additions & 0 deletions data/general_suffixes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ denabank
dlb
dnsbank
eazypay
esaf
equitas
ezeepay
fbl
Expand All @@ -56,6 +57,7 @@ indianbank
indianbk
indus
iob
janabank
jio
jkb
jsbp
Expand All @@ -74,6 +76,7 @@ lvb
lvbank
mahb
myicici
nsdl
obc
okaxis
okbizaxis
Expand All @@ -85,6 +88,7 @@ payzapp
pingpay
pnb
pockets
postbank
psb
purz
rajgovhdfcbank
Expand All @@ -111,6 +115,7 @@ unionbankofindia
united
upi
utbi
utkarshbank
vijayabank
vijb
vjb
Expand Down
5 changes: 5 additions & 0 deletions data/mobile_suffixes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ denabank
dlb
dnsbank
equitas
esaf
ezeepay
fbl
federal
Expand All @@ -53,6 +54,7 @@ indianbank
indianbk
indus
iob
janabank
jio
jkb
jsbp
Expand All @@ -71,12 +73,14 @@ lvb
lvbank
mahb
myicici
nsdl
obc
paytm
payzapp
pingpay
pnb
pockets
postbank
psb
purz
rbl
Expand All @@ -102,6 +106,7 @@ unionbankofindia
united
upi
utbi
utkarshbank
vijayabank
vijb
vjb
Expand Down
1 change: 1 addition & 0 deletions upi-recon.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def searchvpa(searchtext, vpa_dict, threadcount):
exit(1)

def address_discovery(vpa, api_url):

r = requests.post(api_url, data={'entity':'vpa','value':vpa}, headers={'Connection':'close'})
if r.status_code == 200 and r.json()['success'] is True:
print('[+] ' + vpa + ' is a valid UPI payment address registered to ' + r.json()['customer_name']) if r.json()['customer_name'] else print('[!] The name associated with the UPI payment address could not be determined')
Expand Down

0 comments on commit a023eb5

Please sign in to comment.