Вопрос Lua HWID Nixware

ryo
Пользователь
Статус
Оффлайн
Регистрация
4 Июн 2021
Сообщения
323
Реакции[?]
113
Поинты[?]
2K
Как через ffi гетать швид или какую-нибудь уникальную херь, по которой можно делать привязку скрипта не по нику, а по швиду, знаю что в скит скриптах есть такая хуйня, но как это сделать, в ффи и си вообще не шарю, помогите пожалуйста
 
pro master
Пользователь
Статус
Оффлайн
Регистрация
8 Июн 2020
Сообщения
233
Реакции[?]
86
Поинты[?]
5K
skeet code, figure it byurself on how to do it on nixpaste, hf

C++:
local debugger = false
local ffi = require("ffi") or error("Failed to require FFI, please make sure Allow unsafe scripts is enabled!", 2)

-- DONT TOUCH THIS YOU CAN CHANGE THE ERROR CODE--
ffi.cdef[[
    typedef long(__thiscall* GetRegistryString)(void* this, const char* pFileName, const char* pPathID);
    typedef bool(__thiscall* Wrapper)(void* this, const char* pFileName, const char* pPathID);
]]

local type2 = ffi.typeof("void***")
local interface = client.create_interface("filesystem_stdio.dll", "VBaseFileSystem011") or error(debugger and "Error... contact me on discord! ID: 76462272424066060244" or "error", 2)
local system10 = ffi.cast(type2, interface) or error(debugger and "Error... contact me on discord! ID: 57421437426460963574" or "error", 2)
local systemxwrapper = ffi.cast("Wrapper", system10[0][10]) or error(debugger and "Error... contact me on discord! ID: 76143089620434347004" or "error", 2)
local gethwid = ffi.cast("GetRegistryString", system10[0][13]) or error(debugger and "Error... contact me on discord! ID: 59542338057818634362" or "error", 2)
-- DONT TOUCH THIS YOU CAN CHANGE THE ERROR CODE--

-- LOOKING FOR FILE ON PC DONT TOUCH
local function filechecker()
    for i = 65, 90 do
        local filecheck = string.char(i)..":\\Windows\\Setup\\State\\State.ini" -- FILE CHECKING FOR HWID
        
        if systemxwrapper(system10, filecheck, "olympia") then
            return filecheck
        end
    end
    return nil
end
-- LOOKING FOR FILE ON PC DONT TOUCH

local filecheck = filechecker() or error(debugger and "Error... contact me on discord! ID: 12628676518493195720" or "error", 2)

local normalhwid = gethwid(system10, filecheck, "olympia") or error(debugger and "Error... contact me on discord! ID: 24024521228234004081" or "error", 2)
local obfuscatedhwid = normalhwid * 421 -- CHANGE THIS TO A RANDOM NUMBER (SECURITY)


if debugger then -- IF DEBUGGER = TRUE
    print(string.format("Normal HWID: %i", normalhwid)) -- HWID ON FILE
    --print(string.format("Checking HWID: %i", obfuscatedhwid)) -- HWID THAT WE CHECK IF USER HAS ACCESS
end

local found = false -- HWID = FALSE

--WEB CHECKING FOR HWIDS--
local list = panorama.loadstring([[
    $.AsyncWebRequest('https://list.txt', {type2: 'GET', complete: function(c) {
    body = c.responseText;
}});
return body;
]])()

if list == nil then
    return print('Loading HWIDs...')
    else
    if string.match(list, "|" ..obfuscatedhwid.. "|") then -- CHECKING WEB LIST
        user = k
        found = true  -- HWID = TRUE
    end
end


--WEB CHECKING FOR HWIDS--

if found then -- LOGIN FUNCTION
--IF LOGGED IN
print("welcome")

else
    --IF HWID ISNT WHITELISTED
    print("You don't have access to this lua ")
end
 
