fixed unescaped regex, formatted -b options

This commit is contained in:
csparks
2019-09-07 00:32:48 +00:00
parent ef7b2fd1d1
commit efa7bf8dab
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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: