mirror of
https://github.com/vysecurity/LinkedInt.git
synced 2025-12-06 17:02:19 +01:00
Add firstl email format
This commit is contained in:
parent
cb8719b373
commit
9d86de3de9
1 changed files with 6 additions and 4 deletions
10
LinkedInt.py
10
LinkedInt.py
|
|
@ -262,6 +262,8 @@ def get_search():
|
||||||
user = '{}{}{}'.format(fname, mname[0], lname)
|
user = '{}{}{}'.format(fname, mname[0], lname)
|
||||||
if prefix == 'flast':
|
if prefix == 'flast':
|
||||||
user = '{}{}'.format(fname[0], lname)
|
user = '{}{}'.format(fname[0], lname)
|
||||||
|
if prefix == 'firstl':
|
||||||
|
user = '{}{}'.format(fname,lname[0])
|
||||||
if prefix == 'first.last':
|
if prefix == 'first.last':
|
||||||
user = '{}.{}'.format(fname, lname)
|
user = '{}.{}'.format(fname, lname)
|
||||||
if prefix == 'fmlast':
|
if prefix == 'fmlast':
|
||||||
|
|
@ -377,10 +379,10 @@ if __name__ == '__main__':
|
||||||
print
|
print
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
prefix = raw_input("[*] Select a prefix for e-mail generation (auto,full,firstlast,firstmlast,flast,first.last,fmlast,lastfirst): \n")
|
prefix = raw_input("[*] Select a prefix for e-mail generation (auto,full,firstlast,firstmlast,flast,firstl,first.last,fmlast,lastfirst): \n")
|
||||||
prefix = prefix.lower()
|
prefix = prefix.lower()
|
||||||
print
|
print
|
||||||
if prefix == "full" or prefix == "firstlast" or prefix == "firstmlast" or prefix == "flast" or prefix =="first" or prefix == "first.last" or prefix == "fmlast" or prefix == "lastfirst":
|
if prefix == "full" or prefix == "firstlast" or prefix == "firstmlast" or prefix == "flast" or prefix == "firstl" or prefix =="first" or prefix == "first.last" or prefix == "fmlast" or prefix == "lastfirst":
|
||||||
break
|
break
|
||||||
elif prefix == "auto":
|
elif prefix == "auto":
|
||||||
#if auto prefix then we want to use hunter IO to find it.
|
#if auto prefix then we want to use hunter IO to find it.
|
||||||
|
|
@ -402,7 +404,7 @@ if __name__ == '__main__':
|
||||||
print "[!] %s" % prefix
|
print "[!] %s" % prefix
|
||||||
if prefix:
|
if prefix:
|
||||||
prefix = prefix.replace("{","").replace("}", "")
|
prefix = prefix.replace("{","").replace("}", "")
|
||||||
if prefix == "full" or prefix == "firstlast" or prefix == "firstmlast" or prefix == "flast" or prefix =="first" or prefix == "first.last" or prefix == "fmlast" or prefix == "lastfirst":
|
if prefix == "full" or prefix == "firstlast" or prefix == "firstmlast" or prefix == "flast" or prefix == "firstl" or prefix =="first" or prefix == "first.last" or prefix == "fmlast" or prefix == "lastfirst":
|
||||||
print "[+] Found %s prefix" % prefix
|
print "[+] Found %s prefix" % prefix
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
|
|
@ -412,7 +414,7 @@ if __name__ == '__main__':
|
||||||
print "[!] Automatic prefix search failed, please insert a manual choice"
|
print "[!] Automatic prefix search failed, please insert a manual choice"
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
print "[!] Incorrect choice, please select a value from (auto,full,firstlast,firstmlast,flast,first.last,fmlast)"
|
print "[!] Incorrect choice, please select a value from (auto,full,firstlast,firstmlast,flast,firstl,first.last,fmlast)"
|
||||||
|
|
||||||
print
|
print
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue