in1nit1t / uniref Goto Github PK
View Code? Open in Web Editor NEWA Python coding framework for analyzing Unity applications.
Home Page: https://uniref.rtfd.io
License: GNU Affero General Public License v3.0
A Python coding framework for analyzing Unity applications.
Home Page: https://uniref.rtfd.io
License: GNU Affero General Public License v3.0
Hello, for some reason, the descriptor closes with error 6
Here is my script for the DEVOUR game in Python:
def GetListAssemblies(ref: WinUniRef):
list_asm = ref.list_assemblies()
print("LIST ASSEMBLIES --> \n", list_asm) #Getting List Assemblies
def ScriptFlashlight(ref: WinUniRef):
if ref.use_il2cpp():
nolan_beh = ref.find_class_in_image("Assembly-CSharp.dll", "NolanBehaviour")
offset_flashlight_fieldrange = nolan_beh.find_field("initialFlashlightRange")
type_name_field = nolan_beh.find_field("initialFlashlightRange").type_name
type_flashlight = offset_flashlight_fieldrange.field_type
print("FLASHLIGHT FIELD TYPE: ", type_name_field) #If you See System.Single it's float :D
if offset_flashlight_fieldrange.is_static():
print("Field Is Static")
else:
if offset_flashlight_fieldrange.is_const():
print("Field Offset is Const")
else:
addresses = nolan_beh.guess_instance_address()
for addr in addresses:
nolan_beh.instance = addr
if __name__ == "__main__":
xxx = WinUniRef("DEVOUR.exe")
GetListAssemblies(xxx)
print("Trying To Initializating Flashlight Range Address...")
ScriptFlashlight(xxx)
idk, why is CloseHandle Error 6, but for some reason it seems to me that this is due to a 32-bit process. Pls Help Me :)
from uniref import WinUniRef
import win32api
import win32com
import win32ctypes
import ctypes
def GetCurrentProcess(processname : str):
return WinUniRef("{}.exe".format(processname))
def Main():
uniref_func = GetCurrentProcess("CrushCrush")
diamonds = uniref_func.find_class_in_image("Assembly-CSharp.dll", "Utilities") #Award Diamonds is Static Bool... So You Can Get Function EASILY!!!
AwardDiamonds = diamonds.find_method(method_name="AwardDiamonds", param_count=2)
if AwardDiamonds.is_static() is True:
AwardDiamonds(args=[4000000, True])
else:
print("Failed to Get Static Address")
exit(5003)
if __name__ == "__main__":
Main()
I'm Get This Error when This Library is Trying Finding Method
Pls Add WebGL Support in you're project, because most Unity Games are located in the Browser!!!
Thanks!!!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.