Tanjiro-Kamado

[UPDATED!] Searcher V1 | Detect Vulnerable Tools, Networking

Feb 9th, 2020
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 9.09 KB | None | 0 0
  1. --[[
  2. Credits to; Arilis
  3. Official thread; https://v3rmillion.net/showthread.php?tid=936292
  4. Informations; example of it finding vulnerable tools on battle royal sim (mainly only works on shit games): https://arilis.dev/uploader/files/wjbadf.png | example of it finding networking on bubblegum simulator: https://arilis.dev/uploader/files/2vzic2.png (dont invoke this, you will get banned)
  5. -------------------------------------------------------------------------------
  6. Script was provided from the official Demon Slayers Community Server; https://discord.gg/demonslayers
  7. Official thread; https://v3rmillion.net/showthread.php?tid=936292 |<-- More info
  8. ]]--
  9.  
  10. if not makefolder or not getloadedmodules then print('[Searcher]: Exploit Not Supported.') return end
  11.  
  12. -- Searcher V1 By ArilisDev
  13.  
  14. _G.GetGameDetails = true
  15. _G.FindHiddenScripts = true
  16. _G.FindVulnerableTools = true
  17. _G.NetworkDetection = true
  18. _G.GetLoadedModules = true
  19. _G.WriteToFile = true
  20.  
  21. local new = {}
  22.  
  23. makefolder('Searcher')
  24.  
  25. function insert(usertable, data)
  26.     table.insert(usertable, data)
  27. end
  28.  
  29. function sPrint(var, nl)
  30.     if nl then
  31.         print('[Searcher]: '..tostring(var)..'\n');
  32.     elseif nl == false or nl == nil then
  33.         print('[Searcher]: '..tostring(var));
  34.     end
  35. end
  36.  
  37. function sWarn(var, nl)
  38.     if nl then
  39.         warn('[Searcher]: '..tostring(var)..'\n');
  40.     elseif nl == false or nl == nil then
  41.         warn('[Searcher]: '..tostring(var));
  42.     end
  43. end
  44.  
  45. function tPrint(var, nl)
  46.     if nl then
  47.         return '[Searcher]: '..tostring(var)..'\n';
  48.     elseif nl == false or nl == nil then
  49.         return '[Searcher]: '..tostring(var);
  50.     end
  51. end
  52.  
  53. function tWarn(var, nl)
  54.     if nl then
  55.         return '[Searcher]: '..tostring(var)..'\n';
  56.     elseif nl == false or nl == nil then
  57.         return '[Searcher]: '..tostring(var);
  58.     end
  59. end
  60.  
  61. function getPath(var)
  62.     return 'game.'..var:GetFullName()
  63. end
  64.  
  65. function scriptSearch(var)
  66.     for _,v in pairs(game:GetService(var):GetDescendants()) do
  67.         if v:IsA('LocalScript') then
  68.             sPrint('Found LocalScript: '..getPath(v))
  69.         end
  70.     end
  71.  
  72.     for _,v in pairs(game:GetService(var):GetDescendants()) do
  73.         if v:IsA('ModuleScript') then
  74.             sPrint('Found ModuleScript: '..getPath(v))
  75.         end
  76.     end
  77. end
  78.  
  79. function vulnToolSearch(var)
  80.     for _,v in pairs(game:GetService(var):GetDescendants()) do
  81.         if v:IsA('ModuleScript') and v.Name == 'Setting' then
  82.             sPrint('Found vulnerable tool: '..getPath(v))
  83.         end
  84.     end
  85.  
  86.     for _,v in pairs(game:GetService(var):GetDescendants()) do
  87.         if v:IsA('Tool') then
  88.             for _,z in pairs(v:GetDescendants()) do
  89.                 if v:IsA('ModuleScript') then
  90.                     sPrint('Found vulnerable tool: '..getPath(v))
  91.                 end
  92.             end
  93.         end
  94.     end
  95. end
  96.  
  97. function detectNetwork()
  98.     sWarn('Attempting to detect event networking, you might lag...')
  99.     for _,v in pairs(game:GetDescendants()) do
  100.         if v:IsA('RemoteEvent') and v.Name == 'Network' or v:IsA('RemoteFunction') and v.Name == 'Network' then
  101.             sPrint('Possible network found: '..getPath(v))
  102.         end
  103.     end
  104.     sWarn('Network detection finished.', true)
  105. end
  106.  
  107. function getLoadedModuleScripts()
  108.     for _,v in pairs(getloadedmodules()) do
  109.         sPrint(getPath(v))
  110.     end
  111. end
  112.  
  113.  
  114.  
  115. function tscriptSearch(var)
  116.     for _,v in pairs(game:GetService(var):GetDescendants()) do
  117.         if v:IsA('LocalScript') then
  118.             insert(new, tPrint('Found LocalScript: '..getPath(v)))
  119.         end
  120.     end
  121.  
  122.     for _,v in pairs(game:GetService(var):GetDescendants()) do
  123.         if v:IsA('ModuleScript') then
  124.             insert(new, tPrint('Found ModuleScript: '..getPath(v)))
  125.         end
  126.     end
  127. end
  128.  
  129. function tvulnToolSearch(var)
  130.     for _,v in pairs(game:GetService(var):GetDescendants()) do
  131.         if v:IsA('ModuleScript') and v.Name == 'Setting' then
  132.             insert(new, tPrint('Found vulnerable tool: '..getPath(v)))
  133.         end
  134.     end
  135.  
  136.     for _,v in pairs(game:GetService(var):GetDescendants()) do
  137.         if v:IsA('Tool') then
  138.             for _,z in pairs(v:GetDescendants()) do
  139.                 if v:IsA('ModuleScript') then
  140.                     insert(new, tPrint('Found vulnerable tool: '..getPath(v)))
  141.                 end
  142.             end
  143.         end
  144.     end
  145. end
  146.  
  147. function tdetectNetwork()
  148.     insert(new, tWarn('Attempting to detect event networking, you might lag...'))
  149.     for _,v in pairs(game:GetDescendants()) do
  150.         if v:IsA('RemoteEvent') and v.Name == 'Network' or v:IsA('RemoteFunction') and v.Name == 'Network' then
  151.             insert(new, tPrint('Possible network found: '..getPath(v)))
  152.         end
  153.     end
  154.     insert(new, tWarn('Network detection finished.', true))
  155. end
  156.  
  157. function tgetLoadedModuleScripts()
  158.     for _,v in pairs(getloadedmodules()) do
  159.         insert(new, tPrint(getPath(v)))
  160.     end
  161. end
  162.  
  163. local logo = [[
  164.    
  165.      _____                     _                __      ____
  166.     / ____|                   | |               \ \    / /_ |
  167.    | (___   ___  __ _ _ __ ___| |__   ___ _ __   \ \  / / | |
  168.     \___ \ / _ \/ _` | '__/ __| '_ \ / _ \ '__|   \ \/ /  | |
  169.    ____) |  __/ (_| | | | (__| | | |  __/ |       \  /   | |
  170.   |_____/ \___|\__,_|_|  \___|_| |_|\___|_|        \/    |_|  
  171. ]]
  172.  
  173. if _G.WriteToFile then
  174.    insert(new, logo)
  175.  
  176.  
  177.    insert(new, tPrint('Waiting for game to load...'));
  178.    
  179.    repeat wait() until game:IsLoaded();
  180.    
  181.    insert(new, tPrint('Game is loaded.'))
  182.    
  183.    if _G.GetGameDetails then
  184.        insert(new, tWarn('Grabbing game deatils...'))
  185.        insert(new, tPrint('Game Name: '..game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Name))
  186.        insert(new, tPrint('Place ID: '..game.PlaceId))
  187.        insert(new, tPrint('Creator ID: '..game.CreatorId))
  188.        insert(new, tPrint('Creator Type: '..string.split(tostring(game.CreatorType), 'Enum.CreatorType.')[2]))
  189.        insert(new, tWarn('Finished grabbing game details.', true))
  190.    end
  191.    
  192.    if _G.FindHiddenScripts then
  193.        insert(new, tWarn('Grabbing hidden scripts...'))
  194.        tscriptSearch('ReplicatedFirst')
  195.        tscriptSearch('Lighting')
  196.        insert(new, tWarn('Finished grabbing hidden scripts.', true))
  197.    end
  198.    
  199.    if _G.FindVulnerableTools then
  200.        insert(new, tWarn('Searching for vulnerable tools...'))
  201.        tvulnToolSearch('ReplicatedStorage')
  202.        tvulnToolSearch('ReplicatedFirst')
  203.        tvulnToolSearch('Lighting')
  204.        for _,v in pairs(game:GetService('Players').LocalPlayer:GetDescendants()) do
  205.            if v:IsA('ModuleScript') and v.Name == 'Setting' then
  206.                insert(new, tPrint('Found vulnerable tool: '..getPath(v)))
  207.            end
  208.        end
  209.        insert(new, tWarn('Finished vulnerable tool search.', true))
  210.    end
  211.    
  212.    if _G.NetworkDetection then
  213.        tdetectNetwork()
  214.    end
  215.    
  216.    if _G.GetLoadedModules then
  217.        insert(new, tWarn('Grabbing loaded modules...'))
  218.        tgetLoadedModuleScripts()
  219.        insert(new, tWarn('Finished grabbing loaded modules.', true))
  220.    end
  221.  
  222.    local finished = table.concat(new, '\n')
  223.    makefolder('Searcher/'..game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Name)
  224.    writefile('Searcher/'..game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Name..'/Output.txt', finished)
  225.  
  226.    sWarn('Finished, saved to: '..'Searcher/'..game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Name..'/Output.txt')
  227.  
  228. else
  229.    warn(logo)
  230.  
  231.  
  232.    sPrint('Waiting for game to load...');
  233.  
  234.    repeat wait() until game:IsLoaded();
  235.  
  236.    sPrint('Game is loaded.')
  237.  
  238.    if _G.GetGameDetails then
  239.        sWarn('Grabbing game deatils...')
  240.        sPrint('Game Name: '..game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Name)
  241.        sPrint('Place ID: '..game.PlaceId)
  242.        sPrint('Creator ID: '..game.CreatorId)
  243.        sPrint('Creator Type: '..string.split(tostring(game.CreatorType), 'Enum.CreatorType.')[2])
  244.        sWarn('Finished grabbing game details.', true)
  245.    end
  246.  
  247.    if _G.FindHiddenScripts then
  248.        sWarn('Grabbing hidden scripts...')
  249.        scriptSearch('ReplicatedFirst')
  250.        scriptSearch('Lighting')
  251.        sWarn('Finished grabbing hidden scripts.', true)
  252.    end
  253.  
  254.    if _G.FindVulnerableTools then
  255.        sWarn('Searching for vulnerable tools...')
  256.        vulnToolSearch('ReplicatedStorage')
  257.        vulnToolSearch('ReplicatedFirst')
  258.        vulnToolSearch('Lighting')
  259.        for _,v in pairs(game:GetService('Players').LocalPlayer:GetDescendants()) do
  260.            if v:IsA('ModuleScript') and v.Name == 'Setting' then
  261.                sPrint('Found vulnerable tool: '..getPath(v))
  262.            end
  263.        end
  264.        sWarn('Finished vulnerable tool search.', true)
  265.    end
  266.  
  267.    if _G.NetworkDetection then
  268.        detectNetwork()
  269.    end
  270.  
  271.    if _G.GetLoadedModules then
  272.        sWarn('Grabbing loaded modules...')
  273.        getLoadedModuleScripts()
  274.        sWarn('Finished grabbing loaded modules.', true)
  275.    end
  276.  
  277.    sWarn('Finished.')
  278. end
Advertisement
Add Comment
Please, Sign In to add comment