-
Notifications
You must be signed in to change notification settings - Fork 7
/
main.py
54 lines (49 loc) · 2.24 KB
/
main.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
from osint import Osint
steam = Osint()
print("""
:'######::'########:'########::::'###::::'##::::'##:
'##... ##:... ##..:: ##.....::::'## ##::: ###::'###:
##:::..::::: ##:::: ##::::::::'##:. ##:: ####'####:
. ######::::: ##:::: ######:::'##:::. ##: ## ### ##:
:..... ##:::: ##:::: ##...:::: #########: ##. #: ##:
'##::: ##:::: ##:::: ##::::::: ##.... ##: ##:.:: ##:
. ######::::: ##:::: ########: ##:::: ##: ##:::: ##:
:......::::::..:::::........::..:::::..::..:::::..::
:'#######:::'######::'####:'##::: ##:'########:
'##.... ##:'##... ##:. ##:: ###:: ##:... ##..::
##:::: ##: ##:::..::: ##:: ####: ##:::: ##::::
##:::: ##:. ######::: ##:: ## ## ##:::: ##::::
##:::: ##::..... ##:: ##:: ##. ####:::: ##::::
##:::: ##:'##::: ##:: ##:: ##:. ###:::: ##::::
. #######::. ######::'####: ##::. ##:::: ##::::
:.......::::......:::....::..::::..:::::..:::::
""")
print("paste the steamID of the user you want to attack")
print("\033[31mwarning: friend list must be public \033[m \n")
token = str(input("TOKEN: "))
idProfile = str(input("STEAM ID: "))
total = 0
def percentage(value):
return round((value / total) * 100)
while True:
try:
scan = steam.scanProfile(idProfile, token)
for eachClose in steam.showFriends():
if eachClose["accuracy"] > total:
total = eachClose["accuracy"]
for each in steam.showFriends():
if percentage(each["accuracy"]) >= 10 and percentage(each["accuracy"]) < 25:
print(f'[+] \033[31m{each["profile"]}\n Accuracy: {percentage(each["accuracy"])}% \033[m \n')
elif percentage(each["accuracy"]) >= 25 and percentage(each["accuracy"]) < 50:
print(f'[+] \033[33m{each["profile"]}\n Accuracy: {percentage(each["accuracy"])}% \033[m \n')
elif percentage(each["accuracy"])>= 50 and percentage(each["accuracy"]) <= 100:
print(f'[+] \033[92m{each["profile"]}\n Accuracy: {percentage(each["accuracy"])}% \033[m \n')
except:
print("\033[31m check if friends list is public, steamID is valid or Token \033[m \n")
keeping = str(input("do you wish to STOP?: [Y] \n")).capitalize()
if keeping == "Y":
break;
else:
idProfile = str(input("STEAM ID64: "))
steam.clearList()
total = 0