How to use AA Script in C#

02/28/2016 02:47 Xonivion#1
How can i use jmp,call or anything else?
if you guys gonna explain me it will be great (:

Wrong Section fk :C
02/28/2016 17:32 maxi39#2
inline asm:

_asm {

}
[Only registered and activated users can see links. Click Here To Register...]
02/29/2016 20:59 Requi#3
Quote:
Originally Posted by maxi39 View Post
inline asm:

_asm {

}
[Only registered and activated users can see links. Click Here To Register...]
That's for C++.

[Only registered and activated users can see links. Click Here To Register...]
03/07/2016 17:47 Xonivion#4
I still dont know :c, anyone else?
03/07/2016 19:11 warfley#5
Quote:
Originally Posted by Xonivion View Post
I still dont know :c, anyone else?
There is no real way to use asm in C# directly, you can do a workaround writing your asm code into a C or C++ library and call it from C#
07/16/2016 00:35 RingleRangleRob#6
Quote:
Originally Posted by Xonivion View Post
How can i use jmp,call or anything else?
if you guys gonna explain me it will be great (:

Wrong Section fk :C
Alloc a page in the process where you want to execute the code ( assembly ).
Write the bytes you want execute in this page.
Create a thread ( your page ).

-> methods you need to use.

-> OpenProcess(..)
-> VirtualAllocEx(..)
-> WriteProcessMemory(..)
-> CreateRemoteThread(..)
-> CloseHandle(..)

and any function to get the process id of the process.

maybe i will add later a example in autoit :pimp:
07/17/2016 07:19 YatoDev#7
Quote:
Originally Posted by Sycode' View Post
-> methods you need to use.

-> OpenProcess(..)
-> VirtualAllocEx(..)
-> WriteProcessMemory(..)
-> CreateRemoteThread(..)
-> CloseHandle(..)
you could do all that in native c#

Also you wouldnt need to use OpenProcess, WriteProcessMemory and CreateRemoteThread because you are in the same process ;)
07/17/2016 12:45 RingleRangleRob#8
Quote:
Originally Posted by »FlutterShy™ View Post
you could do all that in native c#

Also you wouldnt need to use OpenProcess, WriteProcessMemory and CreateRemoteThread because you are in the same process ;)
I thought he wanna do it in another process because he is working with Auto Assembly Script. For Example an executeable file want write into another process ^^. AutoIt Example.exe -> Anyprocess.exe
07/17/2016 13:21 YatoDev#9
Quote:
Originally Posted by Sycode' View Post
I thought he wanna do it in another process because he is working with Auto Assembly Script.
ok, would probably make more sense.

I misunderstood because his question "How to use AA Script in C#" could say he want's to use his asm within c#
07/18/2016 14:42 Devsome#10
#moved to the right section.