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

Minor fixes #24

Merged
merged 1 commit into from
May 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions upi-recon.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ def address_discovery(vpa, api_url):
# if r.status_code == 200 and r.json()['success'] == False:
# print('[-] ' + vpa + ' not a valid UPI address')
# todo: store in dict by default and print if verbosity is set
else:
elif r.status_code != 200:
print('[-] query failed for ' + vpa)
print('[!] "' + vpa + '" may not be a valid address')
# print('[!] "' + vpa + '" may not be a valid address')


if __name__ == '__main__':
Expand Down Expand Up @@ -151,4 +151,4 @@ def address_discovery(vpa, api_url):
else:
print('[!] please enter a valid argument')
print('[!] usage: upi-recon.py -h for help')
exit(1)
exit(1)