
Enumera utenti validi all'interno di Microsoft Teams e OneDrive con output pulito.
Per visualizzare l'ultima versione di KnockKnock o per inviare un problema, fare riferimento a https://github.com/waffl3ss/KnockKnock.
Progettato per validare potenziali nomi utente interrogando OneDrive e/o Microsoft Teams, metodi passivi.
Può produrre/creare un elenco di utenti legacy di Skype identificati tramite enumerazione di Microsoft Teams.
Può anche ottenere dettagli da Teams, come disponibilità, tipo di dispositivo e messaggio di assenza.
Infine, crea anche una lista pulita e ordinata per utilizzi futuri, il tutto eseguito da un unico strumento.
$ python3 .\KnockKnock.py -h
_ __ _ _ __ _
| |/ /_ __ ___ ___| | _| |/ /_ __ ___ ___| | __
| ' /| '_ \ / _ \ / __| |/ / ' /| '_ \ / _ \ / __| |/ /
| . \| | | | (_) | (__| <| . \| | | | (_) | (__| <
|_|\_\_| |_|\___/ \___|_|\_\_|\_\_| |_|\___/ \___|_|\_\
v0.9.9 @waffl3ss
usage: KnockKnock.py [-h] [-teams] [-onedrive] [-l] -i INPUTLIST [-o OUTPUTFILE] -d TARGETDOMAIN [-t TEAMSTOKEN] [-threads MAXTHREADS] [-v]
options:
-h, --help show this help message and exit
-teams Run the Teams User Enumeration Module
-onedrive Run the One Drive Enumeration Module
-l Write legacy skype users to a seperate file
-s Write Teams Status for users to a seperate file
-i INPUTLIST Input file with newline-seperated users to check
-o OUTPUTFILE Write output to file
-d TARGETDOMAIN Domain to target
-t TEAMSTOKEN Teams Token (file containing token or a string)
-threads MAXTHREADS Number of threads to use in the Teams User Enumeration (default = 10)
-v Show verbose errors
./KnockKnock.py -teams -i UsersList.txt -d Example.com -o OutFile.txt -t BearerToken.txt
./KnockKnock.py -onedrive -i UsersList.txt -d Example.com -o OutFile.txt
./KnockKnock.py -onedrive -teams -i UsersList.txt -d Example.com -t BearerToken.txt -l
Per ottenere il tuo bearer token, avrai bisogno di un plugin Cookie Manager sul tuo browser e di accedere al tuo Microsoft Teams tramite browser.
Successivamente, visualizza i cookie relativi alla pagina web corrente (teams.microsoft.com).
Il cookie che cerchi è per il dominio .teams.microsoft.com e si chiama "authtoken".
Puoi copiare l'intero token, poiché lo script estrarrà la parte necessaria per te.