Octoberfest7 / TeamsPhisher

Send phishing messages and attachments to Microsoft Teams users
1.03k stars 129 forks source link

Manage skipToken in getSenderInfo #4

Closed simz0ff closed 1 year ago

simz0ff commented 1 year ago

Maybe not the most optimized way but seems to work effectively when sender infos are not retrieved in the first call

Octoberfest7 commented 1 year ago

Sorry, what is the purpose of the sendToken, when is one returned, and in what scenarios is the sender's info not returned?

simz0ff commented 1 year ago

The skipToken is used to get the next page of results when the first request does not return them all. In my case sender id was few pages away, so the script was crashing because it did not returned the senderInfo.