File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
AsyncRAT-C#/Server/StreamLibrary Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ using System ;
2
+ using System . Collections . Generic ;
3
+ using System . Linq ;
4
+ using System . Runtime . InteropServices ;
5
+ using System . Text ;
6
+ using System . Threading . Tasks ;
7
+
8
+ namespace Server . StreamLibrary
9
+ {
10
+ public static class NativeMethods
11
+ {
12
+ [ DllImport ( "msvcrt.dll" , CallingConvention = CallingConvention . Cdecl ) ]
13
+ public static extern unsafe int memcmp ( byte * ptr1 , byte * ptr2 , uint count ) ;
14
+
15
+ [ DllImport ( "msvcrt.dll" , CallingConvention = CallingConvention . Cdecl ) ]
16
+ public static extern int memcpy ( IntPtr dst , IntPtr src , uint count ) ;
17
+
18
+ [ DllImport ( "msvcrt.dll" , CallingConvention = CallingConvention . Cdecl ) ]
19
+ public static extern unsafe int memcpy ( void * dst , void * src , uint count ) ;
20
+ }
21
+ }
You can’t perform that action at this time.
0 commit comments