help anti bandicam

Nonicks

Известный
Автор темы
11
0
How could I make my lua script not record with bandicam, I have seen posts referring to it, however, I did not understand the implementation. Is there any lua script that already has anti-bandicam implemented?
 

Heav

Активный
185
70
Последнее редактирование:
  • Нравится
Реакции: Nonicks и halfastrc

Nonicks

Известный
Автор темы
11
0
The first things that come to mind are these posts: https://www.blast.hk/threads/13380/post-1120324, https://www.blast.hk/threads/13380/post-1120424. They should help you bypass Bandicam or OBS.

P.S These scripts also implement the methods shown in the links above: https://www.blast.hk/threads/157048/, https://www.blast.hk/threads/159237/, https://www.blast.hk/threads/201935/
Thx, for it to work, does it have to be done with ImGui?
 

qqvx

Участник
31
16
How could I make my lua script not record with bandicam, I have seen posts referring to it, however, I did not understand the implementation. Is there any lua script that already has anti-bandicam implemented?
here is a simple example in Lua that checks if certain processes are running if they have access to the same functions
Lua:
function isBandicamRunning()
    local handle = io.popen("tasklist")
    local result = handle:read("*a")
    handle:close()
    return result:match("Bandicam.exe") ~= nil
end

if isBandicamRunning() then
    print("Recording is prohibited.")
    -- Disable the necessary functions
else
    print("Recording is allowed.")
end
this code runs in an environment where Lua can call system commands, and it checks to see if Bandicam is running, but keep in mind that this is just one approach and it's impossible to 100% protect your content.