Участник
Статус
Оффлайн
Регистрация
30 Авг 2020
Сообщения
660
Реакции[?]
396
Поинты[?]
16K
Как через ffi гетать швид или какую-нибудь уникальную херь, по которой можно делать привязку скрипта не по нику, а по швиду, знаю что в скит скриптах есть такая хуйня, но как это сделать, в ффи и си вообще не шарю, помогите пожалуйста
Через ффи запрос на сайт ГОСУСЛУГИ. Оттуда получаем паспорт,снилс,QR код (ОБЯЗАТЕЛЬНО, ИНАЧЕ ЗАРАЗЯТ КОД). Дальше через запрос по полученным документам в МВД. После они уже сами перенаправят твой запрос в африку ( в секретный штаб разведки цру) . И наконец то оттуда, дешифрованный, он прийдет к тебе в DATABASE. И потом уже ,используя ANAL CONNECTION с космосом (Starlink), ты идентифицируешь уникального пользователя твоей пастенки.
 
Последнее редактирование:
Легенда форума
Статус
Оффлайн
Регистрация
16 Сен 2018
Сообщения
4,004
Реакции[?]
1,947
Поинты[?]
7K
skeet code, figure it byurself on how to do it on nixpaste, hf

C++:
local debugger = false
local ffi = require("ffi") or error("Failed to require FFI, please make sure Allow unsafe scripts is enabled!", 2)

-- DONT TOUCH THIS YOU CAN CHANGE THE ERROR CODE--
ffi.cdef[[
    typedef long(__thiscall* GetRegistryString)(void* this, const char* pFileName, const char* pPathID);
    typedef bool(__thiscall* Wrapper)(void* this, const char* pFileName, const char* pPathID);
]]

local type2 = ffi.typeof("void***")
local interface = client.create_interface("filesystem_stdio.dll", "VBaseFileSystem011") or error(debugger and "Error... contact me on discord! ID: 76462272424066060244" or "error", 2)
local system10 = ffi.cast(type2, interface) or error(debugger and "Error... contact me on discord! ID: 57421437426460963574" or "error", 2)
local systemxwrapper = ffi.cast("Wrapper", system10[0][10]) or error(debugger and "Error... contact me on discord! ID: 76143089620434347004" or "error", 2)
local gethwid = ffi.cast("GetRegistryString", system10[0][13]) or error(debugger and "Error... contact me on discord! ID: 59542338057818634362" or "error", 2)
-- DONT TOUCH THIS YOU CAN CHANGE THE ERROR CODE--

-- LOOKING FOR FILE ON PC DONT TOUCH
local function filechecker()
    for i = 65, 90 do
        local filecheck = string.char(i)..":\\Windows\\Setup\\State\\State.ini" -- FILE CHECKING FOR HWID
       
        if systemxwrapper(system10, filecheck, "olympia") then
            return filecheck
        end
    end
    return nil
end
-- LOOKING FOR FILE ON PC DONT TOUCH

local filecheck = filechecker() or error(debugger and "Error... contact me on discord! ID: 12628676518493195720" or "error", 2)

local normalhwid = gethwid(system10, filecheck, "olympia") or error(debugger and "Error... contact me on discord! ID: 24024521228234004081" or "error", 2)
local obfuscatedhwid = normalhwid * 421 -- CHANGE THIS TO A RANDOM NUMBER (SECURITY)


if debugger then -- IF DEBUGGER = TRUE
    print(string.format("Normal HWID: %i", normalhwid)) -- HWID ON FILE
    --print(string.format("Checking HWID: %i", obfuscatedhwid)) -- HWID THAT WE CHECK IF USER HAS ACCESS
end

local found = false -- HWID = FALSE

--WEB CHECKING FOR HWIDS--
local list = panorama.loadstring([[
    $.AsyncWebRequest('https://list.txt', {type2: 'GET', complete: function(c) {
    body = c.responseText;
}});
return body;
]])()

