Question DMA - Screamer m.2 - Test project reading memory from target system

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

latsarbomba

Newbie
Dank Tier Donator
Aug 13, 2017
8
262
0
How long you been coding/hacking?
6 months
Using the device in a super simple test project and using the built in c# api my process ID is always returning zero. Would anyone happen to know whats going on? any guidance would be appreciated


Test Read program:
namespace Panda_Learning
{
    class Program
    {
        static void Main(string[] args)
        {
            uint dwExplorerPID;
            vmmsharp.vmm.Initialize("", "-printf", "-vv", "-device", "fpga");
         
            vmmsharp.vmm.PidGetFromName("explorer.exe", out dwExplorerPID);
            Console.WriteLine(dwExplorerPID);
            Console.ReadLine();
        }
    }
}
 
Last edited:

SystemX32

Dank Tier VIP
Dank Tier Donator
Jun 2, 2015
254
12,968
44
Using the device in a super simple test project and using the built in c# api my process ID is always returning zero. Would anyone happen to know whats going on? any guidance would be appreciated


Test Read program:
namespace Panda_Learning
{
    class Program
    {
        static void Main(string[] args)
        {
            uint dwExplorerPID;
            vmmsharp.vmm.Initialize("", "-printf", "-vv", "-device", "fpga");
        
            vmmsharp.vmm.PidGetFromName("explorer.exe", out dwExplorerPID);
            Console.WriteLine(dwExplorerPID);
            Console.ReadLine();
        }
    }
}
Just a guess but try "explorer" instead of "explorer.exe".
 

Menalix

Newbie
Trump Tier Donator
Full Member
Jan 24, 2014
29
678
0
Initialize call looks wierd. Can you send actual method you call?
 
Last edited:

latsarbomba

Newbie
Dank Tier Donator
Aug 13, 2017
8
262
0
are you running your m.2 card as administrator? :trollface:
Initialize call looks wierd. Can you send actual method you call?
snip from ulf's direct vmmsharp c# api:
        public static unsafe bool Initialize(out lc.CONFIG_ERRORINFO ConfigErrorInfo, params string[] args)
        {
            IntPtr pLcErrorInfo;
            int cbERROR_INFO = System.Runtime.InteropServices.Marshal.SizeOf(typeof(lci.LC_CONFIG_ERRORINFO));
            bool fResult = vmmi.VMMDLL_InitializeEx(args.Length, args, out pLcErrorInfo);
            long vaLcCreateErrorInfo = pLcErrorInfo.ToInt64();
            ConfigErrorInfo = new lc.CONFIG_ERRORINFO();
            ConfigErrorInfo.strUserText = "";
            if (vaLcCreateErrorInfo == 0)
            {
                return fResult;
            }
            lci.LC_CONFIG_ERRORINFO e = Marshal.PtrToStructure<lci.LC_CONFIG_ERRORINFO>(pLcErrorInfo);
            if (e.dwVersion == lc.CONFIG_ERRORINFO_VERSION)
            {
                ConfigErrorInfo.fValid = true;
                ConfigErrorInfo.fUserInputRequest = e.fUserInputRequest;
                if (e.cwszUserText > 0)
                {
                    ConfigErrorInfo.strUserText = Marshal.PtrToStringUni((System.IntPtr)(vaLcCreateErrorInfo + cbERROR_INFO));
                }
            }
            lci.LcMemFree(pLcErrorInfo);
            return fResult;
        }

        public static bool Initialize(params string[] args)
        {
            lc.CONFIG_ERRORINFO ErrorInfo;
            return Initialize(out ErrorInfo, args);
        }
reference to vmmi:
        [DllImport("vmm.dll", EntryPoint = "VMMDLL_Initialize")]
        internal static extern bool VMMDLL_Initialize(
            int argc,
            string[] argv);
 

Menalix

Newbie
Trump Tier Donator
Full Member
Jan 24, 2014
29
678
0
Tried to read most through now on github. That's an absolute ghetto project, so much going on yet the only help you'll get is a false or true.
You really need to attach an native debugger to figure out what's going on.
Does Initialize return true though?

And what about vmm.PidList does it just come back with an empty array?
 
Last edited:

latsarbomba

Newbie
Dank Tier Donator
Aug 13, 2017
8
262
0
Tried to read most through now on github. That's an absolute ghetto project, so much going on yet the only help you'll get is a false or true.
You really need to attach an native debugger to figure out what's going on.
Does Initialize return true though?

And what about vmm.PidList does it just come back with an empty array?
Bool is returning false, so i guess that explains why im not getting the PID, half an answer down!
 

Menalix

Newbie
Trump Tier Donator
Full Member
Jan 24, 2014
29
678
0
Bool is returning false, so i guess that explains why im not getting the PID, half an answer down!
So you bought an m.2 screamer, but didn't think about checking the return value after 4-days being unsuccessful......
I guess this will be up a very steep hill for me to help you then.

The only thing I can say is, you should prolly try atleast to follow their c# example, for example calling it like this "vmm.Initialize("-printf", "-v", "-device", "fpga");"
You can btw call Initialize with a certain error structure you can find in source (as 1st parameter), does not seem to provide anything very specific though.
And also make sure to do what is described in the comments here: ufrisk/MemProcFS
 

latsarbomba

Newbie
Dank Tier Donator
Aug 13, 2017
8
262
0
So you bought an m.2 screamer, but didn't think about checking the return value after 4-days being unsuccessful......
I guess this will be up a very steep hill for me to help you then.

The only thing I can say is, you should prolly try atleast to follow their c# example, for example calling it like this "vmm.Initialize("-printf", "-v", "-device", "fpga");"
You can btw call Initialize with a certain error structure you can find in source (as 1st parameter), does not seem to provide anything very specific though.
And also make sure to do what is described in the comments here: ufrisk/MemProcFS
It will be up hill yes, Purchased the device second hand(and discounted) from a friend who ended up with 2 after some weird rma issue. I've been following Ufrisks documentation as best i can, i saw he had a c# wrapper built in and took a stab. I can get the Bool to return true on my intel i7 laptop(but not return pid) but on my older amd test machine with an apu it returns false. Im wondering if the project has an issue on that front. I used the same code on my intel machine before downgrading to the amd machine so i falsely assumed it would run.

I appreciate your time,

Thank you.
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods