Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 06:07

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



C# process into byte array. HOW?

Discussion on C# process into byte array. HOW? within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
vitalka's Avatar
 
elite*gold: 0
Join Date: May 2007
Posts: 160
Received Thanks: 23
C# process into byte array. HOW?

What is the simplest method to load the whole process into a byte array
vitalka is offline  
Old 09/30/2011, 14:13   #2
 
bootdisk's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 134
Received Thanks: 41
I hate C# but should you use ReadProcessMemory from the EntryOfCode to the SizeOfCode inside the PE Header?
bootdisk is offline  
Old 09/30/2011, 20:22   #3
 
vitalka's Avatar
 
elite*gold: 0
Join Date: May 2007
Posts: 160
Received Thanks: 23
i found an other method here for alle people who doesnt know it:

byte[] FileArray = File.ReadAllBytes(textBox_Path.Text);
vitalka is offline  
Old 10/01/2011, 12:47   #4

 
sarkoplata's Avatar
 
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,661
Wrong question , its not a process , its a file.
sarkoplata is offline  
Old 10/01/2011, 14:28   #5
 
elite*gold: 0
Join Date: Dec 2010
Posts: 7
Received Thanks: 1
Quote:
Originally Posted by sarkoplata View Post
Wrong question , its not a process , its a file.
Well doesn't it depend on what you're trying to do? If you're trying to make a loader it would be reading from a file, but if you're trying to make a memory based bot, or read a value from the client it would be from a process. Right?
Albaturkey is offline  
Old 10/03/2011, 11:35   #6
 
lesderid's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 2,400
Received Thanks: 1,517
Quote:
Originally Posted by Albaturkey View Post
Well doesn't it depend on what you're trying to do? If you're trying to make a loader it would be reading from a file, but if you're trying to make a memory based bot, or read a value from the client it would be from a process. Right?
He was talking about the code he pasted.

But yeah, reading a process' memory can be useful for a memory-based bot but reading all the memory it uses?
Big waste of memory (in your own application).
lesderid is offline  
Old 10/03/2011, 18:09   #7
 
vitalka's Avatar
 
elite*gold: 0
Join Date: May 2007
Posts: 160
Received Thanks: 23
i need it to search some byte array patterns in the client
vitalka is offline  
Old 10/03/2011, 21:19   #8
 
lesderid's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 2,400
Received Thanks: 1,517
Quote:
Originally Posted by vitalka View Post
i need it to search some byte array patterns in the client
Well, you don't need the whole memory for that.
lesderid is offline  
Reply


Similar Threads Similar Threads
Array
06/18/2011 - AutoIt - 0 Replies
Array Fehler Ich habe hier mal wieder einen Fehler den ich nicht beheben kann #include "WebTcp.au3" #include <Array.au3> #Include <File.au3> TCPStartup() _AutoITObject_Startup()
[Resource] ASCII String & Byte Array Converter
11/14/2010 - CO2 PServer Guides & Releases - 9 Replies
#deleted
[C#] Array auswerten
10/06/2010 - .NET Languages - 3 Replies
Bitte ab Edit lesen !! Hey, da ich gerade fleißig am C# lernen bin, dachte ich mir mal versuch ich mich mal an einem recht einfachem Programm. Nun, das Programm soll mir eine Datei einlesen und nach einer Eingabe prüfen ob der Inhalt in der Datei vorhanden is und dann halt sagen Ja oder Nein. Leider erklärt mein Buch wie ich Arrays erstelle, aber nich wie man sie auswerten kann. Ich bin wenigstens schon so Weit das ich weiß das ich am besten mit "ReadAllLines" arbeiten sollte. Diese...
Mit Process Explorer /Process Hacker Hs umgehen
05/22/2010 - General Gaming Discussion - 1 Replies
Ich habe hier im Forum gelesen, das man mit Process Explorer bzw. Process Hacker das HS umgehen kann. Leider ist mir irgendwie schleierhaft wie das gehen soll. Vllt erbarmt sich jemand und erklärt es (:, da man den sogenannten Bypasser nur noch las Premium Dings Da bei Upload.to runterladen kann :rolleyes:
C# how to pause a process/freeze process
12/08/2008 - CO2 Programming - 2 Replies
ya so i was semi bored and after little bit of looking around i didnt find to many examples of how to do this so attached is a demo project to show you how. basically it comes down to calling ResumeThread() and SuspendThread() (API functions) on all the threads of a process...simple enough http://img388.imageshack.us/img388/9762/exampleil 6.png please note when you enter the process name there's no ".exe" to the end Warning: this isn't idiot proof . .



All times are GMT +1. The time now is 06:08.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.