added xploit payloads, move things to util folder, tool needs alot of work, scanner cleaned up, bunch of database features

This commit is contained in:
2025-02-16 02:01:53 +01:00
parent f62fd19482
commit 0f35791e01
18 changed files with 599 additions and 59 deletions

36
Util/get_hackshop.src Normal file
View File

@@ -0,0 +1,36 @@
randomIp = function()
while true
ip = floor((rnd * 255) + 1) + "." + floor((rnd * 255) + 1) + "." + floor((rnd * 255) + 1) + "." + floor((rnd * 255) + 1)
if not is_valid_ip(ip) then continue
if is_lan_ip(ip) then continue
return ip
end while
end function
getRouter = function(ip)
router = get_router(ip)
if not router then router = get_switch(ip)
if not router then return null
return router
end function
hasRepoService = function(router)
for lanIp in router.devices_lan_ip
ports = router.device_ports(lanIp)
for port in ports
if router.port_info(port).split(" ")[0] == "repository" then return true
end for
end for
return null
end function
main = function()
while true
ip = randomIp
router = getRouter(ip)
if not router then continue
if not hasRepoService(router) then continue
exit(ip)
end while
end function
main