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

Commit

Permalink
Update found.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rly0nheart authored Jan 19, 2022
1 parent 24adc18 commit 482c7d7
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .lib/found.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import os
import sys
sys.path.append(os.getcwd()+"/.lib/")
from colors import red,white,green,reset
sys.path.append(f'{os.getcwd()}/.lib/')
from colors import green,white,reset

# The found function returns found results only
# And it can be called by specifying the -f/--found flags
def found(args,response,site_name,site_url,data):
def found(args,response,site_name,site_url):
if response.status_code == 200:
print(f'\n{white}{site_name}{reset}')
for key,value in data.items():
print(f'{white}├─ {key}: {green}{value}{reset}')
print(f'{white}[{green}+{white}] {site_name}: {green}{site_url.format(args.username)}{reset}')

0 comments on commit 482c7d7

Please sign in to comment.