Open gg-g opened 1 year ago
https://github.com/Octoberfest7/TeamsPhisher/blob/4e34fce51c0f428ef642365e9eceec5c3cd0d82d/teamsphisher.py#L208
I think you can skip the whole looping over users (lines 208-230):
url = f"https://teams.microsoft.com/api/mt/emea/beta/users/{userID}" response = requests.get(url, headers=headers) senderInfo = json.loads(response.text)['value']
https://github.com/Octoberfest7/TeamsPhisher/blob/4e34fce51c0f428ef642365e9eceec5c3cd0d82d/teamsphisher.py#L208
I think you can skip the whole looping over users (lines 208-230):