-
Автор темы
- #1
Hey, guys I will be showing how to protect your js with a simple check. What the code does is basically it gets your steam name then checks if it is in a list stored inside the code and if not it quits the game.
JavaScript:
user = Cheat.GetUsername();
function in_list(needle, hay)
{
var i, len;
for (i = 0, len = hay.length; i < len; i++)
{
if (hay[i] == needle)
{
return true;
}
}
return false;
}
var username_list = ["Jasmisek", "yournamehere"]
if (in_list(user, username_list))
{
Cheat.PrintColor([130, 130, 255, 255], "[authentication.js] succesfully authenticated")
}
else
{
Cheat.ExecuteCommand("quit")
}
Here is how to crack one of these protections :
1st step : download script ( example :
2nd step : when you have downloaded it head over
3rd step : when you are there you will see this
4th step : you have to search for any names in the js (in my example you can just do ctrl + f and find "Jasmiek")
5th step : if you find any just change it to your name and boom the script is cracked
1st step : download script ( example :
Пожалуйста, авторизуйтесь для просмотра ссылки.
)2nd step : when you have downloaded it head over
Пожалуйста, авторизуйтесь для просмотра ссылки.
3rd step : when you are there you will see this
Пожалуйста, авторизуйтесь для просмотра ссылки.
then you input the script and click on beautify4th step : you have to search for any names in the js (in my example you can just do ctrl + f and find "Jasmiek")
5th step : if you find any just change it to your name and boom the script is cracked