if list == nil then
    return print('Loading HWIDs...')
    else
    if string.match(list, "|" ..obfuscatedhwid.. "|") then -- CHECKING WEB LIST
        user = k
        found = true  -- HWID = TRUE
    end
end


--WEB CHECKING FOR HWIDS--

if found then -- LOGIN FUNCTION
--IF LOGGED IN
print("welcome")

else
    --IF HWID ISNT WHITELISTED
    print("You don't have access to this lua ")
end
ну и пиздец....
 
ryo
Пользователь
Статус
Оффлайн
Регистрация
4 Июн 2021
Сообщения
323
Реакции[?]
113
Поинты[?]
2K
skeet code, figure it byurself on how to do it on nixpaste, hf

C++:
local debugger = false
local ffi = require("ffi") or error("Failed to require FFI, please make sure Allow unsafe scripts is enabled!", 2)

-- DONT TOUCH THIS YOU CAN CHANGE THE ERROR CODE--
ffi.cdef[[
    typedef long(__thiscall* GetRegistryString)(void* this, const char* pFileName, const char* pPathID);
    typedef bool(__thiscall* Wrapper)(void* this, const char* pFileName, const char* pPathID);
]]

local type2 = ffi.typeof("void***")
local interface = client.create_interface("filesystem_stdio.dll", "VBaseFileSystem011") or error(debugger and "Error... contact me on discord! ID: 76462272424066060244" or "error", 2)
local system10 = ffi.cast(type2, interface) or error(debugger and "Error... contact me on discord! ID: 57421437426460963574" or "error", 2)
local systemxwrapper = ffi.cast("Wrapper", system10[0][10]) or error(debugger and "Error... contact me on discord! ID: 76143089620434347004" or "error", 2)
local gethwid = ffi.cast("GetRegistryString", system10[0][13]) or error(debugger and "Error... contact me on discord! ID: 59542338057818634362" or "error", 2)
-- DONT TOUCH THIS YOU CAN CHANGE THE ERROR CODE--

-- LOOKING FOR FILE ON PC DONT TOUCH
local function filechecker()
    for i = 65, 90 do
        local filecheck = string.char(i)..":\\Windows\\Setup\\State\\State.ini" -- FILE CHECKING FOR HWID
       
        if systemxwrapper(system10, filecheck, "olympia") then
            return filecheck
        end
    end
    return nil
end
-- LOOKING FOR FILE ON PC DONT TOUCH

local filecheck = filechecker() or error(debugger and "Error... contact me on discord! ID: 12628676518493195720" or "error", 2)

local normalhwid = gethwid(system10, filecheck, "olympia") or error(debugger and "Error... contact me on discord! ID: 24024521228234004081" or "error", 2)
local obfuscatedhwid = normalhwid * 421 -- CHANGE THIS TO A RANDOM NUMBER (SECURITY)


if debugger then -- IF DEBUGGER = TRUE
    print(string.format("Normal HWID: %i", normalhwid)) -- HWID ON FILE
    --print(string.format("Checking HWID: %i", obfuscatedhwid)) -- HWID THAT WE CHECK IF USER HAS ACCESS
end

local found = false -- HWID = FALSE

--WEB CHECKING FOR HWIDS--
local list = panorama.loadstring([[
    $.AsyncWebRequest('https://list.txt', {type2: 'GET', complete: function(c) {
    body = c.responseText;
}});
return body;
]])()

if list == nil then
    return print('Loading HWIDs...')
    else
    if string.match(list, "|" ..obfuscatedhwid.. "|") then -- CHECKING WEB LIST
        user = k
        found = true  -- HWID = TRUE
    end
end


--WEB CHECKING FOR HWIDS--

if found then -- LOGIN FUNCTION
--IF LOGGED IN
print("welcome")

else
    --IF HWID ISNT WHITELISTED
    print("You don't have access to this lua ")
end
нихуя не понятно, что за gethwid(), который скорее всего является функцией скита, как делац, я даун, понимаю только код на блюдечке(да)
 
Легенда форума
Статус
Оффлайн
Регистрация
16 Сен 2018
Сообщения
4,004
Реакции[?]
1,947
Поинты[?]
7K
нихуя не понятно, что за gethwid(), который скорее всего является функцией скита, как делац, я даун, понимаю только код на блюдечке(да)
Это не функция скита, это функция из какого то интерфейса, которая получает чота из реестра
 
Femboy Access
Эксперт
Статус
Оффлайн
Регистрация
11 Ноя 2020
Сообщения
1,328
Реакции[?]
428
Поинты[?]
96K
skeet code, figure it byurself on how to do it on nixpaste, hf

C++:
local debugger = false
local ffi = require("ffi") or error("Failed to require FFI, please make sure Allow unsafe scripts is enabled!", 2)

-- DONT TOUCH THIS YOU CAN CHANGE THE ERROR CODE--
ffi.cdef[[
    typedef long(__thiscall* GetRegistryString)(void* this, const char* pFileName, const char* pPathID);
    typedef bool(__thiscall* Wrapper)(void* this, const char* pFileName, const char* pPathID);
]]

local type2 = ffi.typeof("void***")
local interface = client.create_interface("filesystem_stdio.dll", "VBaseFileSystem011") or error(debugger and "Error... contact me on discord! ID: 76462272424066060244" or "error", 2)
local system10 = ffi.cast(type2, interface) or error(debugger and "Error... contact me on discord! ID: 57421437426460963574" or "error", 2)
local systemxwrapper = ffi.cast("Wrapper", system10[0][10]) or error(debugger and "Error... contact me on discord! ID: 76143089620434347004" or "error", 2)
local gethwid = ffi.cast("GetRegistryString", system10[0][13]) or error(debugger and "Error... contact me on discord! ID: 59542338057818634362" or "error", 2)
-- DONT TOUCH THIS YOU CAN CHANGE THE ERROR CODE--

-- LOOKING FOR FILE ON PC DONT TOUCH
local function filechecker()
    for i = 65, 90 do
        local filecheck = string.char(i)..":\\Windows\\Setup\\State\\State.ini" -- FILE CHECKING FOR HWID
      
        if systemxwrapper(system10, filecheck, "olympia") then
            return filecheck
        end
    end
    return nil
end
-- LOOKING FOR FILE ON PC DONT TOUCH

local filecheck = filechecker() or error(debugger and "Error... contact me on discord! ID: 12628676518493195720" or "error", 2)

local normalhwid = gethwid(system10, filecheck, "olympia") or error(debugger and "Error... contact me on discord! ID: 24024521228234004081" or "error", 2)
local obfuscatedhwid = normalhwid * 421 -- CHANGE THIS TO A RANDOM NUMBER (SECURITY)


if debugger then -- IF DEBUGGER = TRUE
    print(string.format("Normal HWID: %i", normalhwid)) -- HWID ON FILE
    --print(string.format("Checking HWID: %i", obfuscatedhwid)) -- HWID THAT WE CHECK IF USER HAS ACCESS
end

local found = false -- HWID = FALSE

--WEB CHECKING FOR HWIDS--
local list = panorama.loadstring([[
    $.AsyncWebRequest('https://list.txt', {type2: 'GET', complete: function(c) {
    body = c.responseText;
}});
return body;
]])()

if list == nil then
    return print('Loading HWIDs...')
    else
    if string.match(list, "|" ..obfuscatedhwid.. "|") then -- CHECKING WEB LIST
        user = k
        found = true  -- HWID = TRUE
    end
end


--WEB CHECKING FOR HWIDS--

if found then -- LOGIN FUNCTION
--IF LOGGED IN
print("welcome")

else
    --IF HWID ISNT WHITELISTED
    print("You don't have access to this lua ")
end
кодер долбоеб или как сделать хвид проверку которую обойдет любой школьник
 
Сверху Снизу