Skip to content

Commit 163e5d7

Browse files
committed
Fixed some typos that was raised, thanks @
1 parent fb1918d commit 163e5d7

4 files changed

Lines changed: 10 additions & 9 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
TeamFiltration is a cross-platform framework for enumerating, spraying, exfiltrating, and backdooring O365 AAD accounts.
99
See the [TeamFiltration](https://github.com/Flangvik/TeamFiltration/wiki/Home) wiki page for an introduction into how TeamFiltration works and the [Quick Start Guide](https://github.com/Flangvik/TeamFiltration/wiki/Home#quick-start-guide) for how to get up and running!
1010

11-
This tool has been used internally while working at TrustedSec since January 2021 and was publicly released in my talk [Taking a Dumb In The Cloud](https://youtu.be/GpZTQHLKelg) during DefCON30.
11+
This tool has been used internally while working at TrustedSec since January 2021 and was publicly released in my talk [Taking a Dump In The Cloud](https://youtu.be/GpZTQHLKelg) during DefCON30.
1212

1313
## Download
1414
[You can download the latest precompiled release for Linux, Windows and MacOS ](https://github.com/Flangvik/TeamFiltration/releases/latest)
@@ -46,7 +46,7 @@ This tool has been used internally while working at TrustedSec since January 202
4646
└╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╝
4747
╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝╝
4848
49-
[❤] TeamFiltration V3.5.4 PUBLIC, created by @Flangvik at @KovertNO, @TrustedSec
49+
[❤] TeamFiltration V3.5.5 PUBLIC, created by @Flangvik at @KovertNO, @TrustedSec
5050
[+] Args parsed
5151
Usage:
5252
@@ -102,6 +102,7 @@ Usage:
102102
--validate-msol Validate that the given o365 accounts exists using the public GetCredentialType method (Very RateLimited - Slow 20 e/s)
103103
--validate-teams Validate that the given o365 accounts exists using the Teams API method (Recommended - Super Fast 300 e/s)
104104
--validate-login Validate that the given o365 accounts by attemping to login (Noisy - triggers logins - Fast 100 e/s)
105+
--validate-onedrive Validate that the given o365 accounts using @nyxgeek OneDrive method (Recommended - Fast 300 e/s
105106
106107
--backdoor Loads the interactive backdoor module
107108

TeamFiltration/TeamFiltration/Handlers/DehashedHandler.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ public DehashedHandler(GlobalArgumentsHandler globalArgsHandler)
5454
_dehashedClient.DefaultRequestHeaders.Add("Accept", "application/json");
5555

5656
}
57-
public async Task<QueryResponse> QueryDehashed(string domain, int page, int size)
57+
public async Task<DehashedQueryResponse> QueryDehashed(string domain, int page, int size)
5858
{
5959

60-
var jsonData = new QueryRequest()
60+
var jsonData = new DehashedQueryRequest()
6161
{
6262
query = "domain:" + domain,
6363
page = page,
@@ -73,19 +73,19 @@ public async Task<QueryResponse> QueryDehashed(string domain, int page, int size
7373
var rawData = await dehashedResponse.Content.ReadAsStringAsync();
7474
if (dehashedResponse.IsSuccessStatusCode)
7575
{
76-
return JsonConvert.DeserializeObject<Models.Dehashed.QueryResponse>(rawData);
76+
return JsonConvert.DeserializeObject<Models.Dehashed.DehashedQueryResponse>(rawData);
7777
}
7878
else
7979
{
8080
Console.WriteLine($"[+] Failed to get data from Dehashed, response: {rawData}");
81-
return (new QueryResponse() { balance = 0,entries = new List<Entry>() { },took = "", total = 0});
81+
return (new DehashedQueryResponse() { balance = 0,entries = new List<Entry>() { },took = "", total = 0});
8282
};
8383

8484

8585

8686
}
8787

88-
public async Task<QueryResponse> FetchDomainEntries(string domain)
88+
public async Task<DehashedQueryResponse> FetchDomainEntries(string domain)
8989
{
9090
int page = 1;
9191
int size = 10000;

TeamFiltration/TeamFiltration/Models/Dehashed/DehashedQueryResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace TeamFiltration.Models.Dehashed
66
{
77

88

9-
public class QueryResponse
9+
public class DehashedQueryResponse
1010
{
1111
public int balance { get; set; }
1212
public List<Entry> entries { get; set; }

TeamFiltration/TeamFiltration/Modules/Spray.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ public static async Task SprayAsync(string[] args)
279279
if (!string.IsNullOrEmpty(exludeListPath))
280280
{
281281
excludeList = File.ReadAllLines(exludeListPath).Select(x => x.ToLower().Trim()).ToArray();
282-
databaseHandle.WriteLog(new Log("SPRAY", $"Exlcuding {excludeList.Count()} emails"!));
282+
databaseHandle.WriteLog(new Log("SPRAY", $"Excluding {excludeList.Count()} emails"!));
283283
}
284284

285285
if (string.IsNullOrEmpty(passwordListPath))

0 commit comments

Comments
 (0)