Commit 4878302 1 parent 5ae0b0c commit 4878302 Copy full SHA for 4878302
File tree 12 files changed +6
-166
lines changed
12 files changed +6
-166
lines changed Original file line number Diff line number Diff line change 1
- /*
2
- Copyright © 2021 Nodauf
3
-
4
- Licensed under the Apache License, Version 2.0 (the "License");
5
- you may not use this file except in compliance with the License.
6
- You may obtain a copy of the License at
7
-
8
- http://www.apache.org/licenses/LICENSE-2.0
9
-
10
- Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an "AS IS" BASIS,
12
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- See the License for the specific language governing permissions and
14
- limitations under the License.
15
- */
16
1
package brute
17
2
18
3
import (
Original file line number Diff line number Diff line change 1
- /*
2
- Copyright © 2021 NAME HERE <EMAIL ADDRESS>
3
-
4
- Licensed under the Apache License, Version 2.0 (the "License");
5
- you may not use this file except in compliance with the License.
6
- You may obtain a copy of the License at
7
-
8
- http://www.apache.org/licenses/LICENSE-2.0
9
-
10
- Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an "AS IS" BASIS,
12
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- See the License for the specific language governing permissions and
14
- limitations under the License.
15
- */
16
1
package brute
17
2
18
3
import (
Original file line number Diff line number Diff line change 1
- /*
2
- Copyright © 2021 NAME HERE <EMAIL ADDRESS>
3
-
4
- Licensed under the Apache License, Version 2.0 (the "License");
5
- you may not use this file except in compliance with the License.
6
- You may obtain a copy of the License at
7
-
8
- http://www.apache.org/licenses/LICENSE-2.0
9
-
10
- Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an "AS IS" BASIS,
12
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- See the License for the specific language governing permissions and
14
- limitations under the License.
15
- */
16
1
package brute
17
2
18
3
import (
Original file line number Diff line number Diff line change 1
- /*
2
- Copyright © 2021 NAME HERE <EMAIL ADDRESS>
3
-
4
- Licensed under the Apache License, Version 2.0 (the "License");
5
- you may not use this file except in compliance with the License.
6
- You may obtain a copy of the License at
7
-
8
- http://www.apache.org/licenses/LICENSE-2.0
9
-
10
- Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an "AS IS" BASIS,
12
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- See the License for the specific language governing permissions and
14
- limitations under the License.
15
- */
16
1
package brute
17
2
18
3
import (
Original file line number Diff line number Diff line change 1
- /*
2
- Copyright © 2021 NAME HERE <EMAIL ADDRESS>
3
-
4
- Licensed under the Apache License, Version 2.0 (the "License");
5
- you may not use this file except in compliance with the License.
6
- You may obtain a copy of the License at
7
-
8
- http://www.apache.org/licenses/LICENSE-2.0
9
-
10
- Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an "AS IS" BASIS,
12
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- See the License for the specific language governing permissions and
14
- limitations under the License.
15
- */
16
1
package enum
17
2
18
3
import (
Original file line number Diff line number Diff line change 1
- /*
2
- Copyright © 2021 NAME HERE <EMAIL ADDRESS>
3
-
4
- Licensed under the Apache License, Version 2.0 (the "License");
5
- you may not use this file except in compliance with the License.
6
- You may obtain a copy of the License at
7
-
8
- http://www.apache.org/licenses/LICENSE-2.0
9
-
10
- Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an "AS IS" BASIS,
12
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- See the License for the specific language governing permissions and
14
- limitations under the License.
15
- */
16
1
package enum
17
2
18
3
import (
Original file line number Diff line number Diff line change 1
- /*
2
- Copyright © 2021 NAME HERE <EMAIL ADDRESS>
3
-
4
- Licensed under the Apache License, Version 2.0 (the "License");
5
- you may not use this file except in compliance with the License.
6
- You may obtain a copy of the License at
7
-
8
- http://www.apache.org/licenses/LICENSE-2.0
9
-
10
- Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an "AS IS" BASIS,
12
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- See the License for the specific language governing permissions and
14
- limitations under the License.
15
- */
16
1
package enum
17
2
18
3
import (
Original file line number Diff line number Diff line change 1
- /*
2
- Copyright © 2021 NAME HERE <EMAIL ADDRESS>
3
-
4
- Licensed under the Apache License, Version 2.0 (the "License");
5
- you may not use this file except in compliance with the License.
6
- You may obtain a copy of the License at
7
-
8
- http://www.apache.org/licenses/LICENSE-2.0
9
-
10
- Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an "AS IS" BASIS,
12
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- See the License for the specific language governing permissions and
14
- limitations under the License.
15
- */
16
1
package enum
17
2
18
3
import (
Original file line number Diff line number Diff line change 1
- /*
2
- Copyright © 2021 NAME HERE <EMAIL ADDRESS>
3
-
4
- Licensed under the Apache License, Version 2.0 (the "License");
5
- you may not use this file except in compliance with the License.
6
- You may obtain a copy of the License at
7
-
8
- http://www.apache.org/licenses/LICENSE-2.0
9
-
10
- Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an "AS IS" BASIS,
12
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- See the License for the specific language governing permissions and
14
- limitations under the License.
15
- */
16
1
package gather
17
2
18
3
import (
Original file line number Diff line number Diff line change 1
- /*
2
- Copyright © 2021 NAME HERE <EMAIL ADDRESS>
3
-
4
- Licensed under the Apache License, Version 2.0 (the "License");
5
- you may not use this file except in compliance with the License.
6
- You may obtain a copy of the License at
7
-
8
- http://www.apache.org/licenses/LICENSE-2.0
9
-
10
- Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an "AS IS" BASIS,
12
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- See the License for the specific language governing permissions and
14
- limitations under the License.
15
- */
16
1
package gather
17
2
18
3
import (
Original file line number Diff line number Diff line change 1
- /*
2
- Copyright © 2021 NAME HERE <EMAIL ADDRESS>
3
-
4
- Licensed under the Apache License, Version 2.0 (the "License");
5
- you may not use this file except in compliance with the License.
6
- You may obtain a copy of the License at
7
-
8
- http://www.apache.org/licenses/LICENSE-2.0
9
-
10
- Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an "AS IS" BASIS,
12
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- See the License for the specific language governing permissions and
14
- limitations under the License.
15
- */
16
1
package gather
17
2
18
3
import (
Original file line number Diff line number Diff line change @@ -14,11 +14,16 @@ import (
14
14
"sync"
15
15
)
16
16
17
+ // URL_PRESENCE_TEAMS is the URL the get additional information on a user
17
18
var URL_PRESENCE_TEAMS = "https://presence.teams.microsoft.com/v1/presence/getpresence/"
19
+
20
+ // URL_TEAMS is the URL to search email addresses
18
21
var URL_TEAMS = "https://teams.microsoft.com/api/mt/emea/beta/users/%s/externalsearchv3"
22
+
23
+ // CLIENT_VERSION is the header which is sent for API requests
19
24
var CLIENT_VERSION = "27/1.0.0.2021011237"
20
25
21
- // UserEnum: Return a valid list of users according the provided options
26
+ // UserEnum return a valid list of users according the provided options
22
27
func (options * Options ) UserEnum (logArg * logger.Logger ) []string {
23
28
log = logArg
24
29
mux := & sync.Mutex {}
You can’t perform that action at this time.
0 commit comments