[VB.NET] detecting the flash player process in browser
Alright. so i have been working on a trainer for a flash browser-based game. everything is simple enough. write process memory and blah blah blah.
but the flash player detection is killing me..
because i'm trying to hack a flash browser game i would need to get the correct process that handles ShockWaveFlash. which in my case i used Maxthon. now maxthon has 4 processes. the last one is the one that has the NPSWF.DLL (for shockwaveflash)
Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
Dim MyProcess As Process() = Process.GetProcessesByName("Maxthon")
For Each Process In MyProcess
Dim hAddress As Integer = VirtualAllocEx(MyProcess(0).Handle, IntPtr.Zero, 11, MEM_COMMIT, PAGE_EXECUTE_READWRITE)
Next
End Sub
the values doesn't change anymore. (the address is correct) so the browser isn't hooked.
sorry if this is noobish but i'm really not that good :P
a bit different code
Code:
Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
Dim MyProcess As Process() = Process.GetProcessesByName("Maxthon")
For Each thread As ProcessThread In Process.GetProcessesByName("Maxthom")(0).Threads
Dim hAddress As Integer = VirtualAllocEx(MyProcess(0).Handle, IntPtr.Zero, 22, MEM_COMMIT, PAGE_EXECUTE_READWRITE)
Next
End Sub
Dim MyProcess As Process() = Process.GetProcessesByName("Maxthon")
This is an array.
Itereate it. Get the module (not thread!) handle of "NPSWF.dll" of each process. If the handle does not equal 0, you have the right process. Use that process.
Dim MyProcess As Process() = Process.GetProcessesByName("Maxthon")
This is an array.
Itereate it. Get the module (not thread!) handle of "NPSWF.dll" of each process. If the handle does not equal 0, you have the right process. Use that process.
is this possible in VB.NET?
i did a long research on google. i only found C/C++ methods
Dim a As Process = Process.GetProcessesByName("Maxthon")
Dim myProcessModule As ProcessModule
Dim myProcessModuleCollection As ProcessModuleCollection = a.Modules
Dim i As Integer
For i = 0 To myProcessModuleCollection.Count - 1
myProcessModule = myProcessModuleCollection(i)
MsgBox(myProcessModule.ModuleName + " : " + myProcessModule.FileName)
Next i
If a.Modules("NPSWF.DLL") Then
i got 2 errors
Code:
Value of type '1-dimensional array of System.Diagnostics.Process' cannot be converted to 'System.Diagnostics.Process'.
Value of type 'System.Diagnostics.ProcessModule' cannot be converted to 'Boolean'.
it wouldn't work when i call maxthon by process.getprocessesbyname right?
i don't know how to make it search for maxthon other then name or id.
i tried process.startinfo but i got (a 32 process cannot access a 64 process) and it would have to open maxthon again in order to do that
Dim a As Process = Process.GetProcessesByName("Maxthon")
Dim myProcessModule As ProcessModule
Dim myProcessModuleCollection As ProcessModuleCollection = a.Modules
Dim i As Integer
For i = 0 To myProcessModuleCollection.Count - 1
myProcessModule = myProcessModuleCollection(i)
MsgBox(myProcessModule.ModuleName + " : " + myProcessModule.FileName)
Next i
If a.Modules("NPSWF.DLL") Then
i got 2 errors
Code:
Value of type '1-dimensional array of System.Diagnostics.Process' cannot be converted to 'System.Diagnostics.Process'.
Value of type 'System.Diagnostics.ProcessModule' cannot be converted to 'Boolean'.
it wouldn't work when i call maxthon by process.getprocessesbyname right?
i don't know how to make it search for maxthon other then name or id.
i tried process.startinfo but i got (a 32 process cannot access a 64 process) and it would have to open maxthon again in order to do that
Public myProcess As Process
Dim a As Process = Process.GetProcessesByName("Maxthon")
For i As Integer = 0 To a.Count - 1
For Each pMod As ProcessModule In a(i).Modules
If pMod.ModuleName = "NPSWF.DLL" Then
myProcess = a(i)
End If
Next
Next
If you can't implement it, you should rather learn to code before trying to create such kind of programs.
hello! Hello. I need something for chrome. I need to find the pepflashplayer.dll
I could give an example of how to find it and inject a code on it?
I want to make a simple trainer in a game. but I do not know which module to use. thank you
Hello. I need something for chrome. I need to find the pepflashplayer.dll
I could give an example of how to find it and inject a code on it?
I want to make a simple trainer in a game. but I do not know which module to use.
I need an example with a button to send a cheat engine code oab the button. for example pepflashplayer.dll autoAssemble ([[
Aobscan (_aob2, 63 6F 64 65 3D 22 41 43 46 22)
_aob2:
db 63 6F 64 65 3D 22 41 39 54 22
]]
)
I want to inject it in a facebook game. Thank you for your help. Sorry my English'm from Brazil,
Flash Player/Browser kaputt? 01/29/2015 - Technical Support - 7 Replies Guten Abend ePVP,
seit gestern zeigt mir mein Browser (Opera) keine Videos mehr an (Youtube,Facebook. Streams gehen aber, jedoch laggen manche) Nun hab ich es jedoch mit Comodo Dragon probiert, dort ging alles...
Hat jemand eine Lösung?
MfG
function detecting died player. 08/07/2013 - Metin2 Private Server - 2 Replies Is there any function or event that I can use in quest file wich triggers event after when player dies?
function pc.is_dead() is boolean type, but i need to do something like that:
when (player_dies) begin
-- some actions
end
I could use a timer for that, but loop seems makes no sense.
"Unnecessary extra server load"
Adobe Flash Player Player Problem (Viedeos öffnen sich nicht) 05/22/2013 - Technical Support - 6 Replies Hallo,
Ich breuchte mal hilfe.
Ich kann seit 3-4 Tagen keine Viedeos in Facebook,twitch und und ...
Habs mir 10xmal runtergeladen und 10x installiert noch immer kann ich keine viedes anschauen. Nur in YouTube klappt alles.
Mein letzter Download war Adblocker. Den ich jetzt auch deinstalliert habe. Aber es passiert immer noch nichts.
Mein InternetBrowser Ist Explorer
[Question] 32Bit Browser bei AutoIT oder Flash Player für 64 Bit 12/08/2010 - AutoIt - 3 Replies N'Abend!
Ich möchte mit meinem per AutoIT erstellten Browser Youtube Vidz schauen können ;).
Dies geht jedoch nciht, da er mir n 64Bit Browser erstellt.
Wäre es möglich AutoIT einen 32Bit Browser zu starten?
Oder gar einen Adobe Flash Player in den 64Bit Browser einzubauen?
Mein Script.(Der Browser steckt noch in den Anfangsfüßen, noch keine Ausschmückungen.)
#Include <IE.Au3>