Grey Hack

Grey Hack

ctrCat Oct 18, 2023 @ 10:15am
object type
Trying to write some scripts, but scanlib don't show me object type, it shows only memory zone and object name. And I always got strings like "Error: expected computer, obtained shell". I guess I need computer object type for this script but no idea how to find it, expect making script, lunch it and get it, but it's not the fastest way I guess.
< >
Showing 1-3 of 3 comments
Tokin Jesus Oct 28, 2023 @ 3:45am 
you should join https://discord.gg/greyhack

but also typeof(object) will return the type of the object
ctrCat Oct 28, 2023 @ 8:17am 
thx
Myst Leissa Oct 28, 2023 @ 8:44am 
also scanlib isn't what you typically want for testing exploits; you either load/net_use a library resulting in a metalib object type that you then overflow (currently the only type of exploit in the game is an memory overflow) to produce a typeof result that you can analyze with typeof(object), generally the remote ones return either "number" for "Password Replacement Hacks" (it's a true/false flag in integer format), "shell" for shells (which can then obtain a computer object by using the result.host_computer) or "File" for individual files or folders, rarely you might also get a direct "Computer" type, but those are coveted exploits because they tend to allow access to a machine without triggering NPC Logging Behavior, basically computer will let you do anything you wish with the target machine silently.
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Oct 18, 2023 @ 10:15am
Posts: 3