mirror of
https://github.com/laramies/theHarvester.git
synced 2026-09-27 12:04:51 +02:00
fixed unescaped regex, formatted -b options
This commit is contained in:
@@ -36,7 +36,7 @@ def start():
|
||||
parser.add_argument('-b', '--source', help='''baidu, bing, bingapi, censys, crtsh, dnsdumpster,
|
||||
dogpile, duckduckgo, github-code, google,
|
||||
hunter, intelx,
|
||||
linkedin,linkedin_links, netcraft, securityTrails, threatcrowd,
|
||||
linkedin, linkedin_links, netcraft, securityTrails, threatcrowd,
|
||||
trello, twitter, vhost, virustotal, yahoo, all''')
|
||||
parser.add_argument('-x', '--exclude', help='exclude options when using all sources', type=str)
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ class Parser:
|
||||
return hostnames
|
||||
|
||||
def links_linkedin(self):
|
||||
reg_links = re.compile(r"url=https:\/\/www.linkedin.com(.*?)&")
|
||||
reg_links = re.compile(r"url=https:\/\/www\.linkedin.com(.*?)&")
|
||||
self.temp = reg_links.findall(self.results)
|
||||
resul = []
|
||||
for x in self.temp:
|
||||
|
||||
Reference in New Issue
Block